| 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..dec89e61aeca5902eec12ef73cba1972a6dabc88 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/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/*" ]
|
|
|