Bumping manifests a=b2g-bump
[gecko.git] / layout / build / moz.build
blob79019618a9b617fe6c099603ba26b2040ea7ee18
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 FAIL_ON_WARNINGS = True
26 MSVC_ENABLE_PGO = True
28 include('/ipc/chromium/chromium-config.mozbuild')
30 LOCAL_INCLUDES += [
31     '../base',
32     '../forms',
33     '../generic',
34     '../inspector',
35     '../mathml',
36     '../style',
37     '../tables',
38     '../xul',
39     '/caps',
40     '/docshell/base',
41     '/dom/audiochannel',
42     '/dom/base',
43     '/dom/camera',
44     '/dom/canvas',
45     '/dom/filesystem',
46     '/dom/geolocation',
47     '/dom/html',
48     '/dom/json',
49     '/dom/jsurl',
50     '/dom/media',
51     '/dom/offline',
52     '/dom/speakermanager',
53     '/dom/storage',
54     '/dom/svg',
55     '/dom/telephony',
56     '/dom/xbl',
57     '/dom/xslt/base',
58     '/dom/xslt/xml',
59     '/dom/xslt/xpath',
60     '/dom/xslt/xslt',
61     '/dom/xul',
62     '/dom/xul/templates',
63     '/editor/composer',
64     '/editor/libeditor',
65     '/editor/txmgr',
66     '/editor/txtsvc',
67     '/extensions/cookie',
68     '/js/xpconnect/loader',
69     '/js/xpconnect/src',
70     '/netwerk/base/src',
71     '/netwerk/cookie',
72     '/view',
75 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
76     LOCAL_INCLUDES += [
77         '/dom/system/windows',
78     ]
79 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
80     LOCAL_INCLUDES += [
81         '/dom/system/mac',
82     ]
83 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
84     LOCAL_INCLUDES += [
85         '/dom/system',
86         '/dom/system/android',
87     ]
88 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
89     LOCAL_INCLUDES += [
90         '/dom/system/gonk',
91     ]
92     CXXFLAGS += [
93         '-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [
94             'dalvik/libnativehelper/include/nativehelper',
95             'frameworks/base/include',
96             'frameworks/base/include/binder',
97             'frameworks/base/include/utils',
98             'frameworks/base/include/media',
99             'frameworks/base/include/media/stagefright/openmax',
100             'frameworks/base/media/libstagefright/include',
101         ]
102     ]
104 if CONFIG['MOZ_B2G_FM']:
105     LOCAL_INCLUDES += [
106         '/dom/fmradio',
107     ]
109 if CONFIG['MOZ_B2G_BT']:
110     LOCAL_INCLUDES += [
111         '/dom/bluetooth',
112     ]
114 if CONFIG['MOZ_WEBSPEECH']:
115     LOCAL_INCLUDES += [
116         '/dom/media/webspeech/synth',
117     ]
119 if CONFIG['MOZ_GSTREAMER']:
120     CXXFLAGS += CONFIG['GSTREAMER_CFLAGS']
122 if CONFIG['MOZ_SECUREELEMENT']:
123     LOCAL_INCLUDES += [
124         '/dom/secureelement',
125     ]
127 FINAL_LIBRARY = 'xul'