| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
| 6 import("//build/toolchain/toolchain.gni") | 6 import("//build/toolchain/toolchain.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//build/split_static_library.gni") | 8 import("//build/split_static_library.gni") |
| 9 import("//testing/libfuzzer/fuzzer_test.gni") | 9 import("//testing/libfuzzer/fuzzer_test.gni") |
| 10 import("//third_party/WebKit/Source/bindings/bindings.gni") | 10 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 "testing/LayerRect.h", | 269 "testing/LayerRect.h", |
| 270 "testing/LayerRectList.cpp", | 270 "testing/LayerRectList.cpp", |
| 271 "testing/LayerRectList.h", | 271 "testing/LayerRectList.h", |
| 272 "testing/MockHyphenation.cpp", | 272 "testing/MockHyphenation.cpp", |
| 273 "testing/MockHyphenation.h", | 273 "testing/MockHyphenation.h", |
| 274 "testing/NullExecutionContext.cpp", | 274 "testing/NullExecutionContext.cpp", |
| 275 "testing/NullExecutionContext.h", | 275 "testing/NullExecutionContext.h", |
| 276 "testing/OriginTrialsTest.cpp", | 276 "testing/OriginTrialsTest.cpp", |
| 277 "testing/OriginTrialsTest.h", | 277 "testing/OriginTrialsTest.h", |
| 278 "testing/OriginTrialsTestPartial.h", | 278 "testing/OriginTrialsTestPartial.h", |
| 279 "testing/PrivateScriptTest.cpp", | |
| 280 "testing/PrivateScriptTest.h", | |
| 281 "testing/TypeConversions.h", | 279 "testing/TypeConversions.h", |
| 282 "testing/UnionTypesTest.cpp", | 280 "testing/UnionTypesTest.cpp", |
| 283 "testing/UnionTypesTest.h", | 281 "testing/UnionTypesTest.h", |
| 284 "testing/WorkerInternals.cpp", | 282 "testing/WorkerInternals.cpp", |
| 285 "testing/WorkerInternals.h", | 283 "testing/WorkerInternals.h", |
| 286 "testing/v8/WebCoreTestSupport.cpp", | 284 "testing/v8/WebCoreTestSupport.cpp", |
| 287 "testing/v8/WebCoreTestSupport.h", | 285 "testing/v8/WebCoreTestSupport.h", |
| 288 ] | 286 ] |
| 289 | 287 |
| 290 # Compile the sources produced by these IDL file lists. | 288 # Compile the sources produced by these IDL file lists. |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 683 make_qualified_names("make_core_generated_xml_names") { | 681 make_qualified_names("make_core_generated_xml_names") { |
| 684 in_files = [ "xml/xmlattrs.in" ] | 682 in_files = [ "xml/xmlattrs.in" ] |
| 685 outputs = [ | 683 outputs = [ |
| 686 "$blink_core_output_dir/XMLNames.cpp", | 684 "$blink_core_output_dir/XMLNames.cpp", |
| 687 "$blink_core_output_dir/XMLNames.h", | 685 "$blink_core_output_dir/XMLNames.h", |
| 688 ] | 686 ] |
| 689 } | 687 } |
| 690 | 688 |
| 691 # One-off scripts -------------------------------------------------------------- | 689 # One-off scripts -------------------------------------------------------------- |
| 692 | 690 |
| 693 # FIXME: The implementation of Blink-in-JS is not yet mature. | |
| 694 # You can use Blink-in-JS in your local experiment, but don't ship it. | |
| 695 # crbug.com/341031 | |
| 696 action("make_core_generated_private_script") { | |
| 697 visibility = [] # Allow re-assignment of list. | |
| 698 visibility = [ ":*" ] | |
| 699 script = "../build/scripts/make_private_script_source.py" | |
| 700 | |
| 701 inputs = [ | |
| 702 "../bindings/core/v8/PrivateScriptRunner.js", | |
| 703 ] | |
| 704 outputs = [ | |
| 705 "$blink_core_output_dir/PrivateScriptSources.h", | |
| 706 ] | |
| 707 | |
| 708 args = rebase_path(outputs, root_build_dir) | |
| 709 args += rebase_path(inputs, root_build_dir) | |
| 710 | |
| 711 deps = make_core_generated_deps | |
| 712 } | |
| 713 | |
| 714 action("make_core_generated_private_script_for_testing") { | |
| 715 visibility = [] # Allow re-assignment of list. | |
| 716 visibility = [ ":*" ] | |
| 717 script = "../build/scripts/make_private_script_source.py" | |
| 718 | |
| 719 inputs = [ | |
| 720 "testing/PartialPrivateScriptTest.js", | |
| 721 "testing/PrivateScriptTest.js", | |
| 722 ] | |
| 723 outputs = [ | |
| 724 "$blink_core_output_dir/PrivateScriptSourcesForTesting.h", | |
| 725 ] | |
| 726 | |
| 727 args = [ "--for-testing" ] | |
| 728 args += rebase_path(outputs, root_build_dir) | |
| 729 args += rebase_path(inputs, root_build_dir) | |
| 730 | |
| 731 deps = make_core_generated_deps | |
| 732 } | |
| 733 | |
| 734 action("make_minimized_css") { | 691 action("make_minimized_css") { |
| 735 script = "../build/scripts/minimize_css.py" | 692 script = "../build/scripts/minimize_css.py" |
| 736 | 693 |
| 737 inputs = [ | 694 inputs = [ |
| 738 "css/html.css", | 695 "css/html.css", |
| 739 ] | 696 ] |
| 740 outputs = [ | 697 outputs = [ |
| 741 "$blink_core_output_dir/html.css", | 698 "$blink_core_output_dir/html.css", |
| 742 ] | 699 ] |
| 743 | 700 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 ":make_core_generated_math_ml_names", | 881 ":make_core_generated_math_ml_names", |
| 925 ":make_core_generated_media_feature_names", | 882 ":make_core_generated_media_feature_names", |
| 926 ":make_core_generated_media_type_names", | 883 ":make_core_generated_media_type_names", |
| 927 ":make_core_generated_origin_trials", | 884 ":make_core_generated_origin_trials", |
| 928 ":make_core_generated_style_builder", | 885 ":make_core_generated_style_builder", |
| 929 ":make_core_generated_style_property_shorthand", | 886 ":make_core_generated_style_property_shorthand", |
| 930 ":make_core_generated_svg_names", | 887 ":make_core_generated_svg_names", |
| 931 ":make_core_generated_xlink_names", | 888 ":make_core_generated_xlink_names", |
| 932 ":make_core_generated_xml_names", | 889 ":make_core_generated_xml_names", |
| 933 ":make_core_generated_xml_ns_names", | 890 ":make_core_generated_xml_ns_names", |
| 934 ":make_core_generated_private_script", | |
| 935 ":make_core_generated_html_element_type_helpers", | 891 ":make_core_generated_html_element_type_helpers", |
| 936 ":make_core_generated_css_value_keywords", | 892 ":make_core_generated_css_value_keywords", |
| 937 ":make_core_generated_media_features", | 893 ":make_core_generated_media_features", |
| 938 ":make_core_generated_svg_element_type_helpers", | 894 ":make_core_generated_svg_element_type_helpers", |
| 939 ":make_core_generated_private_script_for_testing", | |
| 940 ] | 895 ] |
| 941 | 896 |
| 942 group("all_generators") { | 897 group("all_generators") { |
| 943 public_deps = targets_generating_sources | 898 public_deps = targets_generating_sources |
| 944 public_deps += [ | 899 public_deps += [ |
| 945 # This target's generated source is #included into another source file. | 900 # This target's generated source is #included into another source file. |
| 946 # So we don't want to list it in the "generating sources" list above, | 901 # So we don't want to list it in the "generating sources" list above, |
| 947 # but it does need to be listed as a dependency here. | 902 # but it does need to be listed as a dependency here. |
| 948 ":make_core_generated_css_tokenizer_codepoints", | 903 ":make_core_generated_css_tokenizer_codepoints", |
| 949 ] | 904 ] |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1303 "paint/TextPainterTest.cpp", | 1258 "paint/TextPainterTest.cpp", |
| 1304 "paint/VideoPainterTest.cpp", | 1259 "paint/VideoPainterTest.cpp", |
| 1305 "streams/ReadableStreamOperationsTest.cpp", | 1260 "streams/ReadableStreamOperationsTest.cpp", |
| 1306 "style/ComputedStyleTest.cpp", | 1261 "style/ComputedStyleTest.cpp", |
| 1307 "style/FilterOperationsTest.cpp", | 1262 "style/FilterOperationsTest.cpp", |
| 1308 "style/OutlineValueTest.cpp", | 1263 "style/OutlineValueTest.cpp", |
| 1309 "style/SVGComputedStyleTest.cpp", | 1264 "style/SVGComputedStyleTest.cpp", |
| 1310 "svg/SVGPathParserTest.cpp", | 1265 "svg/SVGPathParserTest.cpp", |
| 1311 "svg/UnsafeSVGAttributeSanitizationTest.cpp", | 1266 "svg/UnsafeSVGAttributeSanitizationTest.cpp", |
| 1312 "svg/graphics/SVGImageTest.cpp", | 1267 "svg/graphics/SVGImageTest.cpp", |
| 1313 "testing/PrivateScriptTestTest.cpp", | |
| 1314 "timing/MemoryInfoTest.cpp", | 1268 "timing/MemoryInfoTest.cpp", |
| 1315 "timing/PerformanceBaseTest.cpp", | 1269 "timing/PerformanceBaseTest.cpp", |
| 1316 "timing/PerformanceObserverTest.cpp", | 1270 "timing/PerformanceObserverTest.cpp", |
| 1317 "timing/PerformanceTest.cpp", | 1271 "timing/PerformanceTest.cpp", |
| 1318 "workers/DedicatedWorkerTest.cpp", | 1272 "workers/DedicatedWorkerTest.cpp", |
| 1319 "workers/MainThreadWorkletTest.cpp", | 1273 "workers/MainThreadWorkletTest.cpp", |
| 1320 "workers/WorkerThreadTest.cpp", | 1274 "workers/WorkerThreadTest.cpp", |
| 1321 "workers/WorkerThreadTestHelper.h", | 1275 "workers/WorkerThreadTestHelper.h", |
| 1322 "xml/XPathFunctionsTest.cpp", | 1276 "xml/XPathFunctionsTest.cpp", |
| 1323 "xml/parser/SharedBufferReaderTest.cpp", | 1277 "xml/parser/SharedBufferReaderTest.cpp", |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1368 sources = [ | 1322 sources = [ |
| 1369 "frame/csp/ContentSecurityPolicyFuzzer.cpp", | 1323 "frame/csp/ContentSecurityPolicyFuzzer.cpp", |
| 1370 ] | 1324 ] |
| 1371 deps = [ | 1325 deps = [ |
| 1372 ":core", | 1326 ":core", |
| 1373 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", | 1327 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", |
| 1374 ] | 1328 ] |
| 1375 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" | 1329 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" |
| 1376 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" | 1330 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" |
| 1377 } | 1331 } |
| OLD | NEW |