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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/BUILD.gn
diff --git a/third_party/WebKit/Source/core/BUILD.gn b/third_party/WebKit/Source/core/BUILD.gn
index bd7fb580b36aac3d6b090c42c11fb7b1526ae406..09bd499f32b08e67a84949de5ffbd649ab842bdb 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -1075,13 +1075,27 @@ group("all_generators") {
}
# Compiles the code generated by the targets above.
-target(core_link_small_target_type, "core_generated") {
+jumbo_target("core_generated") {
+ target_type = core_link_small_target_type
sources = bindings_core_v8_files
# Add all sources generated by the targets above.
foreach(current, targets_generating_sources) {
sources += get_target_outputs(current)
}
+ jumbo_excluded_sources = [
+ # Same variables as HTMLElementFactory
+ blink_core_output_dir + "/SVGElementFactory.cpp",
fs 2017/07/05 15:45:15 "$blink_core_output_dir/SVGElementFactory.cpp" ap
+
+ # Same variables (stringpool_t, stringpool_contents) as CSSValueKeywords
+ blink_core_output_dir + "/CSSPropertyNames.cpp",
+
+ # Global "using namespace blink" and "using namespace XPath"
+ blink_core_output_dir + "/XPathGrammar.cpp",
+
+ # Using global "using namespace WTF"
+ "//third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp",
+ ]
public_deps = [
":all_generators",
"//third_party/WebKit/Source/bindings/core/v8:bindings_core_impl",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698