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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
OLD | NEW |