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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
300 # See above call. | 300 # See above call. |
301 set_sources_assignment_filter([]) | 301 set_sources_assignment_filter([]) |
302 forward_variables_from(invoker, "*", [ "testonly" ]) | 302 forward_variables_from(invoker, "*", [ "testonly" ]) |
303 | 303 |
304 # Provide sensible defaults in case invoker did not define any of those | 304 # Provide sensible defaults in case invoker did not define any of those |
305 # required variables. | 305 # required variables. |
306 if (!defined(info_plist) && !defined(info_plist_target)) { | 306 if (!defined(info_plist) && !defined(info_plist_target)) { |
307 info_plist = "//testing/gtest_ios/unittest-Info.plist" | 307 info_plist = "//testing/gtest_ios/unittest-Info.plist" |
308 } | 308 } |
309 if (!defined(entitlements_path)) { | 309 if (!defined(entitlements_path)) { |
310 entitlements_path = "//testing/gtest_ios" | 310 entitlements_path = "//testing/gtest_ios" |
sdefresne
2016/06/15 14:54:28
"//testing/gtest_ios" is a directory and an invali
| |
311 } | 311 } |
312 if (!defined(code_signing_identity)) { | |
313 code_signing_identity = "" | |
314 } | |
315 | 312 |
316 # TODO(crbug.com/603102): remove this once gyp support is dropped and all | 313 # TODO(crbug.com/603102): remove this once gyp support is dropped and all |
317 # application uses the target name as value for BUNDLE_ID_TEST_NAME. | 314 # application uses the target name as value for BUNDLE_ID_TEST_NAME. |
318 if (defined(invoker.app_name)) { | 315 if (defined(invoker.app_name)) { |
319 app_name = invoker.app_name | 316 app_name = invoker.app_name |
320 } else { | 317 } else { |
321 app_name = target_name | 318 app_name = target_name |
322 } | 319 } |
323 | 320 |
324 if (!defined(extra_substitutions)) { | 321 if (!defined(extra_substitutions)) { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
365 if (defined(invoker.output_name) && target_name != invoker.output_name) { | 362 if (defined(invoker.output_name) && target_name != invoker.output_name) { |
366 group("${invoker.output_name}_run") { | 363 group("${invoker.output_name}_run") { |
367 testonly = true | 364 testonly = true |
368 deps = [ | 365 deps = [ |
369 ":${invoker.target_name}", | 366 ":${invoker.target_name}", |
370 ] | 367 ] |
371 } | 368 } |
372 } | 369 } |
373 } | 370 } |
374 } | 371 } |
OLD | NEW |