|
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/. |
|
6 |
|
7 EXPORTS += [ |
|
8 'nsContentDLF.h', |
|
9 'nsLayoutCID.h', |
|
10 'nsLayoutStatics.h', |
|
11 ] |
|
12 |
|
13 UNIFIED_SOURCES += [ |
|
14 'nsContentDLF.cpp', |
|
15 'nsLayoutModule.cpp', |
|
16 'nsLayoutStatics.cpp', |
|
17 ] |
|
18 |
|
19 if CONFIG['MOZ_NFC']: |
|
20 LOCAL_INCLUDES += [ |
|
21 '/dom/nfc' |
|
22 ] |
|
23 |
|
24 FAIL_ON_WARNINGS = True |
|
25 |
|
26 MSVC_ENABLE_PGO = True |
|
27 |
|
28 LIBRARY_NAME = 'gklayout' |
|
29 |
|
30 include('/ipc/chromium/chromium-config.mozbuild') |
|
31 |
|
32 LOCAL_INCLUDES += [ |
|
33 '../base', |
|
34 '../forms', |
|
35 '../generic', |
|
36 '../inspector', |
|
37 '../mathml', |
|
38 '../style', |
|
39 '../tables', |
|
40 '../xul', |
|
41 '/caps/include', |
|
42 '/content/base/src', |
|
43 '/content/canvas/src', |
|
44 '/content/html/content/src', |
|
45 '/content/html/document/src', |
|
46 '/content/svg/content/src', |
|
47 '/content/xul/content/src', |
|
48 '/content/xul/document/src', |
|
49 '/content/xul/templates/src', |
|
50 '/docshell/base', |
|
51 '/dom/audiochannel', |
|
52 '/dom/base', |
|
53 '/dom/camera', |
|
54 '/dom/file', |
|
55 '/dom/filesystem', |
|
56 '/dom/media', |
|
57 '/dom/speakermanager', |
|
58 '/dom/src/geolocation', |
|
59 '/dom/src/json', |
|
60 '/dom/src/jsurl', |
|
61 '/dom/src/offline', |
|
62 '/dom/src/storage', |
|
63 '/dom/telephony', |
|
64 '/dom/xbl', |
|
65 '/dom/xslt/base', |
|
66 '/dom/xslt/xml', |
|
67 '/dom/xslt/xpath', |
|
68 '/dom/xslt/xslt', |
|
69 '/editor/composer/src', |
|
70 '/editor/libeditor/base', |
|
71 '/editor/libeditor/html', |
|
72 '/editor/libeditor/text', |
|
73 '/editor/txmgr/src', |
|
74 '/editor/txtsvc/src', |
|
75 '/extensions/cookie', |
|
76 '/js/xpconnect/loader', |
|
77 '/js/xpconnect/src', |
|
78 '/netwerk/base/src', |
|
79 '/netwerk/cookie', |
|
80 '/view/src', |
|
81 ] |
|
82 |
|
83 if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('qt', 'gtk2', 'gtk3'): |
|
84 LOCAL_INCLUDES += [ |
|
85 '/dom/system/unix', |
|
86 ] |
|
87 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': |
|
88 LOCAL_INCLUDES += [ |
|
89 '/dom/system/windows', |
|
90 ] |
|
91 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
|
92 LOCAL_INCLUDES += [ |
|
93 '/dom/system/mac', |
|
94 ] |
|
95 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': |
|
96 LOCAL_INCLUDES += [ |
|
97 '/dom/system', |
|
98 '/dom/system/android', |
|
99 ] |
|
100 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': |
|
101 LOCAL_INCLUDES += [ |
|
102 '/dom/system/gonk', |
|
103 ] |
|
104 CXXFLAGS += [ |
|
105 '-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [ |
|
106 'dalvik/libnativehelper/include/nativehelper', |
|
107 'frameworks/base/include', |
|
108 'frameworks/base/include/binder', |
|
109 'frameworks/base/include/utils', |
|
110 'frameworks/base/include/media', |
|
111 'frameworks/base/include/media/stagefright/openmax', |
|
112 'frameworks/base/media/libstagefright/include', |
|
113 ] |
|
114 ] |
|
115 |
|
116 if CONFIG['MOZ_B2G_FM']: |
|
117 LOCAL_INCLUDES += [ |
|
118 '/dom/fmradio', |
|
119 ] |
|
120 |
|
121 if CONFIG['MOZ_B2G_BT']: |
|
122 LOCAL_INCLUDES += [ |
|
123 '/dom/bluetooth', |
|
124 ] |
|
125 |
|
126 if CONFIG['MOZ_WEBSPEECH']: |
|
127 LOCAL_INCLUDES += [ |
|
128 '/content/media/webspeech/synth', |
|
129 ] |
|
130 |
|
131 if CONFIG['MOZ_FFMPEG']: |
|
132 LOCAL_INCLUDES += [ |
|
133 '/content/media/fmp4/ffmpeg/include', |
|
134 ] |
|
135 |
|
136 FINAL_LIBRARY = 'xul' |