| 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") |
| 11 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") | 11 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") |
| 12 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") | 12 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") |
| 13 import("//third_party/WebKit/Source/config.gni") | 13 import("//third_party/WebKit/Source/config.gni") |
| 14 import("//third_party/WebKit/Source/core/core.gni") | 14 import("//third_party/WebKit/Source/core/core.gni") |
| 15 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 15 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 16 import("//third_party/WebKit/Source/modules/modules_idl_files.gni") | 16 import("//third_party/WebKit/Source/modules/modules_idl_files.gni") |
| 17 import("//third_party/WebKit/Source/platform/platform_generated.gni") | 17 import("//third_party/WebKit/Source/platform/platform_generated.gni") |
| 18 | 18 |
| 19 visibility = [ "//third_party/WebKit/Source/*" ] | 19 visibility = [ |
| 20 "//third_party/WebKit/Source/*", |
| 21 "//third_party/WebKit/public/*", |
| 22 ] |
| 20 | 23 |
| 21 rel_blink_core_gen_dir = rebase_path(blink_core_output_dir, root_build_dir) | 24 rel_blink_core_gen_dir = rebase_path(blink_core_output_dir, root_build_dir) |
| 22 | 25 |
| 23 # Config for code that builds as part of core. | 26 # Config for code that builds as part of core. |
| 24 config("config") { | 27 config("config") { |
| 25 defines = [ "BLINK_CORE_IMPLEMENTATION=1" ] | 28 defines = [ "BLINK_CORE_IMPLEMENTATION=1" ] |
| 26 | 29 |
| 27 cflags = [] | 30 cflags = [] |
| 28 if (is_win) { | 31 if (is_win) { |
| 29 # Suppress __declspec(dllexport)/extern conflict (C4910). | 32 # Suppress __declspec(dllexport)/extern conflict (C4910). |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 "$blink_core_output_dir/PrivateScriptSourcesForTesting.h", | 693 "$blink_core_output_dir/PrivateScriptSourcesForTesting.h", |
| 691 ] | 694 ] |
| 692 | 695 |
| 693 args = [ "--for-testing" ] | 696 args = [ "--for-testing" ] |
| 694 args += rebase_path(outputs, root_build_dir) | 697 args += rebase_path(outputs, root_build_dir) |
| 695 args += rebase_path(inputs, root_build_dir) | 698 args += rebase_path(inputs, root_build_dir) |
| 696 | 699 |
| 697 deps = make_core_generated_deps | 700 deps = make_core_generated_deps |
| 698 } | 701 } |
| 699 | 702 |
| 703 action("make_minimized_css") { |
| 704 script = "../build/scripts/minimize_css.py" |
| 705 |
| 706 inputs = [ |
| 707 "css/html.css", |
| 708 ] |
| 709 outputs = [ |
| 710 "$blink_core_output_dir/html.css", |
| 711 ] |
| 712 |
| 713 args = [ |
| 714 "--output_dir", |
| 715 rel_blink_core_gen_dir, |
| 716 ] |
| 717 args += rebase_path(inputs, root_build_dir) |
| 718 |
| 719 deps = make_core_generated_deps |
| 720 } |
| 721 |
| 722 # "HTMLEntityTable" in make_core_generated from GYP. |
| 700 action("make_core_generated_html_entity_table") { | 723 action("make_core_generated_html_entity_table") { |
| 701 visibility = [] # Allow re-assignment of list. | 724 visibility = [] # Allow re-assignment of list. |
| 702 visibility = [ ":*" ] | 725 visibility = [ ":*" ] |
| 703 script = "html/parser/create-html-entity-table" | 726 script = "html/parser/create-html-entity-table" |
| 704 | 727 |
| 705 inputs = [ | 728 inputs = [ |
| 706 "html/parser/HTMLEntityNames.in", | 729 "html/parser/HTMLEntityNames.in", |
| 707 ] | 730 ] |
| 708 outputs = [ | 731 outputs = [ |
| 709 "$blink_core_output_dir/HTMLEntityTable.cpp", | 732 "$blink_core_output_dir/HTMLEntityTable.cpp", |
| (...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1314 sources = [ | 1337 sources = [ |
| 1315 "html/parser/HTMLPreloadScannerFuzzer.cpp", | 1338 "html/parser/HTMLPreloadScannerFuzzer.cpp", |
| 1316 "html/parser/TextResourceDecoderForFuzzing.h", | 1339 "html/parser/TextResourceDecoderForFuzzing.h", |
| 1317 ] | 1340 ] |
| 1318 seed_corpus = "//third_party/WebKit/LayoutTests/fast/parser" | 1341 seed_corpus = "//third_party/WebKit/LayoutTests/fast/parser" |
| 1319 deps = [ | 1342 deps = [ |
| 1320 ":core", | 1343 ":core", |
| 1321 "../platform:blink_fuzzer_test_support", | 1344 "../platform:blink_fuzzer_test_support", |
| 1322 ] | 1345 ] |
| 1323 } | 1346 } |
| OLD | NEW |