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

Side by Side Diff: testing/test.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
« build/config/BUILDCONFIG.gn ('K') | « build/split_static_library.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # ============================================================================== 5 # ==============================================================================
6 # TEST SETUP 6 # TEST SETUP
7 # ============================================================================== 7 # ==============================================================================
8 8
9 template("_gen_isolate") { 9 template("_gen_isolate") {
10 testonly = true 10 testonly = true
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 if (defined(invoker.output_name) && target_name != invoker.output_name) { 355 if (defined(invoker.output_name) && target_name != invoker.output_name) {
356 group("${invoker.output_name}_run") { 356 group("${invoker.output_name}_run") {
357 testonly = true 357 testonly = true
358 deps = [ 358 deps = [
359 ":${invoker.target_name}", 359 ":${invoker.target_name}",
360 ] 360 ]
361 } 361 }
362 } 362 }
363 } 363 }
364 } 364 }
365
366 # Test defaults.
367 set_defaults("test") {
368 if (is_android) {
369 configs = default_shared_library_configs
370 } else {
371 configs = default_executable_configs
372 }
373 }
OLDNEW
« build/config/BUILDCONFIG.gn ('K') | « build/split_static_library.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698