Bumping manifests a=b2g-bump
[gecko.git] / layout / build / moz.build
blobb4834added6e21166cc6c9e2d38a90cba9570371
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     '/content/base/src',
41     '/content/html/content/src',
42     '/content/html/document/src',
43     '/content/svg/content/src',
44     '/content/xul/content/src',
45     '/content/xul/document/src',
46     '/content/xul/templates/src',
47     '/docshell/base',
48     '/dom/audiochannel',
49     '/dom/base',
50     '/dom/camera',
51     '/dom/canvas',
52     '/dom/filesystem',
53     '/dom/geolocation',
54     '/dom/json',
55     '/dom/jsurl',
56     '/dom/media',
57     '/dom/offline',
58     '/dom/speakermanager',
59     '/dom/storage',
60     '/dom/telephony',
61     '/dom/xbl',
62     '/dom/xslt/base',
63     '/dom/xslt/xml',
64     '/dom/xslt/xpath',
65     '/dom/xslt/xslt',
66     '/editor/composer',
67     '/editor/libeditor',
68     '/editor/txmgr',
69     '/editor/txtsvc',
70     '/extensions/cookie',
71     '/js/xpconnect/loader',
72     '/js/xpconnect/src',
73     '/netwerk/base/src',
74     '/netwerk/cookie',
75     '/view',
78 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
79     LOCAL_INCLUDES += [
80         '/dom/system/windows',
81     ]
82 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
83     LOCAL_INCLUDES += [
84         '/dom/system/mac',
85     ]
86 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
87     LOCAL_INCLUDES += [
88         '/dom/system',
89         '/dom/system/android',
90     ]
91 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
92     LOCAL_INCLUDES += [
93         '/dom/system/gonk',
94     ]
95     CXXFLAGS += [
96         '-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [
97             'dalvik/libnativehelper/include/nativehelper',
98             'frameworks/base/include',
99             'frameworks/base/include/binder',
100             'frameworks/base/include/utils',
101             'frameworks/base/include/media',
102             'frameworks/base/include/media/stagefright/openmax',
103             'frameworks/base/media/libstagefright/include',
104         ]
105     ]
107 if CONFIG['MOZ_B2G_FM']:
108     LOCAL_INCLUDES += [
109         '/dom/fmradio',
110     ]
112 if CONFIG['MOZ_B2G_BT']:
113     LOCAL_INCLUDES += [
114         '/dom/bluetooth',
115     ]
117 if CONFIG['MOZ_WEBSPEECH']:
118     LOCAL_INCLUDES += [
119         '/content/media/webspeech/synth',
120     ]
122 if CONFIG['MOZ_GSTREAMER']:
123     CXXFLAGS += CONFIG['GSTREAMER_CFLAGS']
125 FINAL_LIBRARY = 'xul'