OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 template("split_static_library") { | 5 template("split_static_library") { |
6 assert(defined(invoker.split_count), | 6 assert(defined(invoker.split_count), |
7 "Must define split_count for split_static_library") | 7 "Must define split_count for split_static_library") |
8 | 8 |
9 # In many conditions the number of inputs will be 1 (because the count will | 9 # In many conditions the number of inputs will be 1 (because the count will |
10 # be conditional on platform or configuration) so optimize that. | 10 # be conditional on platform or configuration) so optimize that. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 group(group_name) { | 44 group(group_name) { |
45 public_deps = generated_static_libraries | 45 public_deps = generated_static_libraries |
46 forward_variables_from(invoker, | 46 forward_variables_from(invoker, |
47 [ | 47 [ |
48 "testonly", | 48 "testonly", |
49 "visibility", | 49 "visibility", |
50 ]) | 50 ]) |
51 } | 51 } |
52 } | 52 } |
53 } | 53 } |
| 54 |
| 55 set_defaults("split_static_library") { |
| 56 configs = default_compiler_configs |
| 57 } |
OLD | NEW |