2 # Copyright (C) 2009 Google Inc. All rights reserved.
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above
11 # copyright notice, this list of conditions and the following disclaimer
12 # in the documentation and/or other materials provided with the
14 # * Neither the name of Google Inc. nor the names of its
15 # contributors may be used to endorse or promote products derived from
16 # this software without specific prior written permission.
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 '../build/win/precompile.gypi',
34 '../build/features.gypi',
35 '../build/scripts/scripts.gypi',
36 '../bindings/core/core.gypi', # core can depend on bindings/core, but not on bindings
41 'enable_wexit_time_destructors': 1,
43 'webcore_include_dirs': [
45 '<(SHARED_INTERMEDIATE_DIR)/blink', # gen/blink
49 ['OS=="android" and use_openmax_dl_fft!=0', {
50 'webcore_include_dirs': [
51 '<(DEPTH)/third_party/openmax_dl'
65 # GN version: //third_party/WebKit/Source/core/inspector:protocol_sources
66 'target_name': 'inspector_protocol_sources',
69 'generate_inspector_protocol_version'
73 'action_name': 'generateInspectorProtocolBackendSources',
75 # The python script in action below.
76 'inspector/CodeGeneratorInspector.py',
77 # The helper script imported by CodeGeneratorInspector.py.
78 'inspector/CodeGeneratorInspectorStrings.py',
79 # Input file for the script.
80 '../devtools/protocol.json',
83 '<(blink_core_output_dir)/InspectorBackendDispatcher.cpp',
84 '<(blink_core_output_dir)/InspectorBackendDispatcher.h',
85 '<(blink_core_output_dir)/InspectorFrontend.cpp',
86 '<(blink_core_output_dir)/InspectorFrontend.h',
87 '<(blink_core_output_dir)/InspectorTypeBuilder.cpp',
88 '<(blink_core_output_dir)/InspectorTypeBuilder.h',
91 'generator_include_dirs': [
96 'inspector/CodeGeneratorInspector.py',
97 '../devtools/protocol.json',
98 '--output_dir', '<(blink_core_output_dir)',
100 'message': 'Generating Inspector protocol backend sources from protocol.json',
105 # GN version: //third_party/WebKit/Source/core/inspector:instrumentation_sources
106 'target_name': 'inspector_instrumentation_sources',
111 'action_name': 'generateInspectorInstrumentation',
113 # The python script in action below.
114 'inspector/CodeGeneratorInstrumentation.py',
115 # Input file for the script.
116 'inspector/InspectorInstrumentation.idl',
119 '<(blink_core_output_dir)/InspectorCanvasInstrumentationInl.h',
120 '<(blink_core_output_dir)/InspectorConsoleInstrumentationInl.h',
121 '<(blink_core_output_dir)/InspectorInstrumentationInl.h',
122 '<(blink_core_output_dir)/InspectorOverridesInl.h',
123 '<(blink_core_output_dir)/InstrumentingAgentsInl.h',
124 '<(blink_core_output_dir)/InspectorInstrumentationImpl.cpp',
128 'inspector/CodeGeneratorInstrumentation.py',
129 'inspector/InspectorInstrumentation.idl',
130 '--output_dir', '<(blink_core_output_dir)',
132 'message': 'Generating Inspector instrumentation code from InspectorInstrumentation.idl',
137 # GN version: //third_party/WebKit/Source/core/inspector:protocol_version
138 'target_name': 'generate_inspector_protocol_version',
142 'action_name': 'generateInspectorProtocolVersion',
144 'inspector/generate-inspector-protocol-version',
145 '../devtools/protocol.json',
148 '<(blink_core_output_dir)/InspectorProtocolVersion.h',
151 'generator_include_dirs': [
156 'inspector/generate-inspector-protocol-version',
161 'message': 'Validate inspector protocol for backwards compatibility and generate version file',
166 # GN version: //third_party/WebKit/Source/core:core_generated
167 'target_name': 'webcore_generated',
168 'type': 'static_library',
169 'hard_dependency': 1,
171 'webcore_prerequisites',
172 'core_generated.gyp:make_core_generated',
173 'inspector_protocol_sources',
174 'inspector_instrumentation_sources',
175 '../bindings/core/v8/generated.gyp:bindings_core_v8_generated',
176 # FIXME: don't depend on bindings_modules http://crbug.com/358074
177 '../bindings/modules/generated.gyp:modules_event_generated',
178 '../bindings/modules/v8/generated.gyp:bindings_modules_v8_generated',
179 '../platform/platform_generated.gyp:make_platform_generated',
180 '../wtf/wtf.gyp:wtf',
181 '<(DEPTH)/gin/gin.gyp:gin',
182 '<(DEPTH)/skia/skia.gyp:skia',
183 '<(DEPTH)/third_party/iccjpeg/iccjpeg.gyp:iccjpeg',
184 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
185 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp',
186 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
187 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt',
188 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
189 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms',
190 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
191 '<(DEPTH)/url/url.gyp:url_lib',
192 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
195 '<@(webcore_include_dirs)',
198 # FIXME: should be bindings_core_v8_files http://crbug.com/358074
199 '<@(bindings_core_v8_files)',
200 # These files include all the .cpp files generated from the .idl files
202 '<@(bindings_core_v8_generated_aggregate_files)',
203 '<@(bindings_core_v8_generated_union_type_files)',
205 # Additional .cpp files for HashTools.h
206 '<(blink_core_output_dir)/CSSPropertyNames.cpp',
207 '<(blink_core_output_dir)/CSSValueKeywords.cpp',
209 # Additional .cpp files from make_core_generated actions.
210 '<(blink_core_output_dir)/Event.cpp',
211 '<(blink_core_output_dir)/EventHeaders.h',
212 '<(blink_core_output_dir)/EventNames.cpp',
213 '<(blink_core_output_dir)/EventNames.h',
214 '<(blink_core_output_dir)/EventTargetNames.cpp',
215 '<(blink_core_output_dir)/EventTargetNames.h',
216 '<(blink_core_output_dir)/EventTypeNames.cpp',
217 '<(blink_core_output_dir)/EventTypeNames.h',
218 '<(blink_core_output_dir)/FetchInitiatorTypeNames.cpp',
219 '<(blink_core_output_dir)/HTMLElementFactory.cpp',
220 '<(blink_core_output_dir)/HTMLElementFactory.h',
221 '<(blink_core_output_dir)/HTMLElementLookupTrie.cpp',
222 '<(blink_core_output_dir)/HTMLElementLookupTrie.h',
223 '<(blink_core_output_dir)/HTMLNames.cpp',
224 '<(blink_core_output_dir)/HTMLTokenizerNames.cpp',
225 '<(blink_core_output_dir)/InputTypeNames.cpp',
226 '<(blink_core_output_dir)/MathMLNames.cpp',
227 '<(blink_core_output_dir)/SVGNames.cpp',
228 '<(blink_core_output_dir)/UserAgentStyleSheetsData.cpp',
229 '<(blink_core_output_dir)/XLinkNames.cpp',
230 '<(blink_core_output_dir)/XMLNSNames.cpp',
231 '<(blink_core_output_dir)/XMLNames.cpp',
233 # Generated from HTMLEntityNames.in
234 '<(blink_core_output_dir)/HTMLEntityTable.cpp',
236 # Generated from MediaFeatureNames.in
237 '<(blink_core_output_dir)/MediaFeatureNames.cpp',
239 # Generated from MediaTypeNames.in
240 '<(blink_core_output_dir)/MediaTypeNames.cpp',
242 # Generated from BisonCSSTokenizer-in.cpp
243 '<(blink_core_output_dir)/BisonCSSTokenizer.cpp',
245 # Generated from BisonCSSParser-in.cpp
246 '<(blink_core_output_dir)/BisonCSSParser.cpp',
248 # Generated from HTMLMetaElement-in.cpp
249 '<(blink_core_output_dir)/HTMLMetaElement.cpp',
251 # Additional .cpp files from the make_core_generated rules.
252 '<(blink_core_output_dir)/CSSGrammar.cpp',
253 '<(blink_core_output_dir)/XPathGrammar.cpp',
255 # Additional .cpp files from the inspector_protocol_sources list.
256 '<(blink_core_output_dir)/InspectorFrontend.cpp',
257 '<(blink_core_output_dir)/InspectorBackendDispatcher.cpp',
258 '<(blink_core_output_dir)/InspectorTypeBuilder.cpp',
260 # Additional .cpp files from the inspector_instrumentation_sources list.
261 '<(blink_core_output_dir)/InspectorCanvasInstrumentationInl.h',
262 '<(blink_core_output_dir)/InspectorConsoleInstrumentationInl.h',
263 '<(blink_core_output_dir)/InspectorInstrumentationInl.h',
264 '<(blink_core_output_dir)/InspectorOverridesInl.h',
265 '<(blink_core_output_dir)/InstrumentingAgentsInl.h',
266 '<(blink_core_output_dir)/InspectorInstrumentationImpl.cpp',
268 # Additional .cpp files for SVG.
269 '<(blink_core_output_dir)/SVGElementFactory.cpp',
271 # Generated from make_style_shorthands.py
272 '<(blink_core_output_dir)/StylePropertyShorthand.cpp',
274 # Generated from make_style_builder.py
275 '<(blink_core_output_dir)/StyleBuilder.cpp',
276 '<(blink_core_output_dir)/StyleBuilderFunctions.cpp',
278 # Generated from make_css_property_metadata.py
279 '<(blink_core_output_dir)/CSSPropertyMetadata.cpp',
281 # IDL dictionary impl files generated by IDL compiler
282 '<@(generated_core_dictionary_files)',
285 ['OS=="win" and component=="shared_library"', {
291 # In generated bindings code: 'switch contains default but no case'.
292 # Disable c4267 warnings until we fix size_t to int truncations.
293 # 4701 and 4702 are disabled because of issues in Bison-generated
294 # XPathGrammar.cpp and CSSGrammar.cpp.
295 'msvs_disabled_warnings': [ 4065, 4267, 4701, 4702 ],
297 ['OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', {
299 '<!@(pkg-config --cflags-only-I ipp)',
305 # We'll soon split libwebcore in multiple smaller libraries.
306 # webcore_prerequisites will be the 'base' target of every sub-target.
307 # GN version: //third_party/WebKit/Source/core:prerequisites
308 'target_name': 'webcore_prerequisites',
311 'inspector_protocol_sources',
312 'inspector_instrumentation_sources',
313 'core_generated.gyp:make_core_generated',
314 '../bindings/core/v8/generated.gyp:bindings_core_v8_generated',
315 # FIXME: don't depend on bindings_modules http://crbug.com/358074
316 '../bindings/modules/v8/generated.gyp:bindings_modules_v8_generated',
317 '../wtf/wtf.gyp:wtf',
318 '../config.gyp:config',
319 '../platform/blink_platform.gyp:blink_platform',
320 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib',
321 '<(DEPTH)/skia/skia.gyp:skia',
322 '<(angle_path)/src/angle.gyp:translator',
323 '<(DEPTH)/third_party/iccjpeg/iccjpeg.gyp:iccjpeg',
324 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
325 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp',
326 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
327 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt',
328 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
329 '<(DEPTH)/third_party/ots/ots.gyp:ots',
330 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms',
331 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
332 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
333 '<(DEPTH)/url/url.gyp:url_lib',
334 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
336 'export_dependent_settings': [
337 '../wtf/wtf.gyp:wtf',
338 '../config.gyp:config',
339 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib',
340 '<(DEPTH)/skia/skia.gyp:skia',
341 '<(angle_path)/src/angle.gyp:translator',
342 '<(DEPTH)/third_party/iccjpeg/iccjpeg.gyp:iccjpeg',
343 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
344 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp',
345 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
346 '<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt',
347 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
348 '<(DEPTH)/third_party/ots/ots.gyp:ots',
349 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms',
350 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
351 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
352 '<(DEPTH)/url/url.gyp:url_lib',
353 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
355 'direct_dependent_settings': {
357 'BLINK_IMPLEMENTATION=1',
361 '<@(webcore_include_dirs)',
363 '<(angle_path)/include',
366 # Some Mac-specific parts of WebKit won't compile without having this
367 # prefix header injected.
368 'GCC_PREFIX_HEADER': '<(DEPTH)/third_party/WebKit/Source/build/mac/Prefix.h',
372 ['OS=="win" and component=="shared_library"', {
373 'direct_dependent_settings': {
381 '<(DEPTH)/build/linux/system.gyp:fontconfig',
383 'export_dependent_settings': [
384 '<(DEPTH)/build/linux/system.gyp:fontconfig',
386 'direct_dependent_settings': {
388 # WebCore does not work with strict aliasing enabled.
389 # https://bugs.webkit.org/show_bug.cgi?id=25864
390 '-fno-strict-aliasing',
396 ['exclude', 'accessibility/'],
399 ['OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', {
400 'direct_dependent_settings': {
402 '<!@(pkg-config --cflags-only-I ipp)',
407 'direct_dependent_settings': {
409 # Chromium's version of WebCore includes the following Objective-C
410 # classes. The system-provided WebCore framework may also provide
411 # these classes. Because of the nature of Objective-C binding
412 # (dynamically at runtime), it's possible for the
413 # Chromium-provided versions to interfere with the system-provided
414 # versions. This may happen when a system framework attempts to
415 # use core.framework, such as when converting an HTML-flavored
416 # string to an NSAttributedString. The solution is to force
417 # Objective-C class names that would conflict to use alternate
420 # This list will hopefully shrink but may also grow. Its
421 # performance is monitored by the "Check Objective-C Rename"
422 # postbuild step, and any suspicious-looking symbols not handled
423 # here or whitelisted in that step will cause a build failure.
425 # If this is unhandled, the console will receive log messages
427 # com.google.Chrome[] objc[]: Class ScrollbarPrefsObserver is implemented in both .../Google Chrome.app/Contents/Versions/.../Google Chrome Helper.app/Contents/MacOS/../../../Google Chrome Framework.framework/Google Chrome Framework and /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore. One of the two will be used. Which one is undefined.
428 'WebCoreTextFieldCell=ChromiumWebCoreObjCWebCoreTextFieldCell',
429 'WebCoreRenderThemeNotificationObserver=ChromiumWebCoreObjCWebCoreRenderThemeNotificationObserver',
433 # This step ensures that any Objective-C names that aren't
434 # redefined to be "safe" above will cause a build failure.
435 'postbuild_name': 'Check Objective-C Rename',
437 'class_whitelist_regex':
438 'ChromiumWebCoreObjC|TCMVisibleView|RTCMFlippedView|ScrollerStyleObserver',
439 'category_whitelist_regex':
440 'WebCoreFocusRingDrawing|WebCoreTheme',
443 '../build/scripts/check_objc_rename.sh',
444 '<(class_whitelist_regex)',
445 '<(category_whitelist_regex)',
451 ['"WTF_USE_WEBAUDIO_FFMPEG=1" in feature_defines', {
452 # This directory needs to be on the include path for multiple sub-targets of webcore.
453 'direct_dependent_settings': {
455 '<(DEPTH)/third_party/ffmpeg',
459 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
462 ['"WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1" in feature_defines', {
463 'direct_dependent_settings': {
465 '<(DEPTH)/third_party/openmax_dl',
469 '<(DEPTH)/third_party/openmax_dl/dl/dl.gyp:openmax_dl',
472 # Windows shared builder needs extra help for linkage
473 ['OS=="win" and "WTF_USE_WEBAUDIO_FFMPEG=1" in feature_defines', {
474 'export_dependent_settings': [
475 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
481 # GN version: //third_party/WebKit/Source/core:dom
482 'target_name': 'webcore_dom',
483 'type': 'static_library',
485 'webcore_prerequisites',
488 '<@(webcore_dom_files)',
490 # Disable c4267 warnings until we fix size_t to int truncations.
491 'msvs_disabled_warnings': [ 4267, ],
494 # GN version: //third_party/WebKit/Source/core:html
495 'target_name': 'webcore_html',
496 'type': 'static_library',
498 'webcore_prerequisites',
501 '<@(webcore_html_files)',
504 # Shard this taret into parts to work around linker limitations.
505 # on link time code generation builds.
506 ['OS=="win" and buildtype=="Official"', {
511 ['exclude', 'Android\\.cpp$'],
517 # GN version: //third_party/WebKit/Source/core:svg
518 'target_name': 'webcore_svg',
519 'type': 'static_library',
521 'webcore_prerequisites',
524 '<@(webcore_svg_files)',
527 ['OS=="win" and buildtype=="Official"', {
533 # GN version: //third_party/WebKit/Source/core:rendering
534 'target_name': 'webcore_rendering',
535 'type': 'static_library',
537 'webcore_prerequisites',
544 ['include', 'rendering/'],
546 ['exclude', '(?<!Chromium)(CF|CG|Mac|Win)\\.(cpp|mm?)$'],
547 # Previous rule excludes things like ChromiumFooWin, include those.
548 ['include', 'rendering/.*Chromium.*\\.(cpp|mm?)$'],
551 # Shard this taret into parts to work around linker limitations.
552 # on link time code generation builds.
553 ['OS=="win" and buildtype=="Official"', {
556 ['use_default_render_theme==0', {
558 ['exclude', 'rendering/RenderThemeChromiumDefault.*'],
563 ['exclude', 'Posix\\.cpp$'],
567 ['exclude', 'Win\\.cpp$'],
570 ['OS=="win" and chromium_win_pch==1', {
572 ['include', '<(DEPTH)/third_party/WebKit/Source/build/win/Precompile.cpp'],
577 # RenderThemeChromiumSkia is not used on mac since RenderThemeChromiumMac
578 # does not reference the Skia code that is used by Windows, Linux and Android.
579 ['exclude', 'rendering/RenderThemeChromiumSkia\\.cpp$'],
580 # RenderThemeChromiumFontProvider is used by RenderThemeChromiumSkia.
581 ['exclude', 'rendering/RenderThemeChromiumFontProvider\\.cpp'],
582 ['exclude', 'rendering/RenderThemeChromiumFontProvider\\.h'],
585 'sources/': [['exclude', 'Mac\\.(cpp|mm?)$']]
587 ['OS == "android" and target_arch == "ia32" and gcc_version == 46', {
588 # Due to a bug in gcc 4.6 in android NDK, we get warnings about uninitialized variable.
589 'cflags': ['-Wno-uninitialized'],
593 ['exclude', 'Linux\\.cpp$'],
598 ['include', 'rendering/RenderThemeChromiumFontProviderLinux\\.cpp$'],
599 ['include', 'rendering/RenderThemeChromiumDefault\\.cpp$'],
603 ['exclude', 'Android\\.cpp$'],
609 # GN version: //third_party/WebKit/Source/core:remaining
610 'target_name': 'webcore_remaining',
611 'type': 'static_library',
613 'webcore_prerequisites',
619 ['exclude', 'rendering/'],
621 ['exclude', '(?<!Chromium)(CF|CG|Mac|Win)\\.(cpp|mm?)$'],
624 # Shard this target into parts to work around linker limitations.
625 # on link time code generation builds.
626 ['OS=="win" and (buildtype=="Official" or (fastbuild==0 and win_z7==1))', {
631 ['exclude', 'Linux\\.cpp$'],
636 # WebCore does not work with strict aliasing enabled.
637 # https://bugs.webkit.org/show_bug.cgi?id=25864
638 '-fno-strict-aliasing',
641 'sources/': [['exclude', 'Android\\.cpp$']]
645 'editing/SmartReplaceCF.cpp',
649 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
653 # Additional files from the WebCore Mac build that are presently
654 # used in the WebCore Chromium Mac build too.
656 # The Mac build is USE(CF).
657 ['include', 'CF\\.cpp$'],
659 # Cherry-pick some files that can't be included by broader regexps.
660 # Some of these are used instead of Chromium platform files, see
661 # the specific exclusions in the "exclude" list below.
662 ['include', 'platform/mac/WebCoreSystemInterface\\.h$'],
663 ['include', 'platform/mac/WebCoreTextRenderer\\.mm$'],
664 ['include', 'platform/text/mac/ShapeArabic\\.c$'],
665 ['include', 'platform/text/mac/String(Impl)?Mac\\.mm$'],
666 # Use USE_NEW_THEME on Mac.
667 ['include', 'platform/Theme\\.cpp$'],
670 'sources/': [['exclude', 'Mac\\.(cpp|mm?)$']]
672 ['OS=="win" and chromium_win_pch==1', {
674 ['include', '<(DEPTH)/third_party/WebKit/Source/build/win/Precompile.cpp'],
678 # Disable c4267 warnings until we fix size_t to int truncations.
679 'msvs_disabled_warnings': [ 4267, 4334, ],
682 # GN version: //third_party/WebKit/Source/core:core
683 'target_name': 'webcore',
693 '../platform/blink_platform.gyp:blink_platform',
694 '../wtf/wtf.gyp:wtf',
695 '<(DEPTH)/skia/skia.gyp:skia',
696 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
697 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms',
698 '<(DEPTH)/url/url.gyp:url_lib',
699 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
701 'export_dependent_settings': [
703 '../platform/blink_platform.gyp:blink_platform',
704 '../wtf/wtf.gyp:wtf',
705 '<(DEPTH)/skia/skia.gyp:skia',
706 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
707 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms',
708 '<(DEPTH)/url/url.gyp:url_lib',
709 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
711 'direct_dependent_settings': {
713 '<@(webcore_include_dirs)',
717 ['OS=="linux" and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', {
720 '<!@(pkg-config --libs-only-L ipp)',
727 # Use IPP static libraries for x86 Android.
728 ['OS=="android" and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', {
731 '<!@(pkg-config --libs ipp|sed s/-L//)/libipps_l.a',
732 '<!@(pkg-config --libs ipp|sed s/-L//)/libippcore_l.a',
739 # GN version: //third_party/WebKit/Source/core:testing
740 'target_name': 'webcore_testing',
741 'type': 'static_library',
743 '../config.gyp:config',
748 'BLINK_IMPLEMENTATION=1',
752 '<(bindings_core_v8_dir)', # FIXME: Remove once http://crbug.com/236119 is fixed.
757 # Note: file list duplicated in GN build.
758 '<@(generated_core_testing_dictionary_files)',
759 '<@(webcore_testing_files)',
760 '<(bindings_core_v8_output_dir)/V8DictionaryTest.cpp',
761 '<(bindings_core_v8_output_dir)/V8DictionaryTest.h',
762 '<(bindings_core_v8_output_dir)/V8GarbageCollectedScriptWrappable.cpp',
763 '<(bindings_core_v8_output_dir)/V8GarbageCollectedScriptWrappable.h',
764 '<(bindings_core_v8_output_dir)/V8GCObservation.cpp',
765 '<(bindings_core_v8_output_dir)/V8GCObservation.h',
766 '<(bindings_core_v8_output_dir)/V8PrivateScriptTest.cpp',
767 '<(bindings_core_v8_output_dir)/V8PrivateScriptTest.h',
768 '<(bindings_core_v8_output_dir)/V8TypeConversions.cpp',
769 '<(bindings_core_v8_output_dir)/V8TypeConversions.h',
770 '<(bindings_core_v8_output_dir)/V8UnionTypesTest.cpp',
771 '<(bindings_core_v8_output_dir)/V8UnionTypesTest.h',
772 '<(bindings_core_v8_output_dir)/V8Internals.cpp',
773 '<(bindings_core_v8_output_dir)/V8Internals.h',
774 '<(bindings_core_v8_output_dir)/V8InternalProfilers.cpp',
775 '<(bindings_core_v8_output_dir)/V8InternalProfilers.h',
776 '<(bindings_core_v8_output_dir)/V8InternalSettings.cpp',
777 '<(bindings_core_v8_output_dir)/V8InternalSettings.h',
778 '<(bindings_core_v8_output_dir)/V8InternalSettingsGenerated.cpp',
779 '<(bindings_core_v8_output_dir)/V8InternalSettingsGenerated.h',
780 '<(bindings_core_v8_output_dir)/V8InternalRuntimeFlags.cpp',
781 '<(bindings_core_v8_output_dir)/V8InternalRuntimeFlags.h',
782 '<(bindings_core_v8_output_dir)/V8LayerRect.cpp',
783 '<(bindings_core_v8_output_dir)/V8LayerRect.h',
784 '<(bindings_core_v8_output_dir)/V8LayerRectList.cpp',
785 '<(bindings_core_v8_output_dir)/V8LayerRectList.h',
786 '<(bindings_core_v8_output_dir)/V8RefCountedScriptWrappable.cpp',
787 '<(bindings_core_v8_output_dir)/V8RefCountedScriptWrappable.h',
788 '<(bindings_core_v8_output_dir)/V8InternalDictionary.cpp',
789 '<(bindings_core_v8_output_dir)/V8InternalDictionary.h',
792 ['exclude', 'testing/js'],