Merge inbound to m-c on a CLOSED TREE.
[gecko.git] / dom / moz.build
blob09bf93c46ed51c301f056f4893a1754014e01017
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 interfaces = [
8     'base',
9     'canvas',
10     'core',
11     'html',
12     'events',
13     'devicestorage',
14     'settings',
15     'stylesheets',
16     'sidebar',
17     'css',
18     'traversal',
19     'range',
20     'xbl',
21     'xpath',
22     'xul',
23     'storage',
24     'json',
25     'offline',
26     'geolocation',
27     'notification',
28     'permission',
29     'svg',
30     'smil',
31     'apps',
32     'gamepad',
35 PARALLEL_DIRS += ['interfaces/' + i for i in interfaces]
37 PARALLEL_DIRS += [
38     'apps',
39     'base',
40     'activities',
41     'bindings',
42     'battery',
43     'bluetooth',
44     'browser-element',
45     'contacts',
46     'phonenumberutils',
47     'alarm',
48     'datastore',
49     'devicestorage',
50     'encoding',
51     'file',
52     'fmradio',
53     'asmjscache',
54     'media',
55     'messages',
56     'power',
57     'push',
58     'quota',
59     'settings',
60     'mobilemessage',
61     'src',
62     'time',
63     'locales',
64     'network',
65     'permission',
66     'plugins/base',
67     'plugins/ipc',
68     'indexedDB',
69     'system',
70     'ipc',
71     'identity',
72     'workers',
73     'camera',
74     'audiochannel',
75     'promise',
76     'telephony',
77     'inputmethod',
78     'webidl',
81 if CONFIG['OS_ARCH'] == 'WINNT':
82     PARALLEL_DIRS += ['plugins/ipc/hangui']
84 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
85     PARALLEL_DIRS += [
86         'speakermanager',
87         'wifi',
88     ]
90 if CONFIG['MOZ_B2G_RIL']:
91     PARALLEL_DIRS += [
92         'icc',
93         'cellbroadcast',
94         'voicemail',
95         'wappush',
96     ]
98 if CONFIG['MOZ_PAY']:
99     PARALLEL_DIRS += ['payment']
101 if CONFIG['MOZ_GAMEPAD']:
102     PARALLEL_DIRS += ['gamepad']
104 if CONFIG['MOZ_NFC']:
105     PARALLEL_DIRS += ['nfc']
107 if CONFIG['MOZ_B2G']:
108     PARALLEL_DIRS += ['downloads']
110 # bindings/test is here, because it needs to build after bindings/, and
111 # we build subdirectories before ourselves.
112 TEST_DIRS += [
113     'tests',
114     'imptests',
115     'bindings/test',
118 if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'cocoa', 'windows', 'android', 'qt', 'os2'):
119     TEST_DIRS += ['plugins/test']