2 # Copyright (C) 2009 Google Inc. All rights reserved.
3 # Copyright (C) 2013 Igalia S.L.
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are
9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer.
11 # * Redistributions in binary form must reproduce the above
12 # copyright notice, this list of conditions and the following disclaimer
13 # in the documentation and/or other materials provided with the
15 # * Neither the name of Google Inc. nor the names of its
16 # contributors may be used to endorse or promote products derived from
17 # this software without specific prior written permission.
19 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 'cflags' : [ '<@(global_cflags)', ],
38 'defines': [ '<@(global_defines)' ],
43 'Platform': '../../Platform',
45 'Dependencies': '<(Source)/WebKit/gtk/gyp/Dependencies.gyp',
46 'webcoregtk_include_dirs': [
47 '<(WebCore)/accessibility/atk',
48 '<(WebCore)/bindings/js',
49 '<(WebCore)/bridge/jsc',
50 '<(WebCore)/bridge/c',
51 '<(WebCore)/loader/gtk',
52 '<(WebCore)/page/gtk',
53 '<(WebCore)/platform/animation',
54 '<(WebCore)/platform/audio/gstreamer',
55 '<(WebCore)/platform/cairo',
56 '<(WebCore)/platform/geoclue',
57 '<(WebCore)/platform/graphics/cairo',
58 '<(WebCore)/platform/graphics/egl',
59 '<(WebCore)/platform/graphics/freetype',
60 '<(WebCore)/platform/graphics/glx',
61 '<(WebCore)/platform/graphics/gstreamer',
62 '<(WebCore)/platform/graphics/gtk',
63 '<(WebCore)/platform/graphics/harfbuzz',
64 '<(WebCore)/platform/graphics/harfbuzz',
65 '<(WebCore)/platform/graphics/harfbuzz/ng',
66 '<(WebCore)/platform/graphics/harfbuzz/ng',
67 '<(WebCore)/platform/graphics/opengl',
68 '<(WebCore)/platform/gtk',
69 '<(WebCore)/platform/linux',
70 '<(WebCore)/platform/network/gtk',
71 '<(WebCore)/platform/network/soup',
72 '<(WebCore)/platform/text/enchant',
73 '<(WebCore)/plugins/win',
75 '<@(webcore_include_dirs)',
76 '<(SHARED_INTERMEDIATE_DIR)/WebCore',
77 '<(SHARED_INTERMEDIATE_DIR)/WebCore/bindings',
80 'bindings_idl_files': [
81 '<@(webcore_bindings_idl_files)',
84 'webcoregtk_test_support_idl_files': [
85 '<(WebCore)/testing/Internals.idl',
86 '<(WebCore)/testing/InternalSettings.idl',
87 '<(WebCore)/testing/MallocStatistics.idl',
88 '<(WebCore)/testing/TypeConversions.idl',
89 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InternalSettingsGenerated.idl',
92 'excluded_directories_pattern': '(android|chromium|ca|cf|cg|curl|efl|linux|mac|openvg|opentype|posix|qt|skia|iphone|win|wince|wx)/',
93 'excluded_files_suffixes': '(Android|CF|CG|Curl|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Skia|Win|WinCE|Wx|V8)\\.(cpp|mm?)$',
94 'excluded_files_patterns': '.*(Chromium|Android).*',
100 'target_name': 'WebCoreDependencies',
103 '<(Dependencies):cairo',
104 '<(Dependencies):freetype',
105 '<(Dependencies):gail',
106 '<(Dependencies):glib',
107 '<(Dependencies):gstreamer',
108 '<(Dependencies):gtk',
109 '<(Dependencies):icu',
110 '<(Dependencies):libsoup',
111 '<(Dependencies):libsecret',
112 '<(Source)/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCoreGTK.gyp:libjavascriptcoregtk',
113 '<(Source)/WTF/WTF.gyp/WTFGTK.gyp:wtf',
114 '<(Source)/ThirdParty/ANGLE/ANGLE.gyp/ANGLE.gyp:angle',
115 'WebCoreBindingsSources',
117 'export_dependent_settings': [
118 '<(Dependencies):cairo',
119 '<(Dependencies):freetype',
120 '<(Dependencies):gail',
121 '<(Dependencies):glib',
122 '<(Dependencies):gstreamer',
123 '<(Dependencies):gtk',
124 '<(Dependencies):icu',
125 '<(Dependencies):libsoup',
126 '<(Dependencies):libsecret',
127 '<(Source)/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCoreGTK.gyp:libjavascriptcoregtk',
128 '<(Source)/WTF/WTF.gyp/WTFGTK.gyp:wtf',
129 '<(Source)/ThirdParty/ANGLE/ANGLE.gyp/ANGLE.gyp:angle',
133 'target_name': 'InspectorProtocolSources',
136 'InspectorProtocolVersion'
140 'action_name': 'GenerateInspectorProtocolSources',
142 # First input. It stands for python script in action below.
143 '<(WebCore)/inspector/CodeGeneratorInspector.py',
144 # Other inputs. They go as arguments to the python script.
145 '<(WebCore)/inspector/Inspector.json',
148 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InspectorBackendDispatcher.cpp',
149 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InspectorBackendDispatcher.h',
150 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InspectorFrontend.cpp',
151 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InspectorFrontend.h',
152 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InspectorTypeBuilder.cpp',
153 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InspectorTypeBuilder.h',
154 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InspectorBackendCommands.js',
157 'generator_include_dirs': [
163 '--output_h_dir', '<(SHARED_INTERMEDIATE_DIR)/WebCore',
165 # The relative path here is to work around a quirk of gyp that removes duplicate command-line arguments.
166 # See http://crbug.com/146682.
167 '--output_cpp_dir', '<(SHARED_INTERMEDIATE_DIR)/WebCore/../WebCore',
169 'message': 'Generating Inspector protocol sources from Inspector.json',
174 'target_name': 'InspectorProtocolVersion',
178 'action_name': 'GenerateInspectorProtocolVersion',
180 '<(WebCore)/inspector/generate-inspector-protocol-version',
181 '<(WebCore)/inspector/Inspector.json',
184 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InspectorProtocolVersion.h',
187 'generator_include_dirs': [
192 '<(WebCore)/inspector/generate-inspector-protocol-version',
195 '<(WebCore)/inspector/Inspector.json',
197 'message': 'Validate inspector protocol for backwards compatibility and generate version file',
202 'target_name': 'InjectedScriptSource',
205 'input_file_path': '<(WebCore)/inspector/InjectedScriptSource.js',
206 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/WebCore/InjectedScriptSource.h',
207 'character_array_name': 'InjectedScriptSource_js',
209 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ],
212 'target_name': 'InjectedScriptCanvasModuleSource',
215 'input_file_path': '<(WebCore)/inspector/InjectedScriptCanvasModuleSource.js',
216 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/WebCore/InjectedScriptCanvasModuleSource.h',
217 'character_array_name': 'InjectedScriptCanvasModuleSource_js',
219 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ],
222 'target_name': 'InspectorOverlayPage',
225 'input_file_path': '<(WebCore)/inspector/InspectorOverlayPage.html',
226 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/WebCore/InspectorOverlayPage.h',
227 'character_array_name': 'InspectorOverlayPage_html',
229 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ],
232 'target_name': 'SupplementalDependencies',
236 'action_name': 'GenerateSupplementalDependency',
238 # Write sources into a file, so that the action command line won't
240 'idl_files_list': '<|(idl_files_list.tmp <@(bindings_idl_files))',
243 'idl_files_list': '<|(idl_files_list.tmp <@(bindings_idl_files) <@(webcore_svg_bindings_idl_files))',
248 '<(WebCore)/bindings/scripts/preprocess-idls.pl',
250 '<!@(cat <(idl_files_list))',
253 '<(SHARED_INTERMEDIATE_DIR)/WebCore/supplemental_dependency.tmp',
258 '-I<(WebCore)/bindings/scripts',
259 '<(WebCore)/bindings/scripts/preprocess-idls.pl',
261 '<(feature_defines) LANGUAGE_JAVASCRIPT',
264 '--supplementalDependencyFile',
265 '<(SHARED_INTERMEDIATE_DIR)/WebCore/supplemental_dependency.tmp',
267 'message': 'Resolving [Supplemental=XXX] dependencies in all IDL files',
272 'target_name': 'Settings',
276 'action_name': 'GenerateSettings',
278 '<(WebCore)/page/make_settings.pl',
279 '<(WebCore)/page/Settings.in',
282 '<(SHARED_INTERMEDIATE_DIR)/WebCore/SettingsMacros.h',
283 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InternalSettingsGenerated.idl',
284 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InternalSettingsGenerated.cpp',
285 '<(SHARED_INTERMEDIATE_DIR)/WebCore/InternalSettingsGenerated.h',
289 'scripts/action_makenames.py',
298 'target_name': 'HTMLNames',
301 'make_names_inputs': [
302 '<(WebCore)/html/HTMLTagNames.in',
303 '<(WebCore)/html/HTMLAttributeNames.in',
305 'make_names_outputs': [
306 '<(SHARED_INTERMEDIATE_DIR)/WebCore/HTMLNames.cpp',
307 '<(SHARED_INTERMEDIATE_DIR)/WebCore/HTMLNames.h',
308 '<(SHARED_INTERMEDIATE_DIR)/WebCore/HTMLElementFactory.cpp',
309 '<(SHARED_INTERMEDIATE_DIR)/WebCore/bindings/JSHTMLElementWrapperFactory.cpp',
310 '<(SHARED_INTERMEDIATE_DIR)/WebCore/bindings/JSHTMLElementWrapperFactory.h',
312 'make_names_extra_arguments': [ '--factory', '--wrapperFactory' ],
314 'includes': [ 'MakeNames.gypi' ],
317 'target_name': 'WebKitFontFamilyNames',
320 'make_names_inputs': [ '<(WebCore)/css/WebKitFontFamilyNames.in', ],
321 'make_names_outputs': [
322 '<(SHARED_INTERMEDIATE_DIR)/WebCore/WebKitFontFamilyNames.cpp',
323 '<(SHARED_INTERMEDIATE_DIR)/WebCore/WebKitFontFamilyNames.h',
325 'make_names_extra_arguments': [ '--fonts' ],
327 'includes': [ 'MakeNames.gypi' ],
330 'target_name': 'SVGNames',
333 'make_names_inputs': [
334 '<(WebCore)/svg/svgtags.in',
335 '<(WebCore)/svg/svgattrs.in',
337 'make_names_outputs': [
338 '<(SHARED_INTERMEDIATE_DIR)/WebCore/SVGNames.cpp',
339 '<(SHARED_INTERMEDIATE_DIR)/WebCore/SVGNames.h',
340 '<(SHARED_INTERMEDIATE_DIR)/WebCore/SVGElementFactory.cpp',
341 '<(SHARED_INTERMEDIATE_DIR)/WebCore/SVGElementFactory.h',
342 '<(SHARED_INTERMEDIATE_DIR)/WebCore/JSSVGElementWrapperFactory.cpp',
343 '<(SHARED_INTERMEDIATE_DIR)/WebCore/JSSVGElementWrapperFactory.h',
345 'make_names_extra_arguments': [ '--factory', '--wrapperFactory' ],
347 'includes': [ 'MakeNames.gypi' ],
350 'target_name': 'MathMLNames',
353 'make_names_inputs': [
354 '<(WebCore)/mathml/mathtags.in',
355 '<(WebCore)/mathml/mathattrs.in',
357 'make_names_outputs': [
358 '<(SHARED_INTERMEDIATE_DIR)/WebCore/MathMLNames.cpp',
359 '<(SHARED_INTERMEDIATE_DIR)/WebCore/MathMLNames.h',
360 '<(SHARED_INTERMEDIATE_DIR)/WebCore/MathMLElementFactory.cpp',
361 '<(SHARED_INTERMEDIATE_DIR)/WebCore/MathMLElementFactory.h',
363 'make_names_extra_arguments': [ '--factory', ],
365 'includes': [ 'MakeNames.gypi' ],
368 'target_name': 'XLinkNames',
371 'make_names_inputs': [ '<(WebCore)/svg/xlinkattrs.in', ],
372 'make_names_outputs': [
373 '<(SHARED_INTERMEDIATE_DIR)/WebCore/XLinkNames.cpp',
374 '<(SHARED_INTERMEDIATE_DIR)/WebCore/XLinkNames.h',
376 'make_names_extra_arguments': [ '--factory', ],
378 'includes': [ 'MakeNames.gypi' ],
381 'target_name': 'XMLNSNames',
384 'make_names_inputs': [ '<(WebCore)/xml/xmlnsattrs.in', ],
385 'make_names_outputs': [
386 '<(SHARED_INTERMEDIATE_DIR)/WebCore/XMLNSNames.cpp',
387 '<(SHARED_INTERMEDIATE_DIR)/WebCore/XMLNSNames.h',
389 'make_names_extra_arguments': [ ],
391 'includes': [ 'MakeNames.gypi' ],
394 'target_name': 'XMLNames',
397 'make_names_inputs': [ '<(WebCore)/xml/xmlattrs.in', ],
398 'make_names_outputs': [
399 '<(SHARED_INTERMEDIATE_DIR)/WebCore/XMLNames.cpp',
400 '<(SHARED_INTERMEDIATE_DIR)/WebCore/XMLNames.h',
402 'make_names_extra_arguments': [ ],
404 'includes': [ 'MakeNames.gypi' ],
407 'target_name': 'XMLViewerCSS',
410 'input_file_path': '<(WebCore)/xml/XMLViewer.css',
411 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/WebCore/XMLViewerCSS.h',
412 'character_array_name': 'XMLViewer_css',
414 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ],
417 'target_name': 'XMLViewerJS',
420 'input_file_path': '<(WebCore)/xml/XMLViewer.js',
421 'output_file_path': '<(SHARED_INTERMEDIATE_DIR)/WebCore/XMLViewerJS.h',
422 'character_array_name': 'XMLViewer_js',
424 'includes': [ 'ConvertFileToHeaderWithCharacterArray.gypi' ],
427 'target_name': 'WebCoreBindingsSources',
429 'hard_dependency': 1,
439 'WebKitFontFamilyNames',
440 'SupplementalDependencies',
445 '<(SHARED_INTERMEDIATE_DIR)/WebCore/CSSGrammar.y',
446 '<(WebCore)/xml/XPathGrammar.y',
449 '<(WebCore)/platform/ColorData.gperf',
452 '<@(bindings_idl_files)',
453 '<@(webcoregtk_test_support_idl_files)',
456 # Custom bindings in bindings/js exist for these.
457 '<(WebCore)/dom/EventListener.idl',
459 # Bindings with custom Objective-C implementations.
460 '<(WebCore)/page/AbstractView.idl',
462 # These bindings are excluded, as they're only used through inheritance
463 # and don't define constants that would need a constructor.
464 '<(WebCore)/svg/ElementTimeControl.idl',
465 '<(WebCore)/svg/SVGExternalResourcesRequired.idl',
466 '<(WebCore)/svg/SVGFilterPrimitiveStandardAttributes.idl',
467 '<(WebCore)/svg/SVGFitToViewBox.idl',
468 '<(WebCore)/svg/SVGLangSpace.idl',
469 '<(WebCore)/svg/SVGLocatable.idl',
470 '<(WebCore)/svg/SVGTests.idl',
471 '<(WebCore)/svg/SVGTransformable.idl',
473 '<(WebCore)/css/CSSUnknownRule.idl',
478 'sources': [ '<@(webcore_svg_bindings_idl_files)', ],
483 'action_name': 'GenerateHTMLEntityTable',
485 '<(WebCore)/html/parser/create-html-entity-table',
486 '<(WebCore)/html/parser/HTMLEntityNames.in',
489 '<(SHARED_INTERMEDIATE_DIR)/WebCore/HTMLEntityTable.cpp'
493 '<(WebCore)/html/parser/create-html-entity-table',
496 '<(WebCore)/html/parser/HTMLEntityNames.in',
500 'action_name': 'GenerateCSSPropertyNames',
502 '<(WebCore)/css/makeprop.pl',
503 '<(WebCore)/css/CSSPropertyNames.in',
506 '<(SHARED_INTERMEDIATE_DIR)/WebCore/CSSPropertyNames.cpp',
507 '<(SHARED_INTERMEDIATE_DIR)/WebCore/CSSPropertyNames.h',
511 'scripts/action_csspropertynames.py',
514 '--defines', '<(feature_defines)',
519 # TODO(maruel): Move it in its own project or generate it anyway?
522 '<(WebCore)/css/SVGCSSPropertyNames.in',
528 'action_name': 'GenerateCSSValueKeywords',
530 '<(WebCore)/css/makevalues.pl',
531 '<(WebCore)/css/CSSValueKeywords.in',
534 '<(SHARED_INTERMEDIATE_DIR)/WebCore/CSSValueKeywords.cpp',
535 '<(SHARED_INTERMEDIATE_DIR)/WebCore/CSSValueKeywords.h',
539 'scripts/action_cssvaluekeywords.py',
542 '--defines', '<(feature_defines)',
547 # TODO(maruel): Move it in its own project or generate it anyway?
550 '<(WebCore)/css/SVGCSSValueKeywords.in',
556 'action_name': 'GenerateEventFactory',
558 '<(WebCore)/dom/make_event_factory.pl',
559 '<(WebCore)/dom/EventNames.in',
562 '<(SHARED_INTERMEDIATE_DIR)/WebCore/EventFactory.cpp',
563 '<(SHARED_INTERMEDIATE_DIR)/WebCore/EventHeaders.h',
564 '<(SHARED_INTERMEDIATE_DIR)/WebCore/EventInterfaces.h',
568 'scripts/action_makenames.py',
575 'action_name': 'GenreateEventTargetFactory',
577 '<(WebCore)/dom/make_event_factory.pl',
578 '<(WebCore)/dom/EventTargetFactory.in',
581 '<(SHARED_INTERMEDIATE_DIR)/WebCore/EventTargetHeaders.h',
582 '<(SHARED_INTERMEDIATE_DIR)/WebCore/EventTargetInterfaces.h',
586 'scripts/action_makenames.py',
593 'action_name': 'GenerateExceptionCodeDescription',
595 '<(WebCore)/dom/make_dom_exceptions.pl',
596 '<(WebCore)/dom/DOMExceptions.in',
599 '<(SHARED_INTERMEDIATE_DIR)/WebCore/ExceptionCodeDescription.cpp',
600 '<(SHARED_INTERMEDIATE_DIR)/WebCore/ExceptionCodeDescription.h',
601 '<(SHARED_INTERMEDIATE_DIR)/WebCore/ExceptionHeaders.h',
602 '<(SHARED_INTERMEDIATE_DIR)/WebCore/ExceptionInterfaces.h',
606 'scripts/action_makenames.py',
613 'action_name': 'GeneateUserAgentStyleSheets',
616 '<(WebCore)/css/make-css-file-arrays.pl',
617 '<(WebCore)/bindings/scripts/preprocessor.pm',
620 '<(WebCore)/css/html.css',
621 '<(WebCore)/css/mathml.css',
622 '<(WebCore)/css/quirks.css',
623 '<(WebCore)/css/view-source.css',
624 '<(WebCore)/css/svg.css',
625 '<(WebCore)/css/mediaControls.css',
626 '<(WebCore)/css/mediaControlsGtk.css',
627 '<(WebCore)/css/fullscreen.css',
628 '<(WebCore)/css/plugIns.css',
629 # Skip fullscreenQuickTime.
637 '<(SHARED_INTERMEDIATE_DIR)/WebCore/UserAgentStyleSheets.h',
638 '<(SHARED_INTERMEDIATE_DIR)/WebCore/UserAgentStyleSheetsData.cpp',
642 'scripts/action_useragentstylesheets.py',
648 '--defines', '<(feature_defines)',
652 'action_name': 'PreprocessGrammar',
654 '<(WebCore)/css/CSSGrammar.y.in',
655 '<(WebCore)/css/CSSGrammar.y.includes',
658 '<(SHARED_INTERMEDIATE_DIR)/WebCore/CSSGrammar.y',
663 '<(WebCore)/bindings/scripts',
664 '<(WebCore)/css/makegrammar.pl',
666 '<(SHARED_INTERMEDIATE_DIR)/WebCore',
668 '<(feature_defines)',
676 # Rules to build derived sources.
678 'rule_name': 'Bison',
681 '<(SHARED_INTERMEDIATE_DIR)/WebCore/<(RULE_INPUT_ROOT).cpp',
682 '<(SHARED_INTERMEDIATE_DIR)/WebCore/<(RULE_INPUT_ROOT).h'
686 'scripts/rule_bison.py',
687 '<(RULE_INPUT_PATH)',
688 '<(SHARED_INTERMEDIATE_DIR)/WebCore',
693 'rule_name': 'GPerf',
694 'extension': 'gperf',
696 # gperf outputs are generated by WebCore/make-hash-tools.pl
699 '<(SHARED_INTERMEDIATE_DIR)/WebCore/<(RULE_INPUT_ROOT).cpp',
702 '<(WebCore)/make-hash-tools.pl',
706 '<(WebCore)/make-hash-tools.pl',
707 '<(SHARED_INTERMEDIATE_DIR)/WebCore',
708 '<(RULE_INPUT_PATH)',
711 # Rule to build generated JavaScript (JSC) bindings from .idl source.
713 'rule_name': 'DOMBindings',
716 '<(WebCore)/bindings/scripts/generate-bindings.pl',
717 '<(WebCore)/bindings/scripts/CodeGenerator.pm',
718 '<(WebCore)/bindings/scripts/CodeGeneratorJS.pm',
719 '<(WebCore)/bindings/scripts/IDLParser.pm',
720 '<(WebCore)/bindings/scripts/IDLAttributes.txt',
721 '<(WebCore)/bindings/scripts/preprocessor.pm',
722 '<!@pymod_do_main(supplemental_idl_files <@(bindings_idl_files))',
725 '<(SHARED_INTERMEDIATE_DIR)/WebCore/bindings/JS<(RULE_INPUT_ROOT).cpp',
726 '<(SHARED_INTERMEDIATE_DIR)/WebCore/bindings/JS<(RULE_INPUT_ROOT).h',
729 'generator_include_dirs': [
730 '--include', '<(WebCore)/Modules/filesystem',
731 '--include', '<(WebCore)/Modules/indexeddb',
732 '--include', '<(WebCore)/Modules/mediasource',
733 '--include', '<(WebCore)/Modules/mediastream',
734 '--include', '<(WebCore)/Modules/navigatorcontentutils',
735 '--include', '<(WebCore)/Modules/notifications',
736 '--include', '<(WebCore)/Modules/webaudio',
737 '--include', '<(WebCore)/Modules/webdatabase',
738 '--include', '<(WebCore)/css',
739 '--include', '<(WebCore)/dom',
740 '--include', '<(WebCore)/fileapi',
741 '--include', '<(WebCore)/html',
742 '--include', '<(WebCore)/page',
743 '--include', '<(WebCore)/plugins',
744 '--include', '<(WebCore)/storage',
745 '--include', '<(WebCore)/svg',
746 '--include', '<(WebCore)/testing',
747 '--include', '<(WebCore)/workers',
748 '--include', '<(WebCore)/xml',
749 '--include', '<(SHARED_INTERMEDIATE_DIR)/WebCore',
755 '-I<(WebCore)/bindings/scripts',
756 '<(WebCore)/bindings/scripts/generate-bindings.pl',
758 '<(SHARED_INTERMEDIATE_DIR)/WebCore/bindings',
759 '--idlAttributesFile',
760 '<(WebCore)/bindings/scripts/IDLAttributes.txt',
762 '<(feature_defines) LANGUAGE_JAVASCRIPT',
765 '<@(generator_include_dirs)',
766 '--supplementalDependencyFile',
767 '<(SHARED_INTERMEDIATE_DIR)/WebCore/supplemental_dependency.tmp',
768 '--additionalIdlFiles',
769 '<(webcoregtk_test_support_idl_files)',
770 '<(RULE_INPUT_PATH)',
772 'message': 'Generating binding from <(RULE_INPUT_PATH)',
777 'target_name': 'WebCoreBindings',
778 'type': 'static_library',
779 'hard_dependency': 1,
781 'WebCoreDependencies',
782 'InjectedScriptSource',
783 'InjectedScriptCanvasModuleSource',
784 'InspectorOverlayPage',
785 'InspectorProtocolSources',
787 'include_dirs': [ '<@(webcoregtk_include_dirs)', ],
789 '<@(webcore_derived_source_files)',
792 # TODO(maruel): Move it in its own project or generate it anyway?
795 '<(SHARED_INTERMEDIATE_DIR)/WebCore/SVGElementFactory.cpp',
796 '<(SHARED_INTERMEDIATE_DIR)/WebCore/JSSVGElementWrapperFactory.cpp',
797 '<@(webcore_svg_derived_source_files)',
803 'target_name': 'WebCoreDOM',
804 'type': 'static_library',
805 'dependencies': [ 'WebCoreDependencies', ],
806 'include_dirs': [ '<@(webcoregtk_include_dirs)', ],
807 'sources': [ '<@(webcore_dom_files)', ],
809 ['exclude', '<(excluded_directories_pattern)'],
810 ['exclude', '<(excluded_files_suffixes)'],
811 ['exclude', '<(excluded_files_patterns)'],
812 ['exclude', 'AllInOne\\.cpp$'],
816 'target_name': 'WebCoreHTML',
817 'type': 'static_library',
818 'dependencies': [ 'WebCoreDependencies', ],
819 'include_dirs': [ '<@(webcoregtk_include_dirs)', ],
820 'sources': [ '<@(webcore_html_files)', ],
822 ['exclude', 'AllInOne\\.cpp$'],
823 ['exclude', 'Android\\.cpp$'],
827 'target_name': 'WebCorePlatform',
828 'type': 'static_library',
829 'dependencies': [ 'WebCoreDependencies', ],
830 'include_dirs': [ '<@(webcoregtk_include_dirs)', ],
832 '<@(webcore_platform_files)',
833 '../Platform/gtk/GtkVersioning.h',
837 ['include', 'platform/'],
839 ['exclude', '<(excluded_directories_pattern)'],
840 ['exclude', '<(excluded_files_suffixes)'],
841 ['exclude', '<(excluded_files_patterns)'],
842 ['exclude', 'platform/Theme\\.cpp$'],
843 ['exclude', 'platform/image-encoders/.*ImageEncoder\\.(cpp|h)$'],
844 ['exclude', 'platform/text/LocaleToScriptMappingICU\\.cpp$'],
845 ['exclude', 'platform/text/TextEncodingDetectorNone\\.cpp$'],
846 ['exclude', 'platform/graphics/FontPlatformData\\.cpp$'],
847 ['exclude', 'platform/graphics/harfbuzz/FontHarfBuzz\\.cpp$'],
848 ['exclude', 'platform/graphics/harfbuzz/HarfBuzzFaceCoreText\\.cpp$'],
849 ['exclude', 'platform/graphics/harfbuzz/FontPlatformDataHarfBuzz\\.cpp$'],
850 ['exclude', 'platform/network/NetworkStorageSessionStub\\.cpp$'],
854 'target_name': 'WebCorePlatformGeometry',
855 'type': 'static_library',
856 'dependencies': [ 'WebCoreDependencies', ],
857 'include_dirs': [ '<@(webcoregtk_include_dirs)', ],
858 'sources': [ '<@(webcore_platform_geometry_files)', ],
861 'target_name': 'WebCore',
868 'WebCorePlatformGeometry',