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

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: 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
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