accessible/moz.build
author Karl Tomlinson <karlt+@karlt.net>
Mon, 24 Aug 2015 19:30:36 +1200
changeset 261782 e4fb01e4e3cd2eed2668c0efc85c35f8a8d42224
parent 211595 dd29a568fb2fb1b8c23b02c1ca2026f1c59ea4d7
child 289135 9a143b863326a2dd6c4aacaae4630d7d71eb9a75
permissions -rw-r--r--
bug 1198656 delay AudioBuffer allocation until required r=padenot This saves an allocation and zeroing for buffers generated by AudioNodes and avoids allocation altogether for empty buffers. Incidentally, RestoreJSChannelData() now avoids unnecessary recreation of Float32Arrays if they already exist after a previous call failed.

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']

if CONFIG['MOZ_ENABLE_GTK']:
    DIRS += ['atk']
elif toolkit == 'windows':
    DIRS += ['windows']
elif toolkit == 'cocoa':
    DIRS += ['mac']
else:
    DIRS += ['other']

DIRS += ['base', 'generic', 'html', 'interfaces', 'ipc', 'jsat', 'xpcom']

if CONFIG['MOZ_XUL']:
    DIRS += ['xul']

TEST_DIRS += ['tests/mochitest']