OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2009 Google Inc. All rights reserved. | 2 # Copyright (C) 2009 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 12 matching lines...) Expand all Loading... |
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 # | 29 # |
30 | 30 |
31 { | 31 { |
32 'includes': [ | 32 'includes': [ |
33 '../../WebKit/chromium/WinPrecompile.gypi', | 33 '../WebKit/chromium/WinPrecompile.gypi', |
34 '../features.gypi', | 34 'features.gypi', |
35 '../../modules/modules.gypi', | 35 '../modules/modules.gypi', |
36 '../../bindings/bindings.gypi', | 36 '../bindings/bindings.gypi', |
37 '../core.gypi', | 37 'core.gypi', |
38 ], | 38 ], |
39 | 39 |
40 'variables': { | 40 'variables': { |
41 'enable_wexit_time_destructors': 1, | 41 'enable_wexit_time_destructors': 1, |
42 | 42 |
43 'webcore_include_dirs': [ | 43 'webcore_include_dirs': [ |
44 '../../..', | |
45 '../..', | 44 '../..', |
| 45 '..', |
46 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 46 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
47 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', | 47 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', |
48 ], | 48 ], |
49 | 49 |
50 'conditions': [ | 50 'conditions': [ |
51 ['OS=="android" and use_openmax_dl_fft!=0', { | 51 ['OS=="android" and use_openmax_dl_fft!=0', { |
52 'webcore_include_dirs': [ | 52 'webcore_include_dirs': [ |
53 '<(DEPTH)/third_party/openmax_dl' | 53 '<(DEPTH)/third_party/openmax_dl' |
54 ] | 54 ] |
55 }], | 55 }], |
(...skipping 11 matching lines...) Expand all Loading... |
67 'target_name': 'inspector_protocol_sources', | 67 'target_name': 'inspector_protocol_sources', |
68 'type': 'none', | 68 'type': 'none', |
69 'dependencies': [ | 69 'dependencies': [ |
70 'generate_inspector_protocol_version' | 70 'generate_inspector_protocol_version' |
71 ], | 71 ], |
72 'actions': [ | 72 'actions': [ |
73 { | 73 { |
74 'action_name': 'generateInspectorProtocolBackendSources', | 74 'action_name': 'generateInspectorProtocolBackendSources', |
75 'inputs': [ | 75 'inputs': [ |
76 # The python script in action below. | 76 # The python script in action below. |
77 '../inspector/CodeGeneratorInspector.py', | 77 'inspector/CodeGeneratorInspector.py', |
78 # The helper script imported by CodeGeneratorInspector.py. | 78 # The helper script imported by CodeGeneratorInspector.py. |
79 '../inspector/CodeGeneratorInspectorStrings.py', | 79 'inspector/CodeGeneratorInspectorStrings.py', |
80 # Input file for the script. | 80 # Input file for the script. |
81 '../../devtools/protocol.json', | 81 '../devtools/protocol.json', |
82 ], | 82 ], |
83 'outputs': [ | 83 'outputs': [ |
84 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendDispatcher.cpp', | 84 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendDispatcher.cpp', |
85 '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorBackendDispatcher.h', | 85 '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorBackendDispatcher.h', |
86 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorFrontend.cpp', | 86 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorFrontend.cpp', |
87 '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorFrontend.h', | 87 '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorFrontend.h', |
88 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorTypeBuilder.cpp', | 88 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorTypeBuilder.cpp', |
89 '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorTypeBuilder.h', | 89 '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorTypeBuilder.h', |
90 ], | 90 ], |
91 'variables': { | 91 'variables': { |
92 'generator_include_dirs': [ | 92 'generator_include_dirs': [ |
93 ], | 93 ], |
94 }, | 94 }, |
95 'action': [ | 95 'action': [ |
96 'python', | 96 'python', |
97 '../inspector/CodeGeneratorInspector.py', | 97 'inspector/CodeGeneratorInspector.py', |
98 '../../devtools/protocol.json', | 98 '../devtools/protocol.json', |
99 '--output_h_dir', '<(SHARED_INTERMEDIATE_DIR)/webkit', | 99 '--output_h_dir', '<(SHARED_INTERMEDIATE_DIR)/webkit', |
100 '--output_cpp_dir', '<(SHARED_INTERMEDIATE_DIR)/webcore', | 100 '--output_cpp_dir', '<(SHARED_INTERMEDIATE_DIR)/webcore', |
101 ], | 101 ], |
102 'message': 'Generating Inspector protocol backend sources from protoco
l.json', | 102 'message': 'Generating Inspector protocol backend sources from protoco
l.json', |
103 'msvs_cygwin_shell': 1, | 103 'msvs_cygwin_shell': 1, |
104 }, | 104 }, |
105 ] | 105 ] |
106 }, | 106 }, |
107 { | 107 { |
108 'target_name': 'inspector_instrumentation_sources', | 108 'target_name': 'inspector_instrumentation_sources', |
109 'type': 'none', | 109 'type': 'none', |
110 'dependencies': [], | 110 'dependencies': [], |
111 'actions': [ | 111 'actions': [ |
112 { | 112 { |
113 'action_name': 'generateInspectorInstrumentation', | 113 'action_name': 'generateInspectorInstrumentation', |
114 'inputs': [ | 114 'inputs': [ |
115 # The python script in action below. | 115 # The python script in action below. |
116 '../inspector/CodeGeneratorInstrumentation.py', | 116 'inspector/CodeGeneratorInstrumentation.py', |
117 # Input file for the script. | 117 # Input file for the script. |
118 '../inspector/InspectorInstrumentation.idl', | 118 'inspector/InspectorInstrumentation.idl', |
119 ], | 119 ], |
120 'outputs': [ | 120 'outputs': [ |
121 '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorInstrumentationInl.h', | 121 '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorInstrumentationInl.h', |
122 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorInstrumentationImpl.cpp
', | 122 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorInstrumentationImpl.cpp
', |
123 ], | 123 ], |
124 'action': [ | 124 'action': [ |
125 'python', | 125 'python', |
126 '../inspector/CodeGeneratorInstrumentation.py', | 126 'inspector/CodeGeneratorInstrumentation.py', |
127 '../inspector/InspectorInstrumentation.idl', | 127 'inspector/InspectorInstrumentation.idl', |
128 '--output_h_dir', '<(SHARED_INTERMEDIATE_DIR)/webkit', | 128 '--output_h_dir', '<(SHARED_INTERMEDIATE_DIR)/webkit', |
129 '--output_cpp_dir', '<(SHARED_INTERMEDIATE_DIR)/webcore', | 129 '--output_cpp_dir', '<(SHARED_INTERMEDIATE_DIR)/webcore', |
130 ], | 130 ], |
131 'message': 'Generating Inspector instrumentation code from InspectorIn
strumentation.idl', | 131 'message': 'Generating Inspector instrumentation code from InspectorIn
strumentation.idl', |
132 'msvs_cygwin_shell': 1, | 132 'msvs_cygwin_shell': 1, |
133 } | 133 } |
134 ] | 134 ] |
135 }, | 135 }, |
136 { | 136 { |
137 'target_name': 'generate_inspector_protocol_version', | 137 'target_name': 'generate_inspector_protocol_version', |
138 'type': 'none', | 138 'type': 'none', |
139 'actions': [ | 139 'actions': [ |
140 { | 140 { |
141 'action_name': 'generateInspectorProtocolVersion', | 141 'action_name': 'generateInspectorProtocolVersion', |
142 'inputs': [ | 142 'inputs': [ |
143 '../inspector/generate-inspector-protocol-version', | 143 'inspector/generate-inspector-protocol-version', |
144 '../../devtools/protocol.json', | 144 '../devtools/protocol.json', |
145 ], | 145 ], |
146 'outputs': [ | 146 'outputs': [ |
147 '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorProtocolVersion.h', | 147 '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorProtocolVersion.h', |
148 ], | 148 ], |
149 'variables': { | 149 'variables': { |
150 'generator_include_dirs': [ | 150 'generator_include_dirs': [ |
151 ], | 151 ], |
152 }, | 152 }, |
153 'action': [ | 153 'action': [ |
154 'python', | 154 'python', |
155 '../inspector/generate-inspector-protocol-version', | 155 'inspector/generate-inspector-protocol-version', |
156 '-o', | 156 '-o', |
157 '<@(_outputs)', | 157 '<@(_outputs)', |
158 '<@(_inputs)' | 158 '<@(_inputs)' |
159 ], | 159 ], |
160 'message': 'Validate inspector protocol for backwards compatibility an
d generate version file', | 160 'message': 'Validate inspector protocol for backwards compatibility an
d generate version file', |
161 } | 161 } |
162 ] | 162 ] |
163 }, | 163 }, |
164 { | 164 { |
165 'target_name': 'inspector_overlay_page', | 165 'target_name': 'inspector_overlay_page', |
166 'type': 'none', | 166 'type': 'none', |
167 'variables': { | 167 'variables': { |
168 'input_file_path': '../inspector/InspectorOverlayPage.html', | 168 'input_file_path': 'inspector/InspectorOverlayPage.html', |
169 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorOverlayP
age.h', | 169 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/InspectorOverlayP
age.h', |
170 'character_array_name': 'InspectorOverlayPage_html', | 170 'character_array_name': 'InspectorOverlayPage_html', |
171 }, | 171 }, |
172 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ], | 172 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ], |
173 }, | 173 }, |
174 { | 174 { |
175 'target_name': 'injected_canvas_script_source', | 175 'target_name': 'injected_canvas_script_source', |
176 'type': 'none', | 176 'type': 'none', |
177 'variables': { | 177 'variables': { |
178 'input_file_path': '../inspector/InjectedScriptCanvasModuleSource.js', | 178 'input_file_path': 'inspector/InjectedScriptCanvasModuleSource.js', |
179 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/InjectedScriptCan
vasModuleSource.h', | 179 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/InjectedScriptCan
vasModuleSource.h', |
180 'character_array_name': 'InjectedScriptCanvasModuleSource_js', | 180 'character_array_name': 'InjectedScriptCanvasModuleSource_js', |
181 }, | 181 }, |
182 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ], | 182 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ], |
183 }, | 183 }, |
184 { | 184 { |
185 'target_name': 'injected_script_source', | 185 'target_name': 'injected_script_source', |
186 'type': 'none', | 186 'type': 'none', |
187 'variables': { | 187 'variables': { |
188 'input_file_path': '../inspector/InjectedScriptSource.js', | 188 'input_file_path': 'inspector/InjectedScriptSource.js', |
189 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/InjectedScriptSou
rce.h', | 189 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/InjectedScriptSou
rce.h', |
190 'character_array_name': 'InjectedScriptSource_js', | 190 'character_array_name': 'InjectedScriptSource_js', |
191 }, | 191 }, |
192 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ], | 192 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ], |
193 }, | 193 }, |
194 { | 194 { |
195 'target_name': 'debugger_script_source', | 195 'target_name': 'debugger_script_source', |
196 'type': 'none', | 196 'type': 'none', |
197 'variables': { | 197 'variables': { |
198 'input_file_path': '<(bindings_dir)/v8/DebuggerScript.js', | 198 'input_file_path': '<(bindings_dir)/v8/DebuggerScript.js', |
199 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/DebuggerScriptSou
rce.h', | 199 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/webkit/DebuggerScriptSou
rce.h', |
200 'character_array_name': 'DebuggerScriptSource_js', | 200 'character_array_name': 'DebuggerScriptSource_js', |
201 }, | 201 }, |
202 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ], | 202 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ], |
203 }, | 203 }, |
204 { | 204 { |
205 'target_name': 'webcore_derived', | 205 'target_name': 'webcore_derived', |
206 'type': 'static_library', | 206 'type': 'static_library', |
207 'hard_dependency': 1, | 207 'hard_dependency': 1, |
208 'dependencies': [ | 208 'dependencies': [ |
209 'webcore_prerequisites', | 209 'webcore_prerequisites', |
210 'core_derived_sources.gyp:make_derived_sources', | 210 'core_derived_sources.gyp:make_derived_sources', |
211 'inspector_overlay_page', | 211 'inspector_overlay_page', |
212 'inspector_protocol_sources', | 212 'inspector_protocol_sources', |
213 'inspector_instrumentation_sources', | 213 'inspector_instrumentation_sources', |
214 'injected_canvas_script_source', | 214 'injected_canvas_script_source', |
215 'injected_script_source', | 215 'injected_script_source', |
216 'debugger_script_source', | 216 'debugger_script_source', |
217 '../../wtf/wtf.gyp:wtf', | 217 '../wtf/wtf.gyp:wtf', |
218 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 218 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
219 '<(DEPTH)/skia/skia.gyp:skia', | 219 '<(DEPTH)/skia/skia.gyp:skia', |
220 '<(DEPTH)/third_party/iccjpeg/iccjpeg.gyp:iccjpeg', | 220 '<(DEPTH)/third_party/iccjpeg/iccjpeg.gyp:iccjpeg', |
221 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', | 221 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', |
222 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', | 222 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
223 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt', | 223 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt', |
224 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', | 224 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', |
225 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 225 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
226 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms', | 226 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms', |
227 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', | 227 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
228 '<(DEPTH)/third_party/v8-i18n/build/all.gyp:v8-i18n', | 228 '<(DEPTH)/third_party/v8-i18n/build/all.gyp:v8-i18n', |
229 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 229 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
230 '<(libjpeg_gyp_path):libjpeg', | 230 '<(libjpeg_gyp_path):libjpeg', |
231 ], | 231 ], |
232 'include_dirs': [ | 232 'include_dirs': [ |
233 # FIXME: Remove <(SHARED_INTERMEDIATE_DIR)/webcore when we | 233 # FIXME: Remove <(SHARED_INTERMEDIATE_DIR)/webcore when we |
234 # can entice gyp into letting us put both the .cpp and .h | 234 # can entice gyp into letting us put both the .cpp and .h |
235 # files in the same output directory. | 235 # files in the same output directory. |
236 '<(SHARED_INTERMEDIATE_DIR)/webcore', | 236 '<(SHARED_INTERMEDIATE_DIR)/webcore', |
237 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 237 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
238 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', | 238 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', |
239 '<@(webcore_include_dirs)', | 239 '<@(webcore_include_dirs)', |
240 | 240 |
241 # FIXME: Remove these once the bindings script generates qualified | 241 # FIXME: Remove these once the bindings script generates qualified |
242 # includes for these correctly. (Sequences don't work yet.) | 242 # includes for these correctly. (Sequences don't work yet.) |
243 '<(bindings_dir)/v8/custom', | 243 '<(bindings_dir)/v8/custom', |
244 '../../modules/mediastream', | 244 '../modules/mediastream', |
245 '../../modules/speech', | 245 '../modules/speech', |
246 '../dom', | 246 'dom', |
247 '../html', | 247 'html', |
248 '../html/shadow', | 248 'html/shadow', |
249 '../inspector', | 249 'inspector', |
250 '../page', | 250 'page', |
251 '../svg', | 251 'svg', |
252 ], | 252 ], |
253 'sources': [ | 253 'sources': [ |
254 # These files include all the .cpp files generated from the .idl files | 254 # These files include all the .cpp files generated from the .idl files |
255 # in webcore_files. | 255 # in webcore_files. |
256 '<@(derived_sources_aggregate_files)', | 256 '<@(derived_sources_aggregate_files)', |
257 '<@(bindings_files)', | 257 '<@(bindings_files)', |
258 | 258 |
259 # Additional .cpp files for HashTools.h | 259 # Additional .cpp files for HashTools.h |
260 '<(SHARED_INTERMEDIATE_DIR)/webkit/ColorData.cpp', | 260 '<(SHARED_INTERMEDIATE_DIR)/webkit/ColorData.cpp', |
261 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSPropertyNames.cpp', | 261 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSPropertyNames.cpp', |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 'target_name': 'webcore_prerequisites', | 339 'target_name': 'webcore_prerequisites', |
340 'type': 'none', | 340 'type': 'none', |
341 'dependencies': [ | 341 'dependencies': [ |
342 'debugger_script_source', | 342 'debugger_script_source', |
343 'injected_canvas_script_source', | 343 'injected_canvas_script_source', |
344 'injected_script_source', | 344 'injected_script_source', |
345 'inspector_overlay_page', | 345 'inspector_overlay_page', |
346 'inspector_protocol_sources', | 346 'inspector_protocol_sources', |
347 'inspector_instrumentation_sources', | 347 'inspector_instrumentation_sources', |
348 'core_derived_sources.gyp:make_derived_sources', | 348 'core_derived_sources.gyp:make_derived_sources', |
349 '../../bindings/derived_sources.gyp:bindings_derived_sources', | 349 '../bindings/derived_sources.gyp:bindings_derived_sources', |
350 '../../wtf/wtf.gyp:wtf', | 350 '../wtf/wtf.gyp:wtf', |
351 '../../config.gyp:config', | 351 '../config.gyp:config', |
352 '../../weborigin/weborigin.gyp:weborigin', | 352 '../weborigin/weborigin.gyp:weborigin', |
353 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 353 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
354 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib', | 354 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib', |
355 '<(DEPTH)/skia/skia.gyp:skia', | 355 '<(DEPTH)/skia/skia.gyp:skia', |
356 '<(DEPTH)/third_party/iccjpeg/iccjpeg.gyp:iccjpeg', | 356 '<(DEPTH)/third_party/iccjpeg/iccjpeg.gyp:iccjpeg', |
357 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 357 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
358 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', | 358 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', |
359 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', | 359 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', |
360 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', | 360 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
361 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt', | 361 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt', |
362 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 362 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
363 '<(DEPTH)/third_party/ots/ots.gyp:ots', | 363 '<(DEPTH)/third_party/ots/ots.gyp:ots', |
364 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms', | 364 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms', |
365 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', | 365 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
366 '<(DEPTH)/third_party/angle/src/build_angle.gyp:translator_glsl', | 366 '<(DEPTH)/third_party/angle/src/build_angle.gyp:translator_glsl', |
367 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', | 367 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', |
368 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 368 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
369 '<(libjpeg_gyp_path):libjpeg', | 369 '<(libjpeg_gyp_path):libjpeg', |
370 ], | 370 ], |
371 'export_dependent_settings': [ | 371 'export_dependent_settings': [ |
372 '../../wtf/wtf.gyp:wtf', | 372 '../wtf/wtf.gyp:wtf', |
373 '../../config.gyp:config', | 373 '../config.gyp:config', |
374 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 374 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
375 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib', | 375 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib', |
376 '<(DEPTH)/skia/skia.gyp:skia', | 376 '<(DEPTH)/skia/skia.gyp:skia', |
377 '<(DEPTH)/third_party/iccjpeg/iccjpeg.gyp:iccjpeg', | 377 '<(DEPTH)/third_party/iccjpeg/iccjpeg.gyp:iccjpeg', |
378 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 378 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
379 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', | 379 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', |
380 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', | 380 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', |
381 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', | 381 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
382 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt', | 382 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt', |
383 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 383 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
(...skipping 16 matching lines...) Expand all Loading... |
400 '<(DEPTH)/third_party/angle/include/GLSLANG', | 400 '<(DEPTH)/third_party/angle/include/GLSLANG', |
401 ], | 401 ], |
402 'msvs_disabled_warnings': [ | 402 'msvs_disabled_warnings': [ |
403 4138, 4244, 4291, 4305, 4344, 4355, 4521, 4099, | 403 4138, 4244, 4291, 4305, 4344, 4355, 4521, 4099, |
404 ], | 404 ], |
405 'scons_line_length' : 1, | 405 'scons_line_length' : 1, |
406 'xcode_settings': { | 406 'xcode_settings': { |
407 # Some Mac-specific parts of WebKit won't compile without having this | 407 # Some Mac-specific parts of WebKit won't compile without having this |
408 # prefix header injected. | 408 # prefix header injected. |
409 # FIXME: make this a first-class setting. | 409 # FIXME: make this a first-class setting. |
410 'GCC_PREFIX_HEADER': '../WebCorePrefixMac.h', | 410 'GCC_PREFIX_HEADER': 'WebCorePrefixMac.h', |
411 }, | 411 }, |
412 }, | 412 }, |
413 'conditions': [ | 413 'conditions': [ |
414 ['OS=="win" and component=="shared_library"', { | 414 ['OS=="win" and component=="shared_library"', { |
415 'direct_dependent_settings': { | 415 'direct_dependent_settings': { |
416 'defines': [ | 416 'defines': [ |
417 'USING_V8_SHARED', | 417 'USING_V8_SHARED', |
418 ], | 418 ], |
419 }, | 419 }, |
420 }], | 420 }], |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 # This step ensures that any Objective-C names that aren't | 487 # This step ensures that any Objective-C names that aren't |
488 # redefined to be "safe" above will cause a build failure. | 488 # redefined to be "safe" above will cause a build failure. |
489 'postbuild_name': 'Check Objective-C Rename', | 489 'postbuild_name': 'Check Objective-C Rename', |
490 'variables': { | 490 'variables': { |
491 'class_whitelist_regex': | 491 'class_whitelist_regex': |
492 'ChromiumWebCoreObjC|TCMVisibleView|RTCMFlippedView', | 492 'ChromiumWebCoreObjC|TCMVisibleView|RTCMFlippedView', |
493 'category_whitelist_regex': | 493 'category_whitelist_regex': |
494 'TCMInterposing|ScrollAnimatorChromiumMacExt|WebCoreTheme'
, | 494 'TCMInterposing|ScrollAnimatorChromiumMacExt|WebCoreTheme'
, |
495 }, | 495 }, |
496 'action': [ | 496 'action': [ |
497 'mac/check_objc_rename.sh', | 497 'scripts/check_objc_rename.sh', |
498 '<(class_whitelist_regex)', | 498 '<(class_whitelist_regex)', |
499 '<(category_whitelist_regex)', | 499 '<(category_whitelist_regex)', |
500 ], | 500 ], |
501 }, | 501 }, |
502 ], | 502 ], |
503 }, | 503 }, |
504 }], | 504 }], |
505 ['OS=="win"', { | 505 ['OS=="win"', { |
506 'direct_dependent_settings': { | 506 'direct_dependent_settings': { |
507 'defines': [ | 507 'defines': [ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 { | 550 { |
551 'target_name': 'webcore_dom', | 551 'target_name': 'webcore_dom', |
552 'type': 'static_library', | 552 'type': 'static_library', |
553 'dependencies': [ | 553 'dependencies': [ |
554 'webcore_prerequisites', | 554 'webcore_prerequisites', |
555 ], | 555 ], |
556 'sources': [ | 556 'sources': [ |
557 '<@(webcore_dom_files)', | 557 '<@(webcore_dom_files)', |
558 ], | 558 ], |
559 'sources!': [ | 559 'sources!': [ |
560 '../dom/default/PlatformMessagePortChannel.cpp', | 560 'dom/default/PlatformMessagePortChannel.cpp', |
561 '../dom/default/PlatformMessagePortChannel.h', | 561 'dom/default/PlatformMessagePortChannel.h', |
562 ], | 562 ], |
563 'sources/': [ | 563 'sources/': [ |
564 # FIXME: Figure out how to store these patterns in a variable. | 564 # FIXME: Figure out how to store these patterns in a variable. |
565 ['exclude', '(cf|cg|mac|opentype|svg|win)/'], | 565 ['exclude', '(cf|cg|mac|opentype|svg|win)/'], |
566 ['exclude', '(?<!Chromium)(CF|CG|Mac|OpenType|Win)\\.(cpp|mm?)$'], | 566 ['exclude', '(?<!Chromium)(CF|CG|Mac|OpenType|Win)\\.(cpp|mm?)$'], |
567 ], | 567 ], |
568 # Disable c4267 warnings until we fix size_t to int truncations. | 568 # Disable c4267 warnings until we fix size_t to int truncations. |
569 'msvs_disabled_warnings': [ 4267, ], | 569 'msvs_disabled_warnings': [ 4267, ], |
570 }, | 570 }, |
571 { | 571 { |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 }, { # toolkit_uses_gtk==0 | 675 }, { # toolkit_uses_gtk==0 |
676 'sources/': [ | 676 'sources/': [ |
677 ['exclude', 'Gtk\\.cpp$'], | 677 ['exclude', 'Gtk\\.cpp$'], |
678 ], | 678 ], |
679 }], | 679 }], |
680 ['OS=="mac"', { | 680 ['OS=="mac"', { |
681 'dependencies': [ | 681 'dependencies': [ |
682 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', | 682 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', |
683 ], | 683 ], |
684 'sources': [ | 684 'sources': [ |
685 '../editing/SmartReplaceCF.cpp', | 685 'editing/SmartReplaceCF.cpp', |
686 ], | 686 ], |
687 'sources/': [ | 687 'sources/': [ |
688 # Additional files from the WebCore Mac build that are presently | 688 # Additional files from the WebCore Mac build that are presently |
689 # used in the WebCore Chromium Mac build too. | 689 # used in the WebCore Chromium Mac build too. |
690 | 690 |
691 # The Mac build is USE(CF). | 691 # The Mac build is USE(CF). |
692 ['include', 'CF\\.cpp$'], | 692 ['include', 'CF\\.cpp$'], |
693 | 693 |
694 # Use native Mac font code from core. | 694 # Use native Mac font code from core. |
695 ['include', 'platform/(graphics/)?mac/[^/]*Font[^/]*\\.(cpp|mm?)$'], | 695 ['include', 'platform/(graphics/)?mac/[^/]*Font[^/]*\\.(cpp|mm?)$'], |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 'dependencies': [ | 1010 'dependencies': [ |
1011 'webcore_dom', | 1011 'webcore_dom', |
1012 'webcore_html', | 1012 'webcore_html', |
1013 'webcore_platform', | 1013 'webcore_platform', |
1014 'webcore_platform_geometry', | 1014 'webcore_platform_geometry', |
1015 'webcore_remaining', | 1015 'webcore_remaining', |
1016 'webcore_rendering', | 1016 'webcore_rendering', |
1017 'webcore_svg', | 1017 'webcore_svg', |
1018 # Exported. | 1018 # Exported. |
1019 'webcore_derived', | 1019 'webcore_derived', |
1020 '../../wtf/wtf.gyp:wtf', | 1020 '../wtf/wtf.gyp:wtf', |
1021 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 1021 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
1022 '<(DEPTH)/skia/skia.gyp:skia', | 1022 '<(DEPTH)/skia/skia.gyp:skia', |
1023 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 1023 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
1024 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms', | 1024 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms', |
1025 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 1025 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
1026 ], | 1026 ], |
1027 'export_dependent_settings': [ | 1027 'export_dependent_settings': [ |
1028 '../../wtf/wtf.gyp:wtf', | 1028 '../wtf/wtf.gyp:wtf', |
1029 'webcore_derived', | 1029 'webcore_derived', |
1030 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 1030 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
1031 '<(DEPTH)/skia/skia.gyp:skia', | 1031 '<(DEPTH)/skia/skia.gyp:skia', |
1032 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 1032 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
1033 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms', | 1033 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms', |
1034 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 1034 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
1035 ], | 1035 ], |
1036 'direct_dependent_settings': { | 1036 'direct_dependent_settings': { |
1037 'include_dirs': [ | 1037 'include_dirs': [ |
1038 '<@(webcore_include_dirs)', | 1038 '<@(webcore_include_dirs)', |
1039 ], | 1039 ], |
1040 }, | 1040 }, |
1041 'conditions': [ | 1041 'conditions': [ |
1042 ['target_arch=="arm"', { | 1042 ['target_arch=="arm"', { |
1043 'dependencies': [ | 1043 'dependencies': [ |
1044 'webcore_arm_neon', | 1044 'webcore_arm_neon', |
1045 ], | 1045 ], |
1046 }], | 1046 }], |
1047 ['OS=="mac"', { | 1047 ['OS=="mac"', { |
1048 'direct_dependent_settings': { | 1048 'direct_dependent_settings': { |
1049 'include_dirs': [ | 1049 'include_dirs': [ |
1050 '../../WebKit/mac/WebCoreSupport', | 1050 '../WebKit/mac/WebCoreSupport', |
1051 ], | 1051 ], |
1052 }, | 1052 }, |
1053 }], | 1053 }], |
1054 ['OS=="linux" and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', { | 1054 ['OS=="linux" and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', { |
1055 'link_settings': { | 1055 'link_settings': { |
1056 'ldflags': [ | 1056 'ldflags': [ |
1057 '<!@(pkg-config --libs-only-L ipp)', | 1057 '<!@(pkg-config --libs-only-L ipp)', |
1058 ], | 1058 ], |
1059 'libraries': [ | 1059 'libraries': [ |
1060 '-lipps -lippcore', | 1060 '-lipps -lippcore', |
1061 ], | 1061 ], |
1062 }, | 1062 }, |
1063 }], | 1063 }], |
1064 # Use IPP static libraries for x86 Android. | 1064 # Use IPP static libraries for x86 Android. |
1065 ['OS=="android" and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', { | 1065 ['OS=="android" and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', { |
1066 'link_settings': { | 1066 'link_settings': { |
1067 'libraries': [ | 1067 'libraries': [ |
1068 '<!@(pkg-config --libs ipp|sed s/-L//)/libipps_l.a', | 1068 '<!@(pkg-config --libs ipp|sed s/-L//)/libipps_l.a', |
1069 '<!@(pkg-config --libs ipp|sed s/-L//)/libippcore_l.a', | 1069 '<!@(pkg-config --libs ipp|sed s/-L//)/libippcore_l.a', |
1070 ] | 1070 ] |
1071 }, | 1071 }, |
1072 }], | 1072 }], |
1073 ], | 1073 ], |
1074 }, | 1074 }, |
1075 { | 1075 { |
1076 'target_name': 'webcore_test_support', | 1076 'target_name': 'webcore_test_support', |
1077 'type': 'static_library', | 1077 'type': 'static_library', |
1078 'dependencies': [ | 1078 'dependencies': [ |
1079 '../../config.gyp:config', | 1079 '../config.gyp:config', |
1080 'webcore', | 1080 'webcore', |
1081 ], | 1081 ], |
1082 'defines': [ | 1082 'defines': [ |
1083 'WEBKIT_IMPLEMENTATION=1', | 1083 'WEBKIT_IMPLEMENTATION=1', |
1084 ], | 1084 ], |
1085 'include_dirs': [ | 1085 'include_dirs': [ |
1086 '<(bindings_dir)/v8', # FIXME: Remove once http://crbug.com/236119 is f
ixed. | 1086 '<(bindings_dir)/v8', # FIXME: Remove once http://crbug.com/236119 is f
ixed. |
1087 '../testing', | 1087 'testing', |
1088 '../testing/v8', | 1088 'testing/v8', |
1089 ], | 1089 ], |
1090 'sources': [ | 1090 'sources': [ |
1091 '<@(webcore_test_support_files)', | 1091 '<@(webcore_test_support_files)', |
1092 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8MallocStatistics.cpp', | 1092 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8MallocStatistics.cpp', |
1093 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8MallocStatistics.h', | 1093 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8MallocStatistics.h', |
1094 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8TypeConversions.cpp', | 1094 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8TypeConversions.cpp', |
1095 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8TypeConversions.h', | 1095 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8TypeConversions.h', |
1096 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8Internals.cpp', | 1096 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8Internals.cpp', |
1097 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8Internals.h', | 1097 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8Internals.h', |
1098 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8InternalSettings.cpp', | 1098 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8InternalSettings.cpp', |
1099 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8InternalSettings.h', | 1099 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8InternalSettings.h', |
1100 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8InternalSettingsGenerated
.cpp', | 1100 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8InternalSettingsGenerated
.cpp', |
1101 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8InternalSettingsGenerated.
h', | 1101 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8InternalSettingsGenerated.
h', |
1102 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8InternalRuntimeFlags.cpp'
, | 1102 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8InternalRuntimeFlags.cpp'
, |
1103 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8InternalRuntimeFlags.h', | 1103 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8InternalRuntimeFlags.h', |
1104 ], | 1104 ], |
1105 'sources/': [ | 1105 'sources/': [ |
1106 ['exclude', 'testing/js'], | 1106 ['exclude', 'testing/js'], |
1107 ], | 1107 ], |
1108 }, | 1108 }, |
1109 ], # targets | 1109 ], # targets |
1110 } | 1110 } |
OLD | NEW |