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

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

Issue 2963733003: Scripts for unity/jumbo (default disabled) compilation (Closed)
Patch Set: Addressed review issues. 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/merge_for_jumbo.py ('k') | third_party/WebKit/Source/core/exported/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/core.gni
diff --git a/third_party/WebKit/Source/core/core.gni b/third_party/WebKit/Source/core/core.gni
index 15305948e89109814822743acbc4f3b699f71063..eae2d4ff2bc43f2c5193c7de1378ac653a5f5be1 100644
--- a/third_party/WebKit/Source/core/core.gni
+++ b/third_party/WebKit/Source/core/core.gni
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/chrome_build.gni")
+import("//build/config/jumbo.gni")
import("//build/split_static_library.gni")
import("//third_party/WebKit/Source/config.gni")
@@ -73,18 +74,18 @@ if (is_component_build) {
# visibility
# Normal meaning if defined. If undefined, defaults to everything in core.
template("blink_core_sources") {
- if (is_component_build) {
- target_type = "source_set"
+ jumbo_target(target_name) {
+ if (is_component_build) {
+ target_type = "source_set"
- # This assert avoids an unused variable warning.
- assert(!defined(invoker.split_count) || invoker.split_count != 0)
- } else if (!defined(invoker.split_count)) {
- target_type = "static_library"
- } else {
- target_type = "split_static_library"
- }
+ # This assert avoids an unused variable warning.
+ assert(!defined(invoker.split_count) || invoker.split_count != 0)
+ } else 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/core/*" ]
« no previous file with comments | « build/config/merge_for_jumbo.py ('k') | third_party/WebKit/Source/core/exported/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698