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", |