Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Side by Side Diff: webkit/webkit.gyp

Issue 165250: Merge 22799 - Set up a interposing library for Carbon calls made by plugins.... (Closed) Base URL: svn://chrome-svn/chrome/branches/197/src/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl_mac.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/src/webkit/webkit.gyp:r3734-4217,4606-5108,5177-5263
Merged /trunk/src/webkit/webkit.gyp:r22799
OLDNEW
(Empty)
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'feature_defines': [
8 'ENABLE_CHANNEL_MESSAGING=1',
9 'ENABLE_DATABASE=1',
10 'ENABLE_DATAGRID=0',
11 'ENABLE_DASHBOARD_SUPPORT=0',
12 'ENABLE_DOM_STORAGE=1',
13 'ENABLE_JAVASCRIPT_DEBUGGER=0',
14 'ENABLE_JSC_MULTIPLE_THREADS=0',
15 'ENABLE_ICONDATABASE=0',
16 'ENABLE_XSLT=1',
17 'ENABLE_XPATH=1',
18 'ENABLE_SHARED_WORKERS=0',
19 'ENABLE_SVG=1',
20 'ENABLE_SVG_ANIMATION=1',
21 'ENABLE_SVG_AS_IMAGE=1',
22 'ENABLE_SVG_USE=1',
23 'ENABLE_SVG_FOREIGN_OBJECT=1',
24 'ENABLE_SVG_FONTS=1',
25 'ENABLE_VIDEO=1',
26 'ENABLE_WORKERS=1',
27 ],
28 'non_feature_defines': [
29 'BUILDING_CHROMIUM__=1',
30 'USE_GOOGLE_URL_LIBRARY=1',
31 'USE_SYSTEM_MALLOC=1',
32 ],
33 'webcore_include_dirs': [
34 '../third_party/WebKit/WebCore/accessibility',
35 '../third_party/WebKit/WebCore/accessibility/chromium',
36 '../third_party/WebKit/WebCore/bindings/v8',
37 '../third_party/WebKit/WebCore/bindings/v8/custom',
38 '../third_party/WebKit/WebCore/bridge',
39 '../third_party/WebKit/WebCore/css',
40 '../third_party/WebKit/WebCore/dom',
41 '../third_party/WebKit/WebCore/dom/default',
42 '../third_party/WebKit/WebCore/editing',
43 '../third_party/WebKit/WebCore/history',
44 '../third_party/WebKit/WebCore/html',
45 '../third_party/WebKit/WebCore/inspector',
46 '../third_party/WebKit/WebCore/loader',
47 '../third_party/WebKit/WebCore/loader/appcache',
48 '../third_party/WebKit/WebCore/loader/archive',
49 '../third_party/WebKit/WebCore/loader/icon',
50 '../third_party/WebKit/WebCore/page',
51 '../third_party/WebKit/WebCore/page/animation',
52 '../third_party/WebKit/WebCore/page/chromium',
53 '../third_party/WebKit/WebCore/platform',
54 '../third_party/WebKit/WebCore/platform/animation',
55 '../third_party/WebKit/WebCore/platform/chromium',
56 '../third_party/WebKit/WebCore/platform/graphics',
57 '../third_party/WebKit/WebCore/platform/graphics/chromium',
58 '../third_party/WebKit/WebCore/platform/graphics/opentype',
59 '../third_party/WebKit/WebCore/platform/graphics/skia',
60 '../third_party/WebKit/WebCore/platform/graphics/transforms',
61 '../third_party/WebKit/WebCore/platform/image-decoders',
62 '../third_party/WebKit/WebCore/platform/image-decoders/bmp',
63 '../third_party/WebKit/WebCore/platform/image-decoders/gif',
64 '../third_party/WebKit/WebCore/platform/image-decoders/ico',
65 '../third_party/WebKit/WebCore/platform/image-decoders/jpeg',
66 '../third_party/WebKit/WebCore/platform/image-decoders/png',
67 '../third_party/WebKit/WebCore/platform/image-decoders/skia',
68 '../third_party/WebKit/WebCore/platform/image-decoders/xbm',
69 '../third_party/WebKit/WebCore/platform/image-encoders/skia',
70 '../third_party/WebKit/WebCore/platform/network',
71 '../third_party/WebKit/WebCore/platform/network/chromium',
72 '../third_party/WebKit/WebCore/platform/sql',
73 '../third_party/WebKit/WebCore/platform/text',
74 '../third_party/WebKit/WebCore/plugins',
75 '../third_party/WebKit/WebCore/rendering',
76 '../third_party/WebKit/WebCore/rendering/style',
77 '../third_party/WebKit/WebCore/storage',
78 '../third_party/WebKit/WebCore/svg',
79 '../third_party/WebKit/WebCore/svg/animation',
80 '../third_party/WebKit/WebCore/svg/graphics',
81 '../third_party/WebKit/WebCore/workers',
82 '../third_party/WebKit/WebCore/xml',
83 ],
84 'conditions': [
85 ['OS=="linux"', {
86 'non_feature_defines': [
87 # Mozilla on Linux effectively uses uname -sm, but when running
88 # 32-bit x86 code on an x86_64 processor, it uses
89 # "Linux i686 (x86_64)". Matching that would require making a
90 # run-time determination.
91 'WEBCORE_NAVIGATOR_PLATFORM="Linux i686"',
92 ],
93 }],
94 ['OS=="mac"', {
95 'non_feature_defines': [
96 # Ensure that only Leopard features are used when doing the Mac build.
97 'BUILDING_ON_LEOPARD',
98 # Match Safari and Mozilla on Mac x86.
99 'WEBCORE_NAVIGATOR_PLATFORM="MacIntel"',
100 ],
101 'webcore_include_dirs+': [
102 # platform/graphics/cg and mac needs to come before
103 # platform/graphics/chromium so that the Mac build picks up the
104 # version of ImageBufferData.h in the cg directory and
105 # FontPlatformData.h in the mac directory. The + prepends this
106 # directory to the list.
107 # TODO(port): This shouldn't need to be prepended.
108 # TODO(port): Eliminate dependency on platform/graphics/mac and
109 # related directories.
110 # platform/graphics/cg may need to stick around, though.
111 '../third_party/WebKit/WebCore/platform/graphics/cg',
112 '../third_party/WebKit/WebCore/platform/graphics/mac',
113 ],
114 'webcore_include_dirs': [
115 # TODO(port): Eliminate dependency on platform/mac and related
116 # directories.
117 '../third_party/WebKit/WebCore/loader/archive/cf',
118 '../third_party/WebKit/WebCore/platform/mac',
119 '../third_party/WebKit/WebCore/platform/text/mac',
120 ],
121 }],
122 ['OS=="win"', {
123 'non_feature_defines': [
124 'CRASH=__debugbreak',
125 # Match Safari and Mozilla on Windows.
126 'WEBCORE_NAVIGATOR_PLATFORM="Win32"',
127 ],
128 'webcore_include_dirs': [
129 '../third_party/WebKit/WebCore/page/win',
130 '../third_party/WebKit/WebCore/platform/graphics/win',
131 '../third_party/WebKit/WebCore/platform/text/win',
132 '../third_party/WebKit/WebCore/platform/win',
133 ],
134 }],
135 ],
136 },
137 'includes': [
138 '../build/common.gypi',
139 '../third_party/WebKit/JavaScriptCore/JavaScriptCore.gypi',
140 '../third_party/WebKit/WebCore/WebCore.gypi',
141 ],
142 'targets': [
143 {
144 # Currently, builders assume webkit.sln builds test_shell on windows.
145 # We should change this, but for now allows trybot runs.
146 # for now.
147 'target_name': 'pull_in_test_shell',
148 'type': 'none',
149 'conditions': [
150 ['OS=="win"', {
151 'dependencies': [
152 'tools/test_shell/test_shell.gyp:*',
153 'activex_shim_dll/activex_shim_dll.gyp:*',
154 ],
155 }],
156 ],
157 },
158 {
159 # This target creates config.h suitable for a WebKit-V8 build and
160 # copies a few other files around as needed.
161 'target_name': 'config',
162 'type': 'none',
163 'msvs_guid': '2E2D3301-2EC4-4C0F-B889-87073B30F673',
164 'actions': [
165 {
166 'action_name': 'config.h',
167 'inputs': [
168 'config.h.in',
169 ],
170 'outputs': [
171 '<(SHARED_INTERMEDIATE_DIR)/webkit/config.h',
172 ],
173 # TODO(bradnelson): npapi.h, npruntime.h, npruntime_priv.h, and
174 # stdint.h shouldn't be in the SHARED_INTERMEDIATE_DIR, it's very
175 # global.
176 'action': ['python', 'build/action_jsconfig.py', 'v8', '<(SHARED_INTER MEDIATE_DIR)/webkit', '<@(_inputs)'],
177
178 'conditions': [
179 ['OS=="win"', {
180 'inputs': [
181 '../third_party/WebKit/WebCore/bridge/npapi.h',
182 '../third_party/WebKit/WebCore/bridge/npruntime.h',
183 '../third_party/WebKit/WebCore/bindings/v8/npruntime_priv.h',
184 '../third_party/WebKit/JavaScriptCore/os-win32/stdint.h',
185 ],
186 }],
187 ],
188 },
189 ],
190 'direct_dependent_settings': {
191 'defines': [
192 '<@(feature_defines)',
193 '<@(non_feature_defines)',
194 ],
195 # Always prepend the directory containing config.h. This is important,
196 # because WebKit/JavaScriptCore has a config.h in it too. The JSC
197 # config.h shouldn't be used, and its directory winds up in
198 # include_dirs in wtf and its dependents. If the directory containing
199 # the real config.h weren't prepended, other targets might wind up
200 # picking up the wrong config.h, which can result in build failures or
201 # even random runtime problems due to different components being built
202 # with different configurations.
203 #
204 # The rightmost + is present because this direct_dependent_settings
205 # section gets merged into the (nonexistent) target_defaults one,
206 # eating the rightmost +.
207 'include_dirs++': [
208 '<(SHARED_INTERMEDIATE_DIR)/webkit',
209 ],
210 },
211 'conditions': [
212 ['OS=="win"', {
213 'dependencies': ['../build/win/system.gyp:cygwin'],
214 'direct_dependent_settings': {
215 'defines': [
216 '__STD_C',
217 '_CRT_SECURE_NO_DEPRECATE',
218 '_SCL_SECURE_NO_DEPRECATE',
219 ],
220 'include_dirs': [
221 '../third_party/WebKit/JavaScriptCore/os-win32',
222 'build/JavaScriptCore',
223 ],
224 },
225 }],
226 ],
227 },
228 {
229 'target_name': 'wtf',
230 'type': '<(library)',
231 'msvs_guid': 'AA8A5A85-592B-4357-BC60-E0E91E026AF6',
232 'dependencies': [
233 'config',
234 '../third_party/icu38/icu38.gyp:icui18n',
235 '../third_party/icu38/icu38.gyp:icuuc',
236 ],
237 'include_dirs': [
238 '../third_party/WebKit/JavaScriptCore',
239 '../third_party/WebKit/JavaScriptCore/wtf',
240 '../third_party/WebKit/JavaScriptCore/wtf/unicode',
241 ],
242 'sources': [
243 '<@(javascriptcore_files)',
244 'build/precompiled_webkit.cc',
245 'build/precompiled_webkit.h',
246 ],
247 'sources/': [
248 # First exclude everything ...
249 ['exclude', 'JavaScriptCore/'],
250 # ... Then include what we want.
251 ['include', 'JavaScriptCore/wtf/'],
252 # GLib/GTK, even though its name doesn't really indicate.
253 ['exclude', '/(GOwnPtr|glib/.*)\\.(cpp|h)$'],
254 ['exclude', '(Default|Gtk|Mac|None|Qt|Win|Wx)\\.(cpp|mm)$'],
255 ],
256 'direct_dependent_settings': {
257 'include_dirs': [
258 '../third_party/WebKit/JavaScriptCore',
259 '../third_party/WebKit/JavaScriptCore/wtf',
260 ],
261 },
262 'export_dependent_settings': [
263 'config',
264 '../third_party/icu38/icu38.gyp:icui18n',
265 '../third_party/icu38/icu38.gyp:icuuc',
266 ],
267 'configurations': {
268 'Debug': {
269 'msvs_precompiled_header': 'build/precompiled_webkit.h',
270 'msvs_precompiled_source': 'build/precompiled_webkit.cc',
271 },
272 },
273 'msvs_disabled_warnings': [4127, 4355, 4510, 4512, 4610, 4706],
274 'conditions': [
275 ['OS=="win"', {
276 'sources/': [
277 ['exclude', 'ThreadingPthreads\\.cpp$'],
278 ['include', 'Thread(ing|Specific)Win\\.cpp$']
279 ],
280 'include_dirs': [
281 'build',
282 '../third_party/WebKit/JavaScriptCore/kjs',
283 '../third_party/WebKit/JavaScriptCore/API',
284 # These 3 do not seem to exist.
285 '../third_party/WebKit/JavaScriptCore/bindings',
286 '../third_party/WebKit/JavaScriptCore/bindings/c',
287 '../third_party/WebKit/JavaScriptCore/bindings/jni',
288 'pending',
289 'pending/wtf',
290 ],
291 'include_dirs!': [
292 '<(SHARED_INTERMEDIATE_DIR)/webkit',
293 ],
294 }, { # OS != "win"
295 'sources!': [
296 'build/precompiled_webkit.cc',
297 'build/precompiled_webkit.h',
298 ],
299 }],
300 ['OS=="linux"', {
301 'defines': ['WTF_USE_PTHREADS=1'],
302 'direct_dependent_settings': {
303 'defines': ['WTF_USE_PTHREADS=1'],
304 },
305 }],
306 ],
307 },
308 {
309 'target_name': 'pcre',
310 'type': '<(library)',
311 'dependencies': [
312 'config',
313 'wtf',
314 ],
315 'msvs_guid': '49909552-0B0C-4C14-8CF6-DB8A2ADE0934',
316 'actions': [
317 {
318 'action_name': 'dftables',
319 'inputs': [
320 '../third_party/WebKit/JavaScriptCore/pcre/dftables',
321 ],
322 'outputs': [
323 '<(INTERMEDIATE_DIR)/chartables.c',
324 ],
325 'action': ['perl', '-w', '<@(_inputs)', '<@(_outputs)'],
326 },
327 ],
328 'include_dirs': [
329 '<(INTERMEDIATE_DIR)',
330 ],
331 'sources': [
332 '<@(javascriptcore_files)',
333 ],
334 'sources/': [
335 # First exclude everything ...
336 ['exclude', 'JavaScriptCore/'],
337 # ... Then include what we want.
338 ['include', 'JavaScriptCore/pcre/'],
339 # ucptable.cpp is #included by pcre_ucp_searchfunchs.cpp and is not
340 # intended to be compiled directly.
341 ['exclude', 'JavaScriptCore/pcre/ucptable.cpp$'],
342 ],
343 'export_dependent_settings': [
344 'wtf',
345 ],
346 'conditions': [
347 ['OS=="win"', {
348 'dependencies': ['../build/win/system.gyp:cygwin'],
349 }],
350 ],
351 },
352 {
353 'target_name': 'webcore',
354 'type': '<(library)',
355 'msvs_guid': '1C16337B-ACF3-4D03-AA90-851C5B5EADA6',
356 'dependencies': [
357 'config',
358 'pcre',
359 'wtf',
360 '../build/temp_gyp/googleurl.gyp:googleurl',
361 '../skia/skia.gyp:skia',
362 '../third_party/libjpeg/libjpeg.gyp:libjpeg',
363 '../third_party/libpng/libpng.gyp:libpng',
364 '../third_party/libxml/libxml.gyp:libxml',
365 '../third_party/libxslt/libxslt.gyp:libxslt',
366 '../third_party/npapi/npapi.gyp:npapi',
367 '../third_party/sqlite/sqlite.gyp:sqlite',
368 ],
369 'actions': [
370 # Actions to build derived sources.
371 {
372 'action_name': 'CSSPropertyNames',
373 'inputs': [
374 '../third_party/WebKit/WebCore/css/makeprop.pl',
375 '../third_party/WebKit/WebCore/css/CSSPropertyNames.in',
376 '../third_party/WebKit/WebCore/css/SVGCSSPropertyNames.in',
377 ],
378 'outputs': [
379 '<(INTERMEDIATE_DIR)/CSSPropertyNames.cpp',
380 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSPropertyNames.h',
381 ],
382 'action': ['python', 'build/action_csspropertynames.py', '<@(_outputs) ', '--', '<@(_inputs)'],
383 },
384 {
385 'action_name': 'CSSValueKeywords',
386 'inputs': [
387 '../third_party/WebKit/WebCore/css/makevalues.pl',
388 '../third_party/WebKit/WebCore/css/CSSValueKeywords.in',
389 '../third_party/WebKit/WebCore/css/SVGCSSValueKeywords.in',
390 ],
391 'outputs': [
392 '<(INTERMEDIATE_DIR)/CSSValueKeywords.c',
393 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSValueKeywords.h',
394 ],
395 'action': ['python', 'build/action_cssvaluekeywords.py', '<@(_outputs) ', '--', '<@(_inputs)'],
396 },
397 {
398 'action_name': 'HTMLNames',
399 'inputs': [
400 '../third_party/WebKit/WebCore/dom/make_names.pl',
401 '../third_party/WebKit/WebCore/html/HTMLTagNames.in',
402 '../third_party/WebKit/WebCore/html/HTMLAttributeNames.in',
403 ],
404 'outputs': [
405 '<(INTERMEDIATE_DIR)/HTMLNames.cpp',
406 '<(SHARED_INTERMEDIATE_DIR)/webkit/HTMLNames.h',
407 '<(INTERMEDIATE_DIR)/HTMLElementFactory.cpp',
408 # Pass --wrapperFactory to make_names to get these (JSC build?)
409 #'<(INTERMEDIATE_DIR)/JSHTMLElementWrapperFactory.cpp',
410 #'<(INTERMEDIATE_DIR)/JSHTMLElementWrapperFactory.h',
411 ],
412 'action': ['python', 'build/action_makenames.py', '<@(_outputs)', '--' , '<@(_inputs)', '--', '--factory', '--extraDefines', '<(feature_defines)'],
413 'process_outputs_as_sources': 1,
414 },
415 {
416 'action_name': 'SVGNames',
417 'inputs': [
418 '../third_party/WebKit/WebCore/dom/make_names.pl',
419 '../third_party/WebKit/WebCore/svg/svgtags.in',
420 '../third_party/WebKit/WebCore/svg/svgattrs.in',
421 ],
422 'outputs': [
423 '<(INTERMEDIATE_DIR)/SVGNames.cpp',
424 '<(INTERMEDIATE_DIR)/SVGNames.h',
425 '<(INTERMEDIATE_DIR)/SVGElementFactory.cpp',
426 '<(INTERMEDIATE_DIR)/SVGElementFactory.h',
427 # Pass --wrapperFactory to make_names to get these (JSC build?)
428 #'<(INTERMEDIATE_DIR)/JSSVGElementWrapperFactory.cpp',
429 #'<(INTERMEDIATE_DIR)/JSSVGElementWrapperFactory.h',
430 ],
431 'action': ['python', 'build/action_makenames.py', '<@(_outputs)', '--' , '<@(_inputs)', '--', '--factory', '--extraDefines', '<(feature_defines)'],
432 'process_outputs_as_sources': 1,
433 },
434 {
435 'action_name': 'UserAgentStyleSheets',
436 'inputs': [
437 '../third_party/WebKit/WebCore/css/make-css-file-arrays.pl',
438 '../third_party/WebKit/WebCore/css/html.css',
439 '../third_party/WebKit/WebCore/css/quirks.css',
440 '../third_party/WebKit/WebCore/css/view-source.css',
441 '../third_party/WebKit/WebCore/css/themeChromiumLinux.css',
442 '../third_party/WebKit/WebCore/css/themeWin.css',
443 '../third_party/WebKit/WebCore/css/themeWinQuirks.css',
444 '../third_party/WebKit/WebCore/css/svg.css',
445 '../third_party/WebKit/WebCore/css/mediaControls.css',
446 '../third_party/WebKit/WebCore/css/mediaControlsChromium.css',
447 ],
448 'outputs': [
449 '<(INTERMEDIATE_DIR)/UserAgentStyleSheets.h',
450 '<(INTERMEDIATE_DIR)/UserAgentStyleSheetsData.cpp',
451 ],
452 'action': ['python', 'build/action_useragentstylesheets.py', '<@(_outp uts)', '--', '<@(_inputs)'],
453 'process_outputs_as_sources': 1,
454 },
455 {
456 'action_name': 'XLinkNames',
457 'inputs': [
458 '../third_party/WebKit/WebCore/dom/make_names.pl',
459 '../third_party/WebKit/WebCore/svg/xlinkattrs.in',
460 ],
461 'outputs': [
462 '<(INTERMEDIATE_DIR)/XLinkNames.cpp',
463 '<(INTERMEDIATE_DIR)/XLinkNames.h',
464 ],
465 'action': ['python', 'build/action_makenames.py', '<@(_outputs)', '--' , '<@(_inputs)', '--', '--extraDefines', '<(feature_defines)'],
466 'process_outputs_as_sources': 1,
467 },
468 {
469 'action_name': 'XMLNames',
470 'inputs': [
471 '../third_party/WebKit/WebCore/dom/make_names.pl',
472 '../third_party/WebKit/WebCore/xml/xmlattrs.in',
473 ],
474 'outputs': [
475 '<(INTERMEDIATE_DIR)/XMLNames.cpp',
476 '<(INTERMEDIATE_DIR)/XMLNames.h',
477 ],
478 'action': ['python', 'build/action_makenames.py', '<@(_outputs)', '--' , '<@(_inputs)', '--', '--extraDefines', '<(feature_defines)'],
479 'process_outputs_as_sources': 1,
480 },
481 {
482 'action_name': 'tokenizer',
483 'inputs': [
484 '../third_party/WebKit/WebCore/css/maketokenizer',
485 '../third_party/WebKit/WebCore/css/tokenizer.flex',
486 ],
487 'outputs': [
488 '<(INTERMEDIATE_DIR)/tokenizer.cpp',
489 ],
490 'action': ['python', 'build/action_maketokenizer.py', '<@(_outputs)', '--', '<@(_inputs)'],
491 },
492 ],
493 'rules': [
494 # Rules to build derived sources.
495 {
496 'rule_name': 'bison',
497 'extension': 'y',
498 'outputs': [
499 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).cpp',
500 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).h'
501 ],
502 'action': ['python', 'build/rule_bison.py', '<(RULE_INPUT_PATH)', '<(I NTERMEDIATE_DIR)'],
503 'process_outputs_as_sources': 1,
504 },
505 {
506 'rule_name': 'gperf',
507 'extension': 'gperf',
508 # gperf output is only ever #included by other source files. As
509 # such, process_outputs_as_sources is off. Some gperf output is
510 # #included as *.c and some as *.cpp. Since there's no way to tell
511 # which one will be needed in a rule definition, declare both as
512 # outputs. The harness script will generate one file and copy it to
513 # the other.
514 #
515 # This rule places outputs in SHARED_INTERMEDIATE_DIR because glue
516 # needs access to HTMLEntityNames.c.
517 'outputs': [
518 '<(SHARED_INTERMEDIATE_DIR)/webkit/<(RULE_INPUT_ROOT).c',
519 '<(SHARED_INTERMEDIATE_DIR)/webkit/<(RULE_INPUT_ROOT).cpp',
520 ],
521 'action': ['python', 'build/rule_gperf.py', '<(RULE_INPUT_PATH)', '<(S HARED_INTERMEDIATE_DIR)/webkit'],
522 'process_outputs_as_sources': 0,
523 },
524 # Rule to build generated JavaScript (V8) bindings from .idl source.
525 {
526 'rule_name': 'binding',
527 'extension': 'idl',
528 'msvs_external_rule': 1,
529 'inputs': [
530 '../third_party/WebKit/WebCore/bindings/scripts/generate-bindings.pl ',
531 '../third_party/WebKit/WebCore/bindings/scripts/CodeGenerator.pm',
532 '../third_party/WebKit/WebCore/bindings/scripts/CodeGeneratorV8.pm',
533 '../third_party/WebKit/WebCore/bindings/scripts/IDLParser.pm',
534 '../third_party/WebKit/WebCore/bindings/scripts/IDLStructure.pm',
535 ],
536 'outputs': [
537 '<(INTERMEDIATE_DIR)/bindings/V8<(RULE_INPUT_ROOT).cpp',
538 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8<(RULE_INPUT_ROOT).h',
539 ],
540 'variables': {
541 'generator_include_dirs': [
542 '--include', '../third_party/WebKit/WebCore/css',
543 '--include', '../third_party/WebKit/WebCore/dom',
544 '--include', '../third_party/WebKit/WebCore/html',
545 '--include', '../third_party/WebKit/WebCore/page',
546 '--include', '../third_party/WebKit/WebCore/plugins',
547 '--include', '../third_party/WebKit/WebCore/svg',
548 '--include', '../third_party/WebKit/WebCore/workers',
549 '--include', '../third_party/WebKit/WebCore/xml',
550 ],
551 },
552 'action': ['python', 'build/rule_binding.py', '<(RULE_INPUT_PATH)', '< (INTERMEDIATE_DIR)/bindings', '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', '--' , '<@(_inputs)', '--', '--defines', '<(feature_defines) LANGUAGE_JAVASCRIPT V8_B INDING', '--generator', 'V8', '<@(generator_include_dirs)'],
553 # They are included by DerivedSourcesAllInOne.cpp instead.
554 'process_outputs_as_sources': 0,
555 'message': 'Generating binding from <(RULE_INPUT_PATH)',
556 },
557 ],
558 'include_dirs': [
559 '<(INTERMEDIATE_DIR)',
560 '<(SHARED_INTERMEDIATE_DIR)/webkit',
561 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings',
562 '<@(webcore_include_dirs)',
563 ],
564 'sources': [
565 # bison rule
566 '../third_party/WebKit/WebCore/css/CSSGrammar.y',
567 '../third_party/WebKit/WebCore/xml/XPathGrammar.y',
568
569 # gperf rule
570 '../third_party/WebKit/WebCore/html/DocTypeStrings.gperf',
571 '../third_party/WebKit/WebCore/html/HTMLEntityNames.gperf',
572 '../third_party/WebKit/WebCore/platform/ColorData.gperf',
573
574 '<@(webcore_files)',
575
576 # This file includes all the .cpp files generated from the above idl.
577 '../third_party/WebKit/WebCore/bindings/v8/DerivedSourcesAllInOne.cpp',
578
579 'extensions/v8/gc_extension.cc',
580 'extensions/v8/gc_extension.h',
581 'extensions/v8/gears_extension.cc',
582 'extensions/v8/gears_extension.h',
583 'extensions/v8/interval_extension.cc',
584 'extensions/v8/interval_extension.h',
585 'extensions/v8/playback_extension.cc',
586 'extensions/v8/playback_extension.h',
587 'extensions/v8/profiler_extension.cc',
588 'extensions/v8/profiler_extension.h',
589 'extensions/v8/benchmarking_extension.cc',
590 'extensions/v8/benchmarking_extension.h',
591
592 # For WebCoreSystemInterface, Mac-only.
593 '../third_party/WebKit/WebKit/mac/WebCoreSupport/WebSystemInterface.m',
594 ],
595 'sources/': [
596 # Exclude JSC custom bindings.
597 ['exclude', '/third_party/WebKit/WebCore/bindings/js'],
598
599 # SVG_FILTERS only.
600 ['exclude', '/third_party/WebKit/WebCore/svg/SVG(FE|Filter)[^/]*\\.idl$' ],
601
602 # Fortunately, many things can be excluded by using broad patterns.
603
604 # Exclude things that don't apply to the Chromium platform on the basis
605 # of their enclosing directories and tags at the ends of their
606 # filenames.
607 ['exclude', '/(android|cairo|cf|cg|curl|gtk|linux|mac|opentype|posix|qt| soup|symbian|win|wx)/'],
608 ['exclude', '(?<!Chromium)(SVGAllInOne|Android|Cairo|CF|CG|Curl|Gtk|Linu x|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|Wx)\\.(cpp|mm?)$'],
609
610 # JSC-only.
611 ['exclude', '/third_party/WebKit/WebCore/inspector/JavaScript[^/]*\\.cpp $'],
612
613 # ENABLE_OFFLINE_WEB_APPLICATIONS only.
614 ['exclude', '/third_party/WebKit/WebCore/loader/appcache/'],
615
616 # SVG_FILTERS only.
617 ['exclude', '/third_party/WebKit/WebCore/(platform|svg)/graphics/filters /'],
618 ['exclude', '/third_party/WebKit/WebCore/svg/Filter[^/]*\\.cpp$'],
619 ['exclude', '/third_party/WebKit/WebCore/svg/SVG(FE|Filter)[^/]*\\.cpp$' ],
620
621 # Exclude some DB-related files.
622 ['exclude', '/third_party/WebKit/WebCore/platform/sql/SQLiteFileSystem.c pp'],
623 ],
624 'sources!': [
625 # Custom bindings in bindings/v8/custom exist for these.
626 '../third_party/WebKit/WebCore/dom/EventListener.idl',
627 '../third_party/WebKit/WebCore/dom/EventTarget.idl',
628 '../third_party/WebKit/WebCore/html/VoidCallback.idl',
629
630 # JSC-only.
631 '../third_party/WebKit/WebCore/inspector/JavaScriptCallFrame.idl',
632
633 # ENABLE_OFFLINE_WEB_APPLICATIONS only.
634 '../third_party/WebKit/WebCore/loader/appcache/DOMApplicationCache.idl',
635
636 # ENABLE_GEOLOCATION only.
637 '../third_party/WebKit/WebCore/page/Geolocation.idl',
638 '../third_party/WebKit/WebCore/page/Geoposition.idl',
639 '../third_party/WebKit/WebCore/page/PositionCallback.idl',
640 '../third_party/WebKit/WebCore/page/PositionError.idl',
641 '../third_party/WebKit/WebCore/page/PositionErrorCallback.idl',
642
643 # Bindings with custom Objective-C implementations.
644 '../third_party/WebKit/WebCore/page/AbstractView.idl',
645
646 # TODO(mark): I don't know why all of these are excluded.
647 # Extra SVG bindings to exclude.
648 '../third_party/WebKit/WebCore/svg/ElementTimeControl.idl',
649 '../third_party/WebKit/WebCore/svg/SVGAnimatedPathData.idl',
650 '../third_party/WebKit/WebCore/svg/SVGComponentTransferFunctionElement.i dl',
651 '../third_party/WebKit/WebCore/svg/SVGExternalResourcesRequired.idl',
652 '../third_party/WebKit/WebCore/svg/SVGFitToViewBox.idl',
653 '../third_party/WebKit/WebCore/svg/SVGHKernElement.idl',
654 '../third_party/WebKit/WebCore/svg/SVGLangSpace.idl',
655 '../third_party/WebKit/WebCore/svg/SVGLocatable.idl',
656 '../third_party/WebKit/WebCore/svg/SVGStylable.idl',
657 '../third_party/WebKit/WebCore/svg/SVGTests.idl',
658 '../third_party/WebKit/WebCore/svg/SVGTransformable.idl',
659 '../third_party/WebKit/WebCore/svg/SVGViewSpec.idl',
660 '../third_party/WebKit/WebCore/svg/SVGZoomAndPan.idl',
661
662 # TODO(mark): I don't know why these are excluded, either.
663 # Someone (me?) should figure it out and add appropriate comments.
664 '../third_party/WebKit/WebCore/css/CSSUnknownRule.idl',
665
666 # A few things can't be excluded by patterns. List them individually.
667
668 # Don't build StorageNamespace. We have our own implementation.
669 '../third_party/WebKit/WebCore/storage/StorageNamespace.cpp',
670
671 # Use history/BackForwardListChromium.cpp instead.
672 '../third_party/WebKit/WebCore/history/BackForwardList.cpp',
673
674 # Use loader/icon/IconDatabaseNone.cpp instead.
675 '../third_party/WebKit/WebCore/loader/icon/IconDatabase.cpp',
676
677 # Use platform/KURLGoogle.cpp instead.
678 '../third_party/WebKit/WebCore/platform/KURL.cpp',
679
680 # Use platform/MIMETypeRegistryChromium.cpp instead.
681 '../third_party/WebKit/WebCore/platform/MIMETypeRegistry.cpp',
682
683 # USE_NEW_THEME only.
684 '../third_party/WebKit/WebCore/platform/Theme.cpp',
685
686 # Exclude some, but not all, of plugins.
687 '../third_party/WebKit/WebCore/plugins/PluginDatabase.cpp',
688 '../third_party/WebKit/WebCore/plugins/PluginInfoStore.cpp',
689 '../third_party/WebKit/WebCore/plugins/PluginMainThreadScheduler.cpp',
690 '../third_party/WebKit/WebCore/plugins/PluginPackage.cpp',
691 '../third_party/WebKit/WebCore/plugins/PluginStream.cpp',
692 '../third_party/WebKit/WebCore/plugins/PluginView.cpp',
693 '../third_party/WebKit/WebCore/plugins/npapi.cpp',
694
695 # Use LinkHashChromium.cpp instead
696 '../third_party/WebKit/WebCore/platform/LinkHash.cpp',
697
698 # Don't build these.
699 # TODO(mark): I don't know exactly why these are excluded. It would
700 # be nice to provide more explicit comments. Some of these do actually
701 # compile.
702 '../third_party/WebKit/WebCore/dom/StaticStringList.cpp',
703 '../third_party/WebKit/WebCore/loader/icon/IconFetcher.cpp',
704 '../third_party/WebKit/WebCore/loader/UserStyleSheetLoader.cpp',
705 '../third_party/WebKit/WebCore/platform/graphics/GraphicsLayer.cpp',
706 '../third_party/WebKit/WebCore/platform/graphics/RenderLayerBacking.cpp' ,
707 '../third_party/WebKit/WebCore/platform/graphics/RenderLayerCompositor.c pp',
708
709 # We use a multi-process version from the WebKit API.
710 '../third_party/WebKit/WebCore/dom/default/PlatformMessagePortChannel.cp p',
711 '../third_party/WebKit/WebCore/dom/default/PlatformMessagePortChannel.h' ,
712
713 ],
714 'direct_dependent_settings': {
715 'include_dirs': [
716 '<(SHARED_INTERMEDIATE_DIR)/webkit',
717 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings',
718 '<@(webcore_include_dirs)',
719 ],
720 'mac_framework_dirs': [
721 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks',
722 ],
723 },
724 'export_dependent_settings': [
725 'wtf',
726 '../build/temp_gyp/googleurl.gyp:googleurl',
727 '../skia/skia.gyp:skia',
728 '../third_party/npapi/npapi.gyp:npapi',
729 ],
730 'link_settings': {
731 'mac_bundle_resources': [
732 '../third_party/WebKit/WebCore/Resources/aliasCursor.png',
733 '../third_party/WebKit/WebCore/Resources/cellCursor.png',
734 '../third_party/WebKit/WebCore/Resources/contextMenuCursor.png',
735 '../third_party/WebKit/WebCore/Resources/copyCursor.png',
736 '../third_party/WebKit/WebCore/Resources/crossHairCursor.png',
737 '../third_party/WebKit/WebCore/Resources/eastResizeCursor.png',
738 '../third_party/WebKit/WebCore/Resources/eastWestResizeCursor.png',
739 '../third_party/WebKit/WebCore/Resources/helpCursor.png',
740 '../third_party/WebKit/WebCore/Resources/linkCursor.png',
741 '../third_party/WebKit/WebCore/Resources/missingImage.png',
742 '../third_party/WebKit/WebCore/Resources/moveCursor.png',
743 '../third_party/WebKit/WebCore/Resources/noDropCursor.png',
744 '../third_party/WebKit/WebCore/Resources/noneCursor.png',
745 '../third_party/WebKit/WebCore/Resources/northEastResizeCursor.png',
746 '../third_party/WebKit/WebCore/Resources/northEastSouthWestResizeCurso r.png',
747 '../third_party/WebKit/WebCore/Resources/northResizeCursor.png',
748 '../third_party/WebKit/WebCore/Resources/northSouthResizeCursor.png',
749 '../third_party/WebKit/WebCore/Resources/northWestResizeCursor.png',
750 '../third_party/WebKit/WebCore/Resources/northWestSouthEastResizeCurso r.png',
751 '../third_party/WebKit/WebCore/Resources/notAllowedCursor.png',
752 '../third_party/WebKit/WebCore/Resources/progressCursor.png',
753 '../third_party/WebKit/WebCore/Resources/southEastResizeCursor.png',
754 '../third_party/WebKit/WebCore/Resources/southResizeCursor.png',
755 '../third_party/WebKit/WebCore/Resources/southWestResizeCursor.png',
756 '../third_party/WebKit/WebCore/Resources/verticalTextCursor.png',
757 '../third_party/WebKit/WebCore/Resources/waitCursor.png',
758 '../third_party/WebKit/WebCore/Resources/westResizeCursor.png',
759 '../third_party/WebKit/WebCore/Resources/zoomInCursor.png',
760 '../third_party/WebKit/WebCore/Resources/zoomOutCursor.png',
761 ],
762 },
763 'hard_dependency': 1,
764 'mac_framework_dirs': [
765 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram eworks',
766 ],
767 'msvs_disabled_warnings': [
768 4138, 4244, 4291, 4305, 4344, 4355, 4521, 4099,
769 ],
770 'scons_line_length' : 1,
771 'xcode_settings': {
772 # Some Mac-specific parts of WebKit won't compile without having this
773 # prefix header injected.
774 # TODO(mark): make this a first-class setting.
775 'GCC_PREFIX_HEADER': '../third_party/WebKit/WebCore/WebCorePrefix.h',
776 },
777 'conditions': [
778 ['javascript_engine=="v8"', {
779 'dependencies': [
780 '../v8/tools/gyp/v8.gyp:v8',
781 ],
782 'export_dependent_settings': [
783 '../v8/tools/gyp/v8.gyp:v8',
784 ],
785 }],
786 ['OS=="linux"', {
787 'dependencies': [
788 '../build/linux/system.gyp:fontconfig',
789 '../build/linux/system.gyp:gtk',
790 ],
791 'sources': [
792 '../third_party/WebKit/WebCore/platform/graphics/chromium/VDMXParser .cpp',
793 '../third_party/WebKit/WebCore/platform/graphics/chromium/HarfbuzzSk ia.cpp',
794 ],
795 'sources!': [
796 # Not yet ported to Linux.
797 '../third_party/WebKit/WebCore/platform/graphics/chromium/FontCustom PlatformData.cpp',
798 ],
799 'sources/': [
800 # Cherry-pick files excluded by the broader regular expressions abov e.
801 ['include', 'third_party/WebKit/WebCore/platform/chromium/KeyCodeCon versionGtk\\.cpp$'],
802 ['include', 'third_party/WebKit/WebCore/platform/graphics/chromium/F ontCacheLinux\\.cpp$'],
803 ['include', 'third_party/WebKit/WebCore/platform/graphics/chromium/F ontLinux\\.cpp$'],
804 ['include', 'third_party/WebKit/WebCore/platform/graphics/chromium/F ontPlatformDataLinux\\.cpp$'],
805 ['include', 'third_party/WebKit/WebCore/platform/graphics/chromium/G lyphPageTreeNodeLinux\\.cpp$'],
806 ['include', 'third_party/WebKit/WebCore/platform/graphics/chromium/S impleFontDataLinux\\.cpp$'],
807 ],
808 'cflags': [
809 # -Wno-multichar for:
810 # .../WebCore/platform/image-decoders/bmp/BMPImageDecoder.cpp
811 '-Wno-multichar',
812 # WebCore does not work with strict aliasing enabled.
813 # https://bugs.webkit.org/show_bug.cgi?id=25864
814 '-fno-strict-aliasing',
815 ],
816 }],
817 ['OS=="mac"', {
818 'actions': [
819 {
820 # Allow framework-style #include of
821 # <WebCore/WebCoreSystemInterface.h>.
822 'action_name': 'WebCoreSystemInterface.h',
823 'inputs': [
824 '../third_party/WebKit/WebCore/platform/mac/WebCoreSystemInterfa ce.h',
825 ],
826 'outputs': [
827 '<(INTERMEDIATE_DIR)/WebCore/WebCoreSystemInterface.h',
828 ],
829 'action': ['cp', '<@(_inputs)', '<@(_outputs)'],
830 },
831 ],
832 'include_dirs': [
833 '../third_party/WebKit/WebKitLibraries',
834 ],
835 'sources/': [
836 # Additional files from the WebCore Mac build that are presently
837 # used in the WebCore Chromium Mac build too.
838
839 # The Mac build is PLATFORM_CF but does not use CFNetwork.
840 ['include', 'CF\\.cpp$'],
841 ['exclude', '/network/cf/'],
842
843 # The Mac build is PLATFORM_CG too. platform/graphics/cg is the
844 # only place that CG files we want to build are located, and not
845 # all of them even have a CG suffix, so just add them by a
846 # regexp matching their directory.
847 ['include', '/platform/graphics/cg/[^/]*(?<!Win)?\\.(cpp|mm?)$'],
848
849 # Use native Mac font code from WebCore.
850 ['include', '/platform/(graphics/)?mac/[^/]*Font[^/]*\\.(cpp|mm?)$'] ,
851
852 # Cherry-pick some files that can't be included by broader regexps.
853 # Some of these are used instead of Chromium platform files, see
854 # the specific exclusions in the "sources!" list below.
855 ['include', '/third_party/WebKit/WebCore/loader/archive/cf/LegacyWeb Archive\\.cpp$'],
856 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Color Mac\\.mm$'],
857 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Glyph PageTreeNodeMac\\.cpp$'],
858 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Graph icsContextMac\\.mm$'],
859 ['include', '/third_party/WebKit/WebCore/platform/mac/BlockException s\\.mm$'],
860 ['include', '/third_party/WebKit/WebCore/platform/mac/LocalCurrentGr aphicsContext\\.mm$'],
861 ['include', '/third_party/WebKit/WebCore/platform/mac/PurgeableBuffe rMac\\.cpp$'],
862 ['include', '/third_party/WebKit/WebCore/platform/mac/ScrollbarTheme Mac\\.mm$'],
863 ['include', '/third_party/WebKit/WebCore/platform/mac/WebCoreSystemI nterface\\.mm$'],
864 ['include', '/third_party/WebKit/WebCore/platform/mac/WebCoreTextRen derer\\.mm$'],
865 ['include', '/third_party/WebKit/WebCore/platform/text/mac/ShapeArab ic\\.c$'],
866 ['include', '/third_party/WebKit/WebCore/platform/text/mac/String(Im pl)?Mac\\.mm$'],
867
868 ['include', '/third_party/WebKit/WebKit/mac/WebCoreSupport/WebSystem Interface\\.m$'],
869 ],
870 'sources!': [
871 # The Mac currently uses FontCustomPlatformData.cpp from
872 # platform/graphics/mac, included by regex above, instead.
873 '../third_party/WebKit/WebCore/platform/graphics/chromium/FontCustom PlatformData.cpp',
874
875 # The Mac currently uses ScrollbarThemeMac.mm, included by regex
876 # above, instead of ScrollbarThemeChromium.cpp.
877 '../third_party/WebKit/WebCore/platform/chromium/ScrollbarThemeChrom ium.cpp',
878
879 # These Skia files aren't currently built on the Mac, which uses
880 # CoreGraphics directly for this portion of graphics handling.
881 '../third_party/WebKit/WebCore/platform/graphics/skia/FloatPointSkia .cpp',
882 '../third_party/WebKit/WebCore/platform/graphics/skia/FloatRectSkia. cpp',
883 '../third_party/WebKit/WebCore/platform/graphics/skia/GradientSkia.c pp',
884 '../third_party/WebKit/WebCore/platform/graphics/skia/GraphicsContex tSkia.cpp',
885 '../third_party/WebKit/WebCore/platform/graphics/skia/ImageBufferSki a.cpp',
886 '../third_party/WebKit/WebCore/platform/graphics/skia/ImageSkia.cpp' ,
887 '../third_party/WebKit/WebCore/platform/graphics/skia/ImageSourceSki a.cpp',
888 '../third_party/WebKit/WebCore/platform/graphics/skia/IntPointSkia.c pp',
889 '../third_party/WebKit/WebCore/platform/graphics/skia/IntRectSkia.cp p',
890 '../third_party/WebKit/WebCore/platform/graphics/skia/PathSkia.cpp',
891 '../third_party/WebKit/WebCore/platform/graphics/skia/PatternSkia.cp p',
892 '../third_party/WebKit/WebCore/platform/graphics/skia/Transformation MatrixSkia.cpp',
893
894 # RenderThemeChromiumSkia is not used on mac since RenderThemeChromi umMac
895 # does not reference the Skia code that is used by Windows and Linux .
896 '../third_party/WebKit/WebCore/rendering/RenderThemeChromiumSkia.cpp ',
897
898 # Skia image-decoders are also not used on mac. CoreGraphics
899 # is used directly instead.
900 '../third_party/WebKit/WebCore/platform/image-decoders/ImageDecoder. h',
901 '../third_party/WebKit/WebCore/platform/image-decoders/bmp/BMPImageD ecoder.cpp',
902 '../third_party/WebKit/WebCore/platform/image-decoders/bmp/BMPImageD ecoder.h',
903 '../third_party/WebKit/WebCore/platform/image-decoders/bmp/BMPImageR eader.cpp',
904 '../third_party/WebKit/WebCore/platform/image-decoders/bmp/BMPImageR eader.h',
905 '../third_party/WebKit/WebCore/platform/image-decoders/gif/GIFImageD ecoder.cpp',
906 '../third_party/WebKit/WebCore/platform/image-decoders/gif/GIFImageD ecoder.h',
907 '../third_party/WebKit/WebCore/platform/image-decoders/gif/GIFImageR eader.cpp',
908 '../third_party/WebKit/WebCore/platform/image-decoders/gif/GIFImageR eader.h',
909 '../third_party/WebKit/WebCore/platform/image-decoders/ico/ICOImageD ecoder.cpp',
910 '../third_party/WebKit/WebCore/platform/image-decoders/ico/ICOImageD ecoder.h',
911 '../third_party/WebKit/WebCore/platform/image-decoders/jpeg/JPEGImag eDecoder.cpp',
912 '../third_party/WebKit/WebCore/platform/image-decoders/jpeg/JPEGImag eDecoder.h',
913 '../third_party/WebKit/WebCore/platform/image-decoders/png/PNGImageD ecoder.cpp',
914 '../third_party/WebKit/WebCore/platform/image-decoders/png/PNGImageD ecoder.h',
915 '../third_party/WebKit/WebCore/platform/image-decoders/skia/ImageDec oderSkia.cpp',
916 '../third_party/WebKit/WebCore/platform/image-decoders/xbm/XBMImageD ecoder.cpp',
917 '../third_party/WebKit/WebCore/platform/image-decoders/xbm/XBMImageD ecoder.h',
918 ],
919 'link_settings': {
920 'libraries': [
921 '../third_party/WebKit/WebKitLibraries/libWebKitSystemInterfaceLeo pard.a',
922 ],
923 },
924 'direct_dependent_settings': {
925 'include_dirs': [
926 '../third_party/WebKit/WebKitLibraries',
927 '../third_party/WebKit/WebKit/mac/WebCoreSupport',
928 ],
929 },
930 }],
931 ['OS=="win"', {
932 'dependencies': ['../build/win/system.gyp:cygwin'],
933 'sources/': [
934 ['exclude', 'Posix\\.cpp$'],
935 ['include', '/opentype/'],
936 ['include', '/TransparencyWin\\.cpp$'],
937 ['include', '/SkiaFontWin\\.cpp$'],
938 ],
939 'defines': [
940 '__PRETTY_FUNCTION__=__FUNCTION__',
941 'DISABLE_ACTIVEX_TYPE_CONVERSION_MPLAYER2',
942 ],
943 # This is needed because Event.h in this directory is blocked
944 # by a system header on windows.
945 'include_dirs++': ['../third_party/WebKit/WebCore/dom'],
946 'direct_dependent_settings': {
947 'include_dirs+++': ['../third_party/WebKit/WebCore/dom'],
948 },
949 }],
950 ['OS!="linux"', {'sources/': [['exclude', '(Gtk|Linux)\\.cpp$']]}],
951 ['OS!="mac"', {'sources/': [['exclude', 'Mac\\.(cpp|mm?)$']]}],
952 ['OS!="win"', {
953 'sources/': [
954 ['exclude', 'Win\\.cpp$'],
955 ['exclude', '/(Windows|Uniscribe)[^/]*\\.cpp$']
956 ],
957 }],
958 ],
959 },
960 {
961 'target_name': 'webkit',
962 'type': '<(library)',
963 'msvs_guid': '5ECEC9E5-8F23-47B6-93E0-C3B328B3BE65',
964 'dependencies': [
965 'webcore',
966 ],
967 'include_dirs': [
968 'api/public',
969 'api/src',
970 ],
971 'defines': [
972 'WEBKIT_IMPLEMENTATION',
973 ],
974 'sources': [
975 'api/public/gtk/WebInputEventFactory.h',
976 'api/public/linux/WebFontRendering.h',
977 'api/public/x11/WebScreenInfoFactory.h',
978 'api/public/mac/WebInputEventFactory.h',
979 'api/public/mac/WebScreenInfoFactory.h',
980 'api/public/WebBindings.h',
981 'api/public/WebCache.h',
982 'api/public/WebCanvas.h',
983 'api/public/WebClipboard.h',
984 'api/public/WebColor.h',
985 'api/public/WebCommon.h',
986 'api/public/WebCompositionCommand.h',
987 'api/public/WebConsoleMessage.h',
988 'api/public/WebCString.h',
989 'api/public/WebCursorInfo.h',
990 'api/public/WebData.h',
991 'api/public/WebDataSource.h',
992 'api/public/WebDragData.h',
993 'api/public/WebFindOptions.h',
994 'api/public/WebForm.h',
995 'api/public/WebHistoryItem.h',
996 'api/public/WebHTTPBody.h',
997 'api/public/WebImage.h',
998 'api/public/WebInputEvent.h',
999 'api/public/WebKit.h',
1000 'api/public/WebKitClient.h',
1001 'api/public/WebLocalizedString.h',
1002 'api/public/WebMediaPlayer.h',
1003 'api/public/WebMediaPlayerClient.h',
1004 'api/public/WebMessagePortChannel.h',
1005 'api/public/WebMessagePortChannelClient.h',
1006 'api/public/WebMimeRegistry.h',
1007 'api/public/WebNavigationType.h',
1008 'api/public/WebNode.h',
1009 'api/public/WebNonCopyable.h',
1010 'api/public/WebPluginListBuilder.h',
1011 'api/public/WebPoint.h',
1012 'api/public/WebPopupMenu.h',
1013 'api/public/WebPopupMenuInfo.h',
1014 'api/public/WebRect.h',
1015 'api/public/WebScreenInfo.h',
1016 'api/public/WebScriptSource.h',
1017 'api/public/WebSize.h',
1018 'api/public/WebStorageArea.h',
1019 'api/public/WebStorageNamespace.h',
1020 'api/public/WebString.h',
1021 'api/public/WebTextDirection.h',
1022 'api/public/WebURL.h',
1023 'api/public/WebURLError.h',
1024 'api/public/WebURLLoader.h',
1025 'api/public/WebURLLoaderClient.h',
1026 'api/public/WebURLRequest.h',
1027 'api/public/WebURLResponse.h',
1028 'api/public/WebVector.h',
1029 'api/public/WebWidget.h',
1030 'api/public/WebWidgetClient.h',
1031 'api/public/WebWorker.h',
1032 'api/public/WebWorkerClient.h',
1033 'api/public/win/WebInputEventFactory.h',
1034 'api/public/win/WebSandboxSupport.h',
1035 'api/public/win/WebScreenInfoFactory.h',
1036 'api/public/win/WebScreenInfoFactory.h',
1037 'api/src/ChromiumBridge.cpp',
1038 'api/src/ChromiumCurrentTime.cpp',
1039 'api/src/ChromiumThreading.cpp',
1040 'api/src/gtk/WebFontInfo.cpp',
1041 'api/src/gtk/WebFontInfo.h',
1042 'api/src/gtk/WebInputEventFactory.cpp',
1043 'api/src/linux/WebFontRendering.cpp',
1044 'api/src/x11/WebScreenInfoFactory.cpp',
1045 'api/src/mac/WebInputEventFactory.mm',
1046 'api/src/mac/WebScreenInfoFactory.mm',
1047 'api/src/LocalizedStrings.cpp',
1048 'api/src/MediaPlayerPrivateChromium.cpp',
1049 'api/src/PlatformMessagePortChannel.cpp',
1050 'api/src/PlatformMessagePortChannel.h',
1051 'api/src/ResourceHandle.cpp',
1052 'api/src/StorageAreaProxy.cpp',
1053 'api/src/StorageAreaProxy.h',
1054 'api/src/StorageNamespaceProxy.cpp',
1055 'api/src/StorageNamespaceProxy.h',
1056 'api/src/TemporaryGlue.h',
1057 'api/src/WebBindings.cpp',
1058 'api/src/WebCache.cpp',
1059 'api/src/WebCString.cpp',
1060 'api/src/WebCursorInfo.cpp',
1061 'api/src/WebData.cpp',
1062 'api/src/WebDragData.cpp',
1063 'api/src/WebForm.cpp',
1064 'api/src/WebHistoryItem.cpp',
1065 'api/src/WebHTTPBody.cpp',
1066 'api/src/WebImageCG.cpp',
1067 'api/src/WebImageSkia.cpp',
1068 'api/src/WebInputEvent.cpp',
1069 'api/src/WebKit.cpp',
1070 'api/src/WebMediaPlayerClientImpl.cpp',
1071 'api/src/WebMediaPlayerClientImpl.h',
1072 'api/src/WebNode.cpp',
1073 'api/src/WebPluginListBuilderImpl.cpp',
1074 'api/src/WebPluginListBuilderImpl.h',
1075 'api/src/WebStorageAreaImpl.cpp',
1076 'api/src/WebStorageAreaImpl.h',
1077 'api/src/WebStorageNamespaceImpl.cpp',
1078 'api/src/WebStorageNamespaceImpl.h',
1079 'api/src/WebString.cpp',
1080 'api/src/WebURL.cpp',
1081 'api/src/WebURLRequest.cpp',
1082 'api/src/WebURLRequestPrivate.h',
1083 'api/src/WebURLResponse.cpp',
1084 'api/src/WebURLResponsePrivate.h',
1085 'api/src/WebURLError.cpp',
1086 'api/src/WrappedResourceRequest.h',
1087 'api/src/WrappedResourceResponse.h',
1088 'api/src/win/WebInputEventFactory.cpp',
1089 'api/src/win/WebScreenInfoFactory.cpp',
1090 ],
1091 'conditions': [
1092 ['OS=="linux"', {
1093 'dependencies': [
1094 '../build/linux/system.gyp:x11',
1095 '../build/linux/system.gyp:gtk',
1096 ],
1097 'include_dirs': [
1098 'api/public/x11',
1099 'api/public/gtk',
1100 'api/public/linux',
1101 ],
1102 }, { # else: OS!="linux"
1103 'sources/': [
1104 ['exclude', '/gtk/'],
1105 ['exclude', '/x11/'],
1106 ['exclude', '/linux/'],
1107 ],
1108 }],
1109 ['OS=="mac"', {
1110 'include_dirs': [
1111 'api/public/mac',
1112 ],
1113 'sources/': [
1114 ['exclude', 'Skia\\.cpp$'],
1115 ],
1116 }, { # else: OS!="mac"
1117 'sources/': [
1118 ['exclude', '/mac/'],
1119 ['exclude', 'CG\\.cpp$'],
1120 ],
1121 }],
1122 ['OS=="win"', {
1123 'include_dirs': [
1124 'api/public/win',
1125 ],
1126 }, { # else: OS!="win"
1127 'sources/': [['exclude', '/win/']],
1128 }],
1129 ],
1130 },
1131 {
1132 'target_name': 'webkit_resources',
1133 'type': 'none',
1134 'msvs_guid': '0B469837-3D46-484A-AFB3-C5A6C68730B9',
1135 'variables': {
1136 'grit_path': '../tools/grit/grit.py',
1137 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit',
1138 },
1139 'actions': [
1140 {
1141 'action_name': 'webkit_resources',
1142 'variables': {
1143 'input_path': 'glue/webkit_resources.grd',
1144 },
1145 'inputs': [
1146 '<(input_path)',
1147 ],
1148 'outputs': [
1149 '<(grit_out_dir)/grit/webkit_resources.h',
1150 '<(grit_out_dir)/webkit_resources.pak',
1151 '<(grit_out_dir)/webkit_resources.rc',
1152 ],
1153 'action': ['python', '<(grit_path)', '-i', '<(input_path)', 'build', ' -o', '<(grit_out_dir)'],
1154 'message': 'Generating resources from <(input_path)',
1155 },
1156 ],
1157 'direct_dependent_settings': {
1158 'include_dirs': [
1159 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1160 ],
1161 },
1162 'conditions': [
1163 ['OS=="win"', {
1164 'dependencies': ['../build/win/system.gyp:cygwin'],
1165 }],
1166 ],
1167 },
1168 {
1169 'target_name': 'webkit_strings',
1170 'type': 'none',
1171 'msvs_guid': '60B43839-95E6-4526-A661-209F16335E0E',
1172 'variables': {
1173 'grit_path': '../tools/grit/grit.py',
1174 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit',
1175 },
1176 'actions': [
1177 {
1178 'action_name': 'webkit_strings',
1179 'variables': {
1180 'input_path': 'glue/webkit_strings.grd',
1181 },
1182 'inputs': [
1183 '<(input_path)',
1184 ],
1185 'outputs': [
1186 '<(grit_out_dir)/grit/webkit_strings.h',
1187 '<(grit_out_dir)/webkit_strings_da.pak',
1188 '<(grit_out_dir)/webkit_strings_da.rc',
1189 '<(grit_out_dir)/webkit_strings_en-US.pak',
1190 '<(grit_out_dir)/webkit_strings_en-US.rc',
1191 '<(grit_out_dir)/webkit_strings_he.pak',
1192 '<(grit_out_dir)/webkit_strings_he.rc',
1193 '<(grit_out_dir)/webkit_strings_zh-TW.pak',
1194 '<(grit_out_dir)/webkit_strings_zh-TW.rc',
1195 ],
1196 'action': ['python', '<(grit_path)', '-i', '<(input_path)', 'build', ' -o', '<(grit_out_dir)'],
1197 'message': 'Generating resources from <(input_path)',
1198 },
1199 ],
1200 'direct_dependent_settings': {
1201 'include_dirs': [
1202 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1203 ],
1204 },
1205 'conditions': [
1206 ['OS=="win"', {
1207 'dependencies': ['../build/win/system.gyp:cygwin'],
1208 }],
1209 ],
1210 },
1211 {
1212 'target_name': 'glue',
1213 'type': '<(library)',
1214 'msvs_guid': 'C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09',
1215 'dependencies': [
1216 '../net/net.gyp:net',
1217 'inspector_resources',
1218 'webcore',
1219 'webkit',
1220 'webkit_resources',
1221 'webkit_strings',
1222 ],
1223 'actions': [
1224 {
1225 'action_name': 'webkit_version',
1226 'inputs': [
1227 'build/webkit_version.py',
1228 '../third_party/WebKit/WebCore/Configurations/Version.xcconfig',
1229 ],
1230 'outputs': [
1231 '<(INTERMEDIATE_DIR)/webkit_version.h',
1232 ],
1233 'action': ['python', '<@(_inputs)', '<(INTERMEDIATE_DIR)'],
1234 },
1235 ],
1236 'include_dirs': [
1237 '<(INTERMEDIATE_DIR)',
1238 '<(SHARED_INTERMEDIATE_DIR)/webkit',
1239 ],
1240 'sources': [
1241 # This list contains all .h, .cc, and .mm files in glue except for
1242 # those in the test subdirectory and those with unittest in in their
1243 # names.
1244 'glue/devtools/devtools_rpc.cc',
1245 'glue/devtools/devtools_rpc.h',
1246 'glue/devtools/devtools_rpc_js.h',
1247 'glue/devtools/bound_object.cc',
1248 'glue/devtools/bound_object.h',
1249 'glue/devtools/debugger_agent.h',
1250 'glue/devtools/debugger_agent_impl.cc',
1251 'glue/devtools/debugger_agent_impl.h',
1252 'glue/devtools/debugger_agent_manager.cc',
1253 'glue/devtools/debugger_agent_manager.h',
1254 'glue/devtools/dom_agent.h',
1255 'glue/devtools/dom_agent_impl.cc',
1256 'glue/devtools/dom_agent_impl.h',
1257 'glue/devtools/tools_agent.h',
1258 'glue/media/buffered_data_source.cc',
1259 'glue/media/buffered_data_source.h',
1260 'glue/media/media_resource_loader_bridge_factory.cc',
1261 'glue/media/media_resource_loader_bridge_factory.h',
1262 'glue/media/simple_data_source.cc',
1263 'glue/media/simple_data_source.h',
1264 'glue/media/video_renderer_impl.cc',
1265 'glue/media/video_renderer_impl.h',
1266 'glue/plugins/mozilla_extensions.cc',
1267 'glue/plugins/mozilla_extensions.h',
1268 'glue/plugins/nphostapi.h',
1269 'glue/plugins/gtk_plugin_container.h',
1270 'glue/plugins/gtk_plugin_container.cc',
1271 'glue/plugins/gtk_plugin_container_manager.h',
1272 'glue/plugins/gtk_plugin_container_manager.cc',
1273 'glue/plugins/plugin_constants_win.h',
1274 'glue/plugins/plugin_host.cc',
1275 'glue/plugins/plugin_host.h',
1276 'glue/plugins/plugin_instance.cc',
1277 'glue/plugins/plugin_instance.h',
1278 'glue/plugins/plugin_lib.cc',
1279 'glue/plugins/plugin_lib.h',
1280 'glue/plugins/plugin_lib_linux.cc',
1281 'glue/plugins/plugin_lib_mac.mm',
1282 'glue/plugins/plugin_lib_win.cc',
1283 'glue/plugins/plugin_list.cc',
1284 'glue/plugins/plugin_list.h',
1285 'glue/plugins/plugin_list_linux.cc',
1286 'glue/plugins/plugin_list_mac.mm',
1287 'glue/plugins/plugin_list_win.cc',
1288 'glue/plugins/plugin_stream.cc',
1289 'glue/plugins/plugin_stream.h',
1290 'glue/plugins/plugin_stream_posix.cc',
1291 'glue/plugins/plugin_stream_url.cc',
1292 'glue/plugins/plugin_stream_url.h',
1293 'glue/plugins/plugin_stream_win.cc',
1294 'glue/plugins/plugin_string_stream.cc',
1295 'glue/plugins/plugin_string_stream.h',
1296 'glue/plugins/plugin_stubs.cc',
1297 'glue/plugins/webplugin_delegate_impl.cc',
1298 'glue/plugins/webplugin_delegate_impl.h',
1299 'glue/plugins/webplugin_delegate_impl_gtk.cc',
1300 'glue/plugins/webplugin_delegate_impl_mac.mm',
1301 'glue/alt_error_page_resource_fetcher.cc',
1302 'glue/alt_error_page_resource_fetcher.h',
1303 'glue/autofill_form.cc',
1304 'glue/autofill_form.h',
1305 'glue/back_forward_list_client_impl.cc',
1306 'glue/back_forward_list_client_impl.h',
1307 'glue/chrome_client_impl.cc',
1308 'glue/chrome_client_impl.h',
1309 'glue/chromium_bridge_impl.cc',
1310 'glue/context_menu.h',
1311 'glue/context_menu_client_impl.cc',
1312 'glue/context_menu_client_impl.h',
1313 'glue/cpp_binding_example.cc',
1314 'glue/cpp_binding_example.h',
1315 'glue/cpp_bound_class.cc',
1316 'glue/cpp_bound_class.h',
1317 'glue/cpp_variant.cc',
1318 'glue/cpp_variant.h',
1319 'glue/dom_operations.cc',
1320 'glue/dom_operations.h',
1321 'glue/dom_operations_private.h',
1322 'glue/dom_serializer.cc',
1323 'glue/dom_serializer.h',
1324 'glue/dom_serializer_delegate.h',
1325 'glue/dragclient_impl.cc',
1326 'glue/dragclient_impl.h',
1327 'glue/editor_client_impl.cc',
1328 'glue/editor_client_impl.h',
1329 'glue/entity_map.cc',
1330 'glue/entity_map.h',
1331 'glue/event_conversion.cc',
1332 'glue/event_conversion.h',
1333 'glue/feed_preview.cc',
1334 'glue/feed_preview.h',
1335 'glue/form_data.h',
1336 'glue/glue_accessibility_object.cc',
1337 'glue/glue_accessibility_object.h',
1338 'glue/glue_serialize.cc',
1339 'glue/glue_serialize.h',
1340 'glue/glue_util.cc',
1341 'glue/glue_util.h',
1342 'glue/image_decoder.cc',
1343 'glue/image_decoder.h',
1344 'glue/image_resource_fetcher.cc',
1345 'glue/image_resource_fetcher.h',
1346 'glue/inspector_client_impl.cc',
1347 'glue/inspector_client_impl.h',
1348 'glue/multipart_response_delegate.cc',
1349 'glue/multipart_response_delegate.h',
1350 'glue/npruntime_util.cc',
1351 'glue/npruntime_util.h',
1352 'glue/password_autocomplete_listener.cc',
1353 'glue/password_autocomplete_listener.h',
1354 'glue/password_form.h',
1355 'glue/password_form_dom_manager.cc',
1356 'glue/password_form_dom_manager.h',
1357 'glue/resource_fetcher.cc',
1358 'glue/resource_fetcher.h',
1359 'glue/resource_loader_bridge.cc',
1360 'glue/resource_loader_bridge.h',
1361 'glue/resource_type.h',
1362 'glue/scoped_clipboard_writer_glue.h',
1363 'glue/searchable_form_data.cc',
1364 'glue/searchable_form_data.h',
1365 'glue/simple_webmimeregistry_impl.cc',
1366 'glue/simple_webmimeregistry_impl.h',
1367 'glue/stacking_order_iterator.cc',
1368 'glue/stacking_order_iterator.h',
1369 'glue/temporary_glue.cc',
1370 'glue/webaccessibility.h',
1371 'glue/webaccessibilitymanager.h',
1372 'glue/webaccessibilitymanager_impl.cc',
1373 'glue/webaccessibilitymanager_impl.h',
1374 'glue/webappcachecontext.cc',
1375 'glue/webappcachecontext.h',
1376 'glue/webclipboard_impl.cc',
1377 'glue/webclipboard_impl.h',
1378 'glue/webcursor.cc',
1379 'glue/webcursor.h',
1380 'glue/webcursor_gtk.cc',
1381 'glue/webcursor_gtk_data.h',
1382 'glue/webcursor_mac.mm',
1383 'glue/webcursor_win.cc',
1384 'glue/webdatasource_impl.cc',
1385 'glue/webdatasource_impl.h',
1386 'glue/webdevtoolsagent.h',
1387 'glue/webdevtoolsagent_delegate.h',
1388 'glue/webdevtoolsagent_impl.cc',
1389 'glue/webdevtoolsagent_impl.h',
1390 'glue/webdevtoolsclient.h',
1391 'glue/webdevtoolsclient_delegate.h',
1392 'glue/webdevtoolsclient_impl.cc',
1393 'glue/webdevtoolsclient_impl.h',
1394 'glue/webdropdata.cc',
1395 'glue/webdropdata_win.cc',
1396 'glue/webdropdata.h',
1397 'glue/webframe.h',
1398 'glue/webframe_impl.cc',
1399 'glue/webframe_impl.h',
1400 'glue/webframeloaderclient_impl.cc',
1401 'glue/webframeloaderclient_impl.h',
1402 'glue/webkit_glue.cc',
1403 'glue/webkit_glue.h',
1404 'glue/webkitclient_impl.cc',
1405 'glue/webkitclient_impl.h',
1406 'glue/webmediaplayer_impl.h',
1407 'glue/webmediaplayer_impl.cc',
1408 'glue/webmenuitem.h',
1409 'glue/webmenurunner_mac.h',
1410 'glue/webmenurunner_mac.mm',
1411 'glue/webplugin.h',
1412 'glue/webplugin_delegate.cc',
1413 'glue/webplugin_delegate.h',
1414 'glue/webplugin_impl.cc',
1415 'glue/webplugin_impl.h',
1416 'glue/webplugininfo.h',
1417 'glue/webpopupmenu_impl.cc',
1418 'glue/webpopupmenu_impl.h',
1419 'glue/webpreferences.h',
1420 'glue/webtextinput.h',
1421 'glue/webtextinput_impl.cc',
1422 'glue/webtextinput_impl.h',
1423 'glue/webthemeengine_impl_win.cc',
1424 'glue/weburlloader_impl.cc',
1425 'glue/weburlloader_impl.h',
1426 'glue/webview.h',
1427 'glue/webview_delegate.h',
1428 'glue/webview_impl.cc',
1429 'glue/webview_impl.h',
1430 'glue/webworker_impl.cc',
1431 'glue/webworker_impl.h',
1432 'glue/webworkerclient_impl.cc',
1433 'glue/webworkerclient_impl.h',
1434 'glue/window_open_disposition.h',
1435 'glue/window_open_disposition.cc',
1436 ],
1437 # When glue is a dependency, it needs to be a hard dependency.
1438 # Dependents may rely on files generated by this target or one of its
1439 # own hard dependencies.
1440 'hard_dependency': 1,
1441 'export_dependent_settings': [
1442 'webcore',
1443 ],
1444 'conditions': [
1445 ['OS=="linux"', {
1446 'dependencies': [
1447 '../build/linux/system.gyp:gtk',
1448 '../base/base.gyp:linux_versioninfo',
1449 ],
1450 'export_dependent_settings': [
1451 # Users of webcursor.h need the GTK include path.
1452 '../build/linux/system.gyp:gtk',
1453 ],
1454 'sources!': [
1455 'glue/plugins/plugin_stubs.cc',
1456 ],
1457 }, { # else: OS!="linux"
1458 'sources/': [['exclude', '_(linux|gtk)(_data)?\\.cc$'],
1459 ['exclude', r'/gtk_']],
1460 }],
1461 ['OS!="mac"', {
1462 'sources/': [['exclude', '_mac\\.(cc|mm)$']]
1463 }],
1464 ['OS!="win"', {
1465 'sources/': [['exclude', '_win\\.cc$']],
1466 'sources!': [
1467 # TODO(port): Mac uses webplugin_delegate_impl_mac.cc and GTK uses
1468 # webplugin_delegate_impl_gtk.cc. Seems like this should be
1469 # renamed webplugin_delegate_impl_win.cc, then we could get rid
1470 # of the explicit exclude.
1471 'glue/plugins/webplugin_delegate_impl.cc',
1472
1473 # These files are Windows-only now but may be ported to other
1474 # platforms.
1475 'glue/glue_accessibility_object.cc',
1476 'glue/glue_accessibility_object.h',
1477 'glue/plugins/mozilla_extensions.cc',
1478 'glue/plugins/webplugin_delegate_impl.cc',
1479 'glue/webaccessibility.h',
1480 'glue/webaccessibilitymanager.h',
1481 'glue/webaccessibilitymanager_impl.cc',
1482 'glue/webaccessibilitymanager_impl.cc',
1483 'glue/webaccessibilitymanager_impl.h',
1484 'glue/webthemeengine_impl_win.cc',
1485 ],
1486 }, { # else: OS=="win"
1487 'sources/': [['exclude', '_posix\\.cc$']],
1488 'dependencies': [
1489 '../build/win/system.gyp:cygwin',
1490 'activex_shim/activex_shim.gyp:activex_shim',
1491 'default_plugin/default_plugin.gyp:default_plugin',
1492 ],
1493 'sources!': [
1494 'glue/plugins/plugin_stubs.cc',
1495 ],
1496 }],
1497 ],
1498 },
1499 {
1500 'target_name': 'inspector_resources',
1501 'type': 'none',
1502 'msvs_guid': '5330F8EE-00F5-D65C-166E-E3150171055D',
1503 'copies': [
1504 {
1505 'destination': '<(PRODUCT_DIR)/resources/inspector',
1506 'files': [
1507 'glue/devtools/js/base.js',
1508 'glue/devtools/js/debugger_agent.js',
1509 'glue/devtools/js/devtools.css',
1510 'glue/devtools/js/devtools.html',
1511 'glue/devtools/js/devtools.js',
1512 'glue/devtools/js/devtools_callback.js',
1513 'glue/devtools/js/devtools_host_stub.js',
1514 'glue/devtools/js/dom_agent.js',
1515 'glue/devtools/js/inject.js',
1516 'glue/devtools/js/inspector_controller.js',
1517 'glue/devtools/js/inspector_controller_impl.js',
1518 'glue/devtools/js/profiler_processor.js',
1519 'glue/devtools/js/tests.js',
1520 '../third_party/WebKit/WebCore/inspector/front-end/BottomUpProfileDa taGridTree.js',
1521 '../third_party/WebKit/WebCore/inspector/front-end/Breakpoint.js',
1522 '../third_party/WebKit/WebCore/inspector/front-end/BreakpointsSideba rPane.js',
1523 '../third_party/WebKit/WebCore/inspector/front-end/CallStackSidebarP ane.js',
1524 '../third_party/WebKit/WebCore/inspector/front-end/ConsoleView.js',
1525 '../third_party/WebKit/WebCore/inspector/front-end/ChangesView.js',
1526 '../third_party/WebKit/WebCore/inspector/front-end/Database.js',
1527 '../third_party/WebKit/WebCore/inspector/front-end/DatabaseQueryView .js',
1528 '../third_party/WebKit/WebCore/inspector/front-end/DatabasesPanel.js ',
1529 '../third_party/WebKit/WebCore/inspector/front-end/DatabaseTableView .js',
1530 '../third_party/WebKit/WebCore/inspector/front-end/DataGrid.js',
1531 '../third_party/WebKit/WebCore/inspector/front-end/Drawer.js',
1532 '../third_party/WebKit/WebCore/inspector/front-end/ElementsPanel.js' ,
1533 '../third_party/WebKit/WebCore/inspector/front-end/ElementsTreeOutli ne.js',
1534 '../third_party/WebKit/WebCore/inspector/front-end/FontView.js',
1535 '../third_party/WebKit/WebCore/inspector/front-end/ImageView.js',
1536 '../third_party/WebKit/WebCore/inspector/front-end/inspector.css',
1537 '../third_party/WebKit/WebCore/inspector/front-end/inspector.html',
1538 '../third_party/WebKit/WebCore/inspector/front-end/inspector.js',
1539 '../third_party/WebKit/WebCore/inspector/front-end/KeyboardShortcut. js',
1540 '../third_party/WebKit/WebCore/inspector/front-end/MetricsSidebarPan e.js',
1541 '../third_party/WebKit/WebCore/inspector/front-end/Object.js',
1542 '../third_party/WebKit/WebCore/inspector/front-end/ObjectPropertiesS ection.js',
1543 '../third_party/WebKit/WebCore/inspector/front-end/Panel.js',
1544 '../third_party/WebKit/WebCore/inspector/front-end/PanelEnablerView. js',
1545 '../third_party/WebKit/WebCore/inspector/front-end/Placard.js',
1546 '../third_party/WebKit/WebCore/inspector/front-end/ProfilesPanel.js' ,
1547 '../third_party/WebKit/WebCore/inspector/front-end/ProfileDataGridTr ee.js',
1548 '../third_party/WebKit/WebCore/inspector/front-end/ProfileView.js',
1549 '../third_party/WebKit/WebCore/inspector/front-end/PropertiesSection .js',
1550 '../third_party/WebKit/WebCore/inspector/front-end/PropertiesSidebar Pane.js',
1551 '../third_party/WebKit/WebCore/inspector/front-end/Resource.js',
1552 '../third_party/WebKit/WebCore/inspector/front-end/ResourceCategory. js',
1553 '../third_party/WebKit/WebCore/inspector/front-end/ResourcesPanel.js ',
1554 '../third_party/WebKit/WebCore/inspector/front-end/ResourceView.js',
1555 '../third_party/WebKit/WebCore/inspector/front-end/ScopeChainSidebar Pane.js',
1556 '../third_party/WebKit/WebCore/inspector/front-end/Script.js',
1557 '../third_party/WebKit/WebCore/inspector/front-end/ScriptsPanel.js',
1558 '../third_party/WebKit/WebCore/inspector/front-end/ScriptView.js',
1559 '../third_party/WebKit/WebCore/inspector/front-end/SidebarPane.js',
1560 '../third_party/WebKit/WebCore/inspector/front-end/SidebarTreeElemen t.js',
1561 '../third_party/WebKit/WebCore/inspector/front-end/SourceFrame.js',
1562 '../third_party/WebKit/WebCore/inspector/front-end/SourceView.js',
1563 '../third_party/WebKit/WebCore/inspector/front-end/StylesSidebarPane .js',
1564 '../third_party/WebKit/WebCore/inspector/front-end/TextPrompt.js',
1565 '../third_party/WebKit/WebCore/inspector/front-end/TopDownProfileDat aGridTree.js',
1566 '../third_party/WebKit/WebCore/inspector/front-end/treeoutline.js',
1567 '../third_party/WebKit/WebCore/inspector/front-end/utilities.js',
1568 '../third_party/WebKit/WebCore/inspector/front-end/View.js',
1569 '../v8/tools/codemap.js',
1570 '../v8/tools/consarray.js',
1571 '../v8/tools/csvparser.js',
1572 '../v8/tools/logreader.js',
1573 '../v8/tools/profile.js',
1574 '../v8/tools/profile_view.js',
1575 '../v8/tools/splaytree.js',
1576 ],
1577 },
1578 {
1579 'destination': '<(PRODUCT_DIR)/resources/inspector/Images',
1580 'files': [
1581 '../third_party/WebKit/WebCore/inspector/front-end/Images/back.png',
1582 '../third_party/WebKit/WebCore/inspector/front-end/Images/checker.pn g',
1583 '../third_party/WebKit/WebCore/inspector/front-end/Images/clearConso leButtons.png',
1584 '../third_party/WebKit/WebCore/inspector/front-end/Images/closeButto ns.png',
1585 '../third_party/WebKit/WebCore/inspector/front-end/Images/consoleBut tons.png',
1586 '../third_party/WebKit/WebCore/inspector/front-end/Images/database.p ng',
1587 '../third_party/WebKit/WebCore/inspector/front-end/Images/databasesI con.png',
1588 '../third_party/WebKit/WebCore/inspector/front-end/Images/databaseTa ble.png',
1589 '../third_party/WebKit/WebCore/inspector/front-end/Images/debuggerCo ntinue.png',
1590 '../third_party/WebKit/WebCore/inspector/front-end/Images/debuggerPa use.png',
1591 '../third_party/WebKit/WebCore/inspector/front-end/Images/debuggerSt epInto.png',
1592 '../third_party/WebKit/WebCore/inspector/front-end/Images/debuggerSt epOut.png',
1593 '../third_party/WebKit/WebCore/inspector/front-end/Images/debuggerSt epOver.png',
1594 '../third_party/WebKit/WebCore/inspector/front-end/Images/disclosure TriangleSmallDown.png',
1595 '../third_party/WebKit/WebCore/inspector/front-end/Images/disclosure TriangleSmallDownBlack.png',
1596 '../third_party/WebKit/WebCore/inspector/front-end/Images/disclosure TriangleSmallDownWhite.png',
1597 '../third_party/WebKit/WebCore/inspector/front-end/Images/disclosure TriangleSmallRight.png',
1598 '../third_party/WebKit/WebCore/inspector/front-end/Images/disclosure TriangleSmallRightBlack.png',
1599 '../third_party/WebKit/WebCore/inspector/front-end/Images/disclosure TriangleSmallRightDown.png',
1600 '../third_party/WebKit/WebCore/inspector/front-end/Images/disclosure TriangleSmallRightDownBlack.png',
1601 '../third_party/WebKit/WebCore/inspector/front-end/Images/disclosure TriangleSmallRightDownWhite.png',
1602 '../third_party/WebKit/WebCore/inspector/front-end/Images/disclosure TriangleSmallRightWhite.png',
1603 '../third_party/WebKit/WebCore/inspector/front-end/Images/dockButton s.png',
1604 '../third_party/WebKit/WebCore/inspector/front-end/Images/elementsIc on.png',
1605 '../third_party/WebKit/WebCore/inspector/front-end/Images/enableButt ons.png',
1606 '../third_party/WebKit/WebCore/inspector/front-end/Images/errorIcon. png',
1607 '../third_party/WebKit/WebCore/inspector/front-end/Images/errorMediu mIcon.png',
1608 '../third_party/WebKit/WebCore/inspector/front-end/Images/excludeBut tons.png',
1609 '../third_party/WebKit/WebCore/inspector/front-end/Images/focusButto ns.png',
1610 '../third_party/WebKit/WebCore/inspector/front-end/Images/forward.pn g',
1611 '../third_party/WebKit/WebCore/inspector/front-end/Images/glossyHead er.png',
1612 '../third_party/WebKit/WebCore/inspector/front-end/Images/glossyHead erPressed.png',
1613 '../third_party/WebKit/WebCore/inspector/front-end/Images/glossyHead erSelected.png',
1614 '../third_party/WebKit/WebCore/inspector/front-end/Images/glossyHead erSelectedPressed.png',
1615 '../third_party/WebKit/WebCore/inspector/front-end/Images/goArrow.pn g',
1616 '../third_party/WebKit/WebCore/inspector/front-end/Images/graphLabel CalloutLeft.png',
1617 '../third_party/WebKit/WebCore/inspector/front-end/Images/graphLabel CalloutRight.png',
1618 '../third_party/WebKit/WebCore/inspector/front-end/Images/largerReso urcesButtons.png',
1619 '../third_party/WebKit/WebCore/inspector/front-end/Images/nodeSearch Buttons.png',
1620 '../third_party/WebKit/WebCore/inspector/front-end/Images/paneBottom Grow.png',
1621 '../third_party/WebKit/WebCore/inspector/front-end/Images/paneBottom GrowActive.png',
1622 '../third_party/WebKit/WebCore/inspector/front-end/Images/paneGrowHa ndleLine.png',
1623 '../third_party/WebKit/WebCore/inspector/front-end/Images/pauseOnExc eptionButtons.png',
1624 '../third_party/WebKit/WebCore/inspector/front-end/Images/percentBut tons.png',
1625 '../third_party/WebKit/WebCore/inspector/front-end/Images/profileGro upIcon.png',
1626 '../third_party/WebKit/WebCore/inspector/front-end/Images/profileIco n.png',
1627 '../third_party/WebKit/WebCore/inspector/front-end/Images/profilesIc on.png',
1628 '../third_party/WebKit/WebCore/inspector/front-end/Images/profileSma llIcon.png',
1629 '../third_party/WebKit/WebCore/inspector/front-end/Images/profilesSi lhouette.png',
1630 '../third_party/WebKit/WebCore/inspector/front-end/Images/radioDot.p ng',
1631 '../third_party/WebKit/WebCore/inspector/front-end/Images/recordButt ons.png',
1632 '../third_party/WebKit/WebCore/inspector/front-end/Images/reloadButt ons.png',
1633 '../third_party/WebKit/WebCore/inspector/front-end/Images/resourceCS SIcon.png',
1634 '../third_party/WebKit/WebCore/inspector/front-end/Images/resourceDo cumentIcon.png',
1635 '../third_party/WebKit/WebCore/inspector/front-end/Images/resourceDo cumentIconSmall.png',
1636 '../third_party/WebKit/WebCore/inspector/front-end/Images/resourceJS Icon.png',
1637 '../third_party/WebKit/WebCore/inspector/front-end/Images/resourcePl ainIcon.png',
1638 '../third_party/WebKit/WebCore/inspector/front-end/Images/resourcePl ainIconSmall.png',
1639 '../third_party/WebKit/WebCore/inspector/front-end/Images/resourcesI con.png',
1640 '../third_party/WebKit/WebCore/inspector/front-end/Images/resourcesS ilhouette.png',
1641 '../third_party/WebKit/WebCore/inspector/front-end/Images/resourcesS izeGraphIcon.png',
1642 '../third_party/WebKit/WebCore/inspector/front-end/Images/resourcesT imeGraphIcon.png',
1643 '../third_party/WebKit/WebCore/inspector/front-end/Images/scriptsIco n.png',
1644 '../third_party/WebKit/WebCore/inspector/front-end/Images/scriptsSil houette.png',
1645 '../third_party/WebKit/WebCore/inspector/front-end/Images/searchSmal lBlue.png',
1646 '../third_party/WebKit/WebCore/inspector/front-end/Images/searchSmal lBrightBlue.png',
1647 '../third_party/WebKit/WebCore/inspector/front-end/Images/searchSmal lGray.png',
1648 '../third_party/WebKit/WebCore/inspector/front-end/Images/searchSmal lWhite.png',
1649 '../third_party/WebKit/WebCore/inspector/front-end/Images/segment.pn g',
1650 '../third_party/WebKit/WebCore/inspector/front-end/Images/segmentEnd .png',
1651 '../third_party/WebKit/WebCore/inspector/front-end/Images/segmentHov er.png',
1652 '../third_party/WebKit/WebCore/inspector/front-end/Images/segmentHov erEnd.png',
1653 '../third_party/WebKit/WebCore/inspector/front-end/Images/segmentSel ected.png',
1654 '../third_party/WebKit/WebCore/inspector/front-end/Images/segmentSel ectedEnd.png',
1655 '../third_party/WebKit/WebCore/inspector/front-end/Images/splitviewD imple.png',
1656 '../third_party/WebKit/WebCore/inspector/front-end/Images/splitviewD ividerBackground.png',
1657 '../third_party/WebKit/WebCore/inspector/front-end/Images/statusbarB ackground.png',
1658 '../third_party/WebKit/WebCore/inspector/front-end/Images/statusbarB ottomBackground.png',
1659 '../third_party/WebKit/WebCore/inspector/front-end/Images/statusbarB uttons.png',
1660 '../third_party/WebKit/WebCore/inspector/front-end/Images/statusbarM enuButton.png',
1661 '../third_party/WebKit/WebCore/inspector/front-end/Images/statusbarM enuButtonSelected.png',
1662 '../third_party/WebKit/WebCore/inspector/front-end/Images/statusbarR esizerHorizontal.png',
1663 '../third_party/WebKit/WebCore/inspector/front-end/Images/statusbarR esizerVertical.png',
1664 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelineHo llowPillBlue.png',
1665 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelineHo llowPillGray.png',
1666 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelineHo llowPillGreen.png',
1667 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelineHo llowPillOrange.png',
1668 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelineHo llowPillPurple.png',
1669 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelineHo llowPillRed.png',
1670 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelineHo llowPillYellow.png',
1671 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelinePi llBlue.png',
1672 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelinePi llGray.png',
1673 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelinePi llGreen.png',
1674 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelinePi llOrange.png',
1675 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelinePi llPurple.png',
1676 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelinePi llRed.png',
1677 '../third_party/WebKit/WebCore/inspector/front-end/Images/timelinePi llYellow.png',
1678 '../third_party/WebKit/WebCore/inspector/front-end/Images/tipBalloon .png',
1679 '../third_party/WebKit/WebCore/inspector/front-end/Images/tipBalloon Bottom.png',
1680 '../third_party/WebKit/WebCore/inspector/front-end/Images/tipIcon.pn g',
1681 '../third_party/WebKit/WebCore/inspector/front-end/Images/tipIconPre ssed.png',
1682 '../third_party/WebKit/WebCore/inspector/front-end/Images/toolbarIte mSelected.png',
1683 '../third_party/WebKit/WebCore/inspector/front-end/Images/treeDownTr iangleBlack.png',
1684 '../third_party/WebKit/WebCore/inspector/front-end/Images/treeDownTr iangleWhite.png',
1685 '../third_party/WebKit/WebCore/inspector/front-end/Images/treeRightT riangleBlack.png',
1686 '../third_party/WebKit/WebCore/inspector/front-end/Images/treeRightT riangleWhite.png',
1687 '../third_party/WebKit/WebCore/inspector/front-end/Images/treeUpTria ngleBlack.png',
1688 '../third_party/WebKit/WebCore/inspector/front-end/Images/treeUpTria ngleWhite.png',
1689 '../third_party/WebKit/WebCore/inspector/front-end/Images/userInputI con.png',
1690 '../third_party/WebKit/WebCore/inspector/front-end/Images/userInputP reviousIcon.png',
1691 '../third_party/WebKit/WebCore/inspector/front-end/Images/warningIco n.png',
1692 '../third_party/WebKit/WebCore/inspector/front-end/Images/warningMed iumIcon.png',
1693 '../third_party/WebKit/WebCore/inspector/front-end/Images/warningsEr rors.png',
1694 ],
1695 },
1696 ],
1697 },
1698 ],
1699 }
OLDNEW
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698