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

Side by Side Diff: ios/chrome/test/earl_grey/chrome_ios_eg_test.gni

Issue 2709223002: Respect ios_automatically_manage_certs when building EG tests. (Closed)
Patch Set: Address comment. Created 3 years, 10 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 | « build/config/ios/rules.gni ('k') | testing/test.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("//build/mac/tweak_info_plist.gni") 5 import("//build/mac/tweak_info_plist.gni")
6 import("//build/config/ios/ios_sdk.gni")
6 import("//ios/build/chrome_build.gni") 7 import("//ios/build/chrome_build.gni")
7 import("//ios/public/provider/chrome/browser/build_config.gni") 8 import("//ios/public/provider/chrome/browser/build_config.gni")
8 import("//ios/third_party/earl_grey/ios_eg_test.gni") 9 import("//ios/third_party/earl_grey/ios_eg_test.gni")
9 10
10 # Template wrapping ios_eg_test, setting default values for EarlGrey test 11 # Template wrapping ios_eg_test, setting default values for EarlGrey test
11 # based on //ios/chrome/app:chrome. 12 # based on //ios/chrome/app:chrome.
12 # 13 #
13 # Arguments: 14 # Arguments:
14 # 15 #
15 # info_plist: 16 # info_plist:
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 ] 124 ]
124 if (!defined(bundle_deps)) { 125 if (!defined(bundle_deps)) {
125 bundle_deps = [] 126 bundle_deps = []
126 } 127 }
127 bundle_deps += [ "//ios/chrome/app/resources" ] 128 bundle_deps += [ "//ios/chrome/app/resources" ]
128 129
129 if (!defined(extra_substitutions)) { 130 if (!defined(extra_substitutions)) {
130 extra_substitutions = [] 131 extra_substitutions = []
131 } 132 }
132 extra_substitutions += [ 133 extra_substitutions += [
133 "CHROMIUM_BUNDLE_ID=gtest.$target_name",
134 "CHROMIUM_HANDOFF_ID=$chromium_handoff_id", 134 "CHROMIUM_HANDOFF_ID=$chromium_handoff_id",
135 "CHROMIUM_SHORT_NAME=$target_name", 135 "CHROMIUM_SHORT_NAME=$target_name",
136 "CHROMIUM_URL_SCHEME_1=$url_unsecure_scheme", 136 "CHROMIUM_URL_SCHEME_1=$url_unsecure_scheme",
137 "CHROMIUM_URL_SCHEME_2=$url_secure_scheme", 137 "CHROMIUM_URL_SCHEME_2=$url_secure_scheme",
138 "CHROMIUM_URL_SCHEME_3=$url_x_callback_scheme", 138 "CHROMIUM_URL_SCHEME_3=$url_x_callback_scheme",
139 "CHROMIUM_URL_SCHEME_4=$url_channel_scheme", 139 "CHROMIUM_URL_SCHEME_4=$url_channel_scheme",
140 "EG_MAIN_APPLICATION_DELEGATE=$_eg_main_application_delegate", 140 "EG_MAIN_APPLICATION_DELEGATE=$_eg_main_application_delegate",
141 "SSOAUTH_URL_SCHEME=$url_ssoauth_scheme", 141 "SSOAUTH_URL_SCHEME=$url_ssoauth_scheme",
142 ] 142 ]
143 if (ios_automatically_manage_certs) {
144 # Use the same bundle identifier for EarlGrey tests as for unit tests
145 # when managing certificates as the number of free certs is limited.
146 extra_substitutions +=
147 [ "CHROMIUM_BUNDLE_ID=gtest.${ios_generic_test_bundle_id_suffix}" ]
148 } else {
149 extra_substitutions += [ "CHROMIUM_BUNDLE_ID=gtest.$target_name" ]
150 }
143 } 151 }
144 } 152 }
OLDNEW
« no previous file with comments | « build/config/ios/rules.gni ('k') | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698