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

Unified Diff: third_party/WebKit/Source/modules/modules.gni

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Rebased again 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
Index: third_party/WebKit/Source/modules/modules.gni
diff --git a/third_party/WebKit/Source/modules/modules.gni b/third_party/WebKit/Source/modules/modules.gni
index f606cd174db5122a9fea7291ad9e1c41afa6289c..f8f3ea87a28bc6b579818c85d6c70b9cd7608ab4 100644
--- a/third_party/WebKit/Source/modules/modules.gni
+++ b/third_party/WebKit/Source/modules/modules.gni
@@ -7,9 +7,12 @@
# This file is shared with all modules' BUILD files which shouldn't need access
# to the huge and slow lists of sources. If sharing is necessary, make a
# separate .gni.
+import("//build/config/jumbo.gni")
import("//build/split_static_library.gni")
import("//third_party/WebKit/Source/config.gni")
+blink_modules_output_dir = "$root_gen_dir/blink/modules"
+
# Defines a part of blink modules. This is either a source set or a static
# library with defaults for commonly-used values.
#
@@ -19,17 +22,17 @@ import("//third_party/WebKit/Source/config.gni")
# visibility
# Normal meaning if defined. If undefined, defaults to everything in core.
template("blink_modules_sources") {
- if (is_component_build) {
- target_type = "source_set"
- } else {
- if (!defined(invoker.split_count)) {
- target_type = "static_library"
+ jumbo_target(target_name) {
+ if (is_component_build) {
+ target_type = "source_set"
} else {
- target_type = "split_static_library"
+ if (!defined(invoker.split_count)) {
+ target_type = "static_library"
+ } else {
+ target_type = "split_static_library"
+ }
}
- }
- target(target_type, target_name) {
# The visibility will get overridden by forward_variables_from below if the
# invoker defined it.
visibility = [ "//third_party/WebKit/Source/modules/*" ]

Powered by Google App Engine
This is Rietveld 408576698