dom/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 03 Oct 2013 05:51:19 +0900
changeset 163578 3cf52700118c3660e180bb5af51280fe0c33745b
parent 163546 12d670c20afc7e3279c486e1d2de90764544e429
child 164377 266d6c937ebb42bae048bebd6cd49d565147f335
permissions -rw-r--r--
Bug 921307 - Aggregate dependencies in subdirectories that are still recursed with pseudo derecurse. r=gps

# -*- 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/.

interfaces = [
    'base',
    'canvas',
    'core',
    'html',
    'events',
    'devicestorage',
    'contacts',
    'settings',
    'stylesheets',
    'sidebar',
    'css',
    'traversal',
    'range',
    'xbl',
    'xpath',
    'xul',
    'storage',
    'json',
    'offline',
    'geolocation',
    'notification',
    'permission',
    'svg',
    'smil',
    'apps',
    'gamepad',
]

PARALLEL_DIRS += ['interfaces/' + i for i in interfaces]

PARALLEL_DIRS += [
    'apps',
    'base',
    'activities',
    'bindings',
    'battery',
    'bluetooth',
    'browser-element',
    'contacts',
    'phonenumberutils',
    'alarm',
    'datastore',
    'devicestorage',
    'encoding',
    'file',
    'fmradio',
    'media',
    'messages',
    'power',
    'push',
    'quota',
    'settings',
    'mobilemessage',
    'src',
    'time',
    'locales',
    'network',
    'permission',
    'plugins/base',
    'plugins/ipc',
    'indexedDB',
    'system',
    'ipc',
    'identity',
    'workers',
    'camera',
    'audiochannel',
    'promise',
    'wappush',
    'telephony',
    'inputmethod',
    'webidl',
]

if CONFIG['OS_ARCH'] == 'WINNT':
    PARALLEL_DIRS += ['plugins/ipc/hangui']

if CONFIG['MOZ_B2G_RIL']:
    PARALLEL_DIRS += [
        'wifi',
        'icc',
        'cellbroadcast',
        'voicemail',
    ]

if CONFIG['MOZ_PAY']:
    PARALLEL_DIRS += ['payment']

if CONFIG['MOZ_GAMEPAD']:
    PARALLEL_DIRS += ['gamepad']

# bindings/test is here, because it needs to build after bindings/, and
# we build subdirectories before ourselves.
TEST_DIRS += [
    'tests',
    'imptests',
    'bindings/test',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'cocoa', 'windows', 'android', 'qt', 'os2'):
    TEST_DIRS += ['plugins/test']

MODULE = 'dom'