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

Side by Side Diff: testing/test.gni

Issue 2060943002: [iOS/GN] Add code signing rules to ios_app_bundle target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios-code-signing-gn
Patch Set: Address comments Created 4 years, 6 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
« no previous file with comments | « ios/web/shell/BUILD.gn ('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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 299
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)) {
310 entitlements_path = "//testing/gtest_ios"
311 }
312 if (!defined(code_signing_identity)) {
313 code_signing_identity = ""
314 }
315 309
316 # TODO(crbug.com/603102): remove this once gyp support is dropped and all 310 # 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. 311 # application uses the target name as value for BUNDLE_ID_TEST_NAME.
318 if (defined(invoker.app_name)) { 312 if (defined(invoker.app_name)) {
319 app_name = invoker.app_name 313 app_name = invoker.app_name
320 } else { 314 } else {
321 app_name = target_name 315 app_name = target_name
322 } 316 }
323 317
324 if (!defined(extra_substitutions)) { 318 if (!defined(extra_substitutions)) {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 if (defined(invoker.output_name) && target_name != invoker.output_name) { 359 if (defined(invoker.output_name) && target_name != invoker.output_name) {
366 group("${invoker.output_name}_run") { 360 group("${invoker.output_name}_run") {
367 testonly = true 361 testonly = true
368 deps = [ 362 deps = [
369 ":${invoker.target_name}", 363 ":${invoker.target_name}",
370 ] 364 ]
371 } 365 }
372 } 366 }
373 } 367 }
374 } 368 }
OLDNEW
« no previous file with comments | « ios/web/shell/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698