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

Side by Side Diff: build/split_static_library.gni

Issue 2150753002: Separate out target defaults in the GN build config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Format Created 4 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 unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« build/config/BUILDCONFIG.gn ('K') | « build/config/mac/rules.gni ('k') | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698