| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/split_static_library.gni") | 6 import("//build/split_static_library.gni") |
| 7 import("//third_party/WebKit/Source/config.gni") | 7 import("//third_party/WebKit/Source/config.gni") |
| 8 | 8 |
| 9 blink_core_output_dir = "$root_gen_dir/blink/core" | 9 blink_core_output_dir = "$root_gen_dir/blink/core" |
| 10 | 10 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 split_count = invoker.split_count | 93 split_count = invoker.split_count |
| 94 } | 94 } |
| 95 | 95 |
| 96 deps = [ | 96 deps = [ |
| 97 "//third_party/WebKit/Source/core:prerequisites", | 97 "//third_party/WebKit/Source/core:prerequisites", |
| 98 ] | 98 ] |
| 99 if (defined(invoker.deps)) { | 99 if (defined(invoker.deps)) { |
| 100 deps += invoker.deps | 100 deps += invoker.deps |
| 101 } | 101 } |
| 102 | 102 |
| 103 public_deps = [ |
| 104 "//third_party/WebKit/Source/core:all_generators", |
| 105 ] |
| 106 if (defined(invoker.public_deps)) { |
| 107 public_deps += invoker.public_deps |
| 108 } |
| 109 |
| 103 # Take everything else not handled above from the invoker. | 110 # Take everything else not handled above from the invoker. |
| 104 forward_variables_from(invoker, | 111 forward_variables_from(invoker, |
| 105 "*", | 112 "*", |
| 106 [ | 113 [ |
| 107 "deps", | 114 "deps", |
| 115 "public_deps", |
| 108 "split_count", | 116 "split_count", |
| 109 ]) | 117 ]) |
| 110 } | 118 } |
| 111 } | 119 } |
| 112 set_defaults("blink_core_sources") { | 120 set_defaults("blink_core_sources") { |
| 113 # This sets the default list of configs when the blink_core_sources target | 121 # This sets the default list of configs when the blink_core_sources target |
| 114 # is defined. The default_compiler_configs comes from BUILDCONFIG.gn and | 122 # is defined. The default_compiler_configs comes from BUILDCONFIG.gn and |
| 115 # is the list normally applied to static libraries and source sets. | 123 # is the list normally applied to static libraries and source sets. |
| 116 configs = default_compiler_configs - core_config_remove + core_config_add | 124 configs = default_compiler_configs - core_config_remove + core_config_add |
| 117 } | 125 } |
| OLD | NEW |