Bug 1226301. Remove Shumway from b2gdroid nightly builds. r=fabrice
[gecko.git] / layout / build / moz.build
blob7c8d42c5427b554118cfa62c4082c5956467c57e
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 EXPORTS += [
8     'nsContentDLF.h',
9     'nsLayoutCID.h',
10     'nsLayoutStatics.h',
13 UNIFIED_SOURCES += [
14     'nsContentDLF.cpp',
15     'nsLayoutModule.cpp',
16     'nsLayoutStatics.cpp',
19 if CONFIG['MOZ_NFC']:
20     LOCAL_INCLUDES += [
21         '/dom/nfc'
22     ]
24 include('/ipc/chromium/chromium-config.mozbuild')
26 LOCAL_INCLUDES += [
27     '../base',
28     '../forms',
29     '../generic',
30     '../inspector',
31     '../mathml',
32     '../style',
33     '../tables',
34     '../xul',
35     '/caps',
36     '/docshell/base',
37     '/dom/audiochannel',
38     '/dom/base',
39     '/dom/camera',
40     '/dom/canvas',
41     '/dom/filesystem',
42     '/dom/geolocation',
43     '/dom/html',
44     '/dom/json',
45     '/dom/jsurl',
46     '/dom/media',
47     '/dom/offline',
48     '/dom/speakermanager',
49     '/dom/storage',
50     '/dom/svg',
51     '/dom/telephony',
52     '/dom/xbl',
53     '/dom/xslt/base',
54     '/dom/xslt/xml',
55     '/dom/xslt/xpath',
56     '/dom/xslt/xslt',
57     '/dom/xul',
58     '/dom/xul/templates',
59     '/editor/composer',
60     '/editor/libeditor',
61     '/editor/txmgr',
62     '/editor/txtsvc',
63     '/extensions/cookie',
64     '/js/xpconnect/loader',
65     '/js/xpconnect/src',
66     '/netwerk/base',
67     '/netwerk/cookie',
68     '/view',
71 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
72     LOCAL_INCLUDES += [
73         '/dom/system/windows',
74     ]
75 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
76     LOCAL_INCLUDES += [
77         '/dom/system/mac',
78     ]
79 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
80     LOCAL_INCLUDES += [
81         '/dom/system',
82         '/dom/system/android',
83     ]
84 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
85     LOCAL_INCLUDES += [
86         '/dom/system/gonk',
87     ]
88     if CONFIG['ANDROID_VERSION'] == '15':
89         LOCAL_INCLUDES += [
90             '%' + '%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [
91                 'dalvik/libnativehelper/include/nativehelper',
92                 'frameworks/base/include',
93                 'frameworks/base/include/binder',
94                 'frameworks/base/include/media',
95                 'frameworks/base/include/media/stagefright/openmax',
96                 'frameworks/base/include/utils',
97                 'frameworks/base/media/libstagefright/include',
98             ]
99         ]
101 if CONFIG['MOZ_B2G_FM']:
102     LOCAL_INCLUDES += [
103         '/dom/fmradio',
104     ]
106 if CONFIG['MOZ_B2G_BT']:
107     LOCAL_INCLUDES += [
108         '/dom/bluetooth/common',
109     ]
111 if CONFIG['MOZ_WEBSPEECH']:
112     LOCAL_INCLUDES += [
113         '/dom/media/webspeech/recognition',
114         '/dom/media/webspeech/synth',
115     ]
117 if CONFIG['MOZ_WEBSPEECH_POCKETSPHINX']:
118     LOCAL_INCLUDES += [
119         '/media/pocketsphinx',
120         '/media/sphinxbase',
121     ]
123 if CONFIG['MOZ_SECUREELEMENT']:
124     LOCAL_INCLUDES += [
125         '/dom/secureelement',
126     ]
128 FINAL_LIBRARY = 'xul'