OLD | NEW |
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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 if (defined(invoker.output_name) && target_name != invoker.output_name) { | 365 if (defined(invoker.output_name) && target_name != invoker.output_name) { |
366 group("${invoker.output_name}_run") { | 366 group("${invoker.output_name}_run") { |
367 testonly = true | 367 testonly = true |
368 deps = [ | 368 deps = [ |
369 ":${invoker.target_name}", | 369 ":${invoker.target_name}", |
370 ] | 370 ] |
371 } | 371 } |
372 } | 372 } |
373 } | 373 } |
374 } | 374 } |
| 375 |
| 376 # Test defaults. |
| 377 set_defaults("test") { |
| 378 if (is_android) { |
| 379 configs = default_shared_library_configs |
| 380 } else { |
| 381 configs = default_executable_configs |
| 382 } |
| 383 } |
OLD | NEW |