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

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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/jumbo.gni ('k') | 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..0ce902d636616304b60c0db49fb5602c9dc48984 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",
+
+ # 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 | « build/config/jumbo.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698