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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 } | 331 } |
332 | 332 |
333 # TODO(GYP): Delete this after we've converted everything to GN. | 333 # TODO(GYP): Delete this after we've converted everything to GN. |
334 # The _run targets exist only for compatibility with GYP. | 334 # The _run targets exist only for compatibility with GYP. |
335 group("${target_name}_run") { | 335 group("${target_name}_run") { |
336 testonly = true | 336 testonly = true |
337 deps = [ | 337 deps = [ |
338 ":${invoker.target_name}", | 338 ":${invoker.target_name}", |
339 ] | 339 ] |
340 } | 340 } |
| 341 |
| 342 if (defined(invoker.output_name) && target_name != invoker.output_name) { |
| 343 group("${invoker.output_name}_run") { |
| 344 testonly = true |
| 345 deps = [ |
| 346 ":${invoker.target_name}", |
| 347 ] |
| 348 } |
| 349 } |
341 } | 350 } |
342 } | 351 } |
OLD | NEW |