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

Unified Diff: third_party/WebKit/Source/core/dom/BUILD.gn

Issue 2304353002: Revert of Move more of webcore_remaining into GN build files. (Closed)
Patch Set: Created 4 years, 3 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 | « third_party/WebKit/Source/core/css/BUILD.gn ('k') | third_party/WebKit/Source/core/editing/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/BUILD.gn
diff --git a/third_party/WebKit/Source/core/dom/BUILD.gn b/third_party/WebKit/Source/core/dom/BUILD.gn
index 45e2c3812ab97d4317c42a41ebbb74ddcf71dc17..cc3034194bf3e36ea8282bcec61f2d51c9245be2 100644
--- a/third_party/WebKit/Source/core/dom/BUILD.gn
+++ b/third_party/WebKit/Source/core/dom/BUILD.gn
@@ -2,10 +2,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/split_static_library.gni")
import("//third_party/WebKit/Source/core/core.gni")
-blink_core_sources("dom") {
- split_count = 5
+target(core_link_large_target_type, "dom") {
+ visibility = [ "//third_party/WebKit/Source/core/*" ]
+
+ if (core_link_large_target_type == "split_static_library") {
+ split_count = 5
+ }
sources = [
"AXObjectCache.cpp",
@@ -387,8 +392,14 @@
"shadow/SlotScopedTraversal.h",
]
+ configs -= core_config_remove
+ configs += core_config_add
configs += [
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
"//build/config/compiler:no_size_t_to_int_warning",
]
+
+ deps = [
+ "//third_party/WebKit/Source/core:prerequisites",
+ ]
}
« no previous file with comments | « third_party/WebKit/Source/core/css/BUILD.gn ('k') | third_party/WebKit/Source/core/editing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698