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

Side by Side Diff: third_party/WebKit/Source/core/BUILD.gn

Issue 2973603003: Jumbo for blink/core generated files as well (saving 8 CPU minutes) (Closed)
Patch Set: Remove temporary testing code. Created 3 years, 5 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
« no previous file with comments | « build/config/jumbo.gni ('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')
OLDNEW
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/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/toolchain/toolchain.gni") 7 import("//build/toolchain/toolchain.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/split_static_library.gni") 9 import("//build/split_static_library.gni")
10 import("//testing/libfuzzer/fuzzer_test.gni") 10 import("//testing/libfuzzer/fuzzer_test.gni")
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after
1068 public_deps = targets_generating_sources 1068 public_deps = targets_generating_sources
1069 public_deps += [ 1069 public_deps += [
1070 # This target's generated source is #included into another source file. 1070 # This target's generated source is #included into another source file.
1071 # So we don't want to list it in the "generating sources" list above, 1071 # So we don't want to list it in the "generating sources" list above,
1072 # but it does need to be listed as a dependency here. 1072 # but it does need to be listed as a dependency here.
1073 ":make_core_generated_css_tokenizer_codepoints", 1073 ":make_core_generated_css_tokenizer_codepoints",
1074 ] 1074 ]
1075 } 1075 }
1076 1076
1077 # Compiles the code generated by the targets above. 1077 # Compiles the code generated by the targets above.
1078 target(core_link_small_target_type, "core_generated") { 1078 jumbo_target("core_generated") {
1079 target_type = core_link_small_target_type
1079 sources = bindings_core_v8_files 1080 sources = bindings_core_v8_files
1080 1081
1081 # Add all sources generated by the targets above. 1082 # Add all sources generated by the targets above.
1082 foreach(current, targets_generating_sources) { 1083 foreach(current, targets_generating_sources) {
1083 sources += get_target_outputs(current) 1084 sources += get_target_outputs(current)
1084 } 1085 }
1086 jumbo_excluded_sources = [
1087 # Same variables as HTMLElementFactory
1088 "$blink_core_output_dir/SVGElementFactory.cpp",
1089
1090 # Same variables (stringpool_t, stringpool_contents) as CSSValueKeywords
1091 "$blink_core_output_dir/CSSPropertyNames.cpp",
1092
1093 # Global "using namespace blink" and "using namespace XPath"
1094 "$blink_core_output_dir/XPathGrammar.cpp",
1095
1096 # Using global "using namespace WTF"
1097 "//third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCu stom.cpp",
1098 ]
1085 public_deps = [ 1099 public_deps = [
1086 ":all_generators", 1100 ":all_generators",
1087 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_impl", 1101 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_impl",
1088 ] 1102 ]
1089 1103
1090 configs -= core_config_remove 1104 configs -= core_config_remove
1091 configs += core_config_add + [ "..:inside_blink" ] 1105 configs += core_config_add + [ "..:inside_blink" ]
1092 1106
1093 # Dependencies required to compile the sources. 1107 # Dependencies required to compile the sources.
1094 public_deps += [ 1108 public_deps += [
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 sources = [ 1601 sources = [
1588 "frame/csp/ContentSecurityPolicyFuzzer.cpp", 1602 "frame/csp/ContentSecurityPolicyFuzzer.cpp",
1589 ] 1603 ]
1590 deps = [ 1604 deps = [
1591 ":core", 1605 ":core",
1592 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", 1606 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support",
1593 ] 1607 ]
1594 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" 1608 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict"
1595 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" 1609 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus"
1596 } 1610 }
OLDNEW
« no previous file with comments | « build/config/jumbo.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698