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

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: 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
« build/config/ios/rules.gni ('K') | « build/config/ios/rules.gni ('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 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("//ios/build/chrome_build.gni") 6 import("//ios/build/chrome_build.gni")
7 import("//ios/public/provider/chrome/browser/build_config.gni") 7 import("//ios/public/provider/chrome/browser/build_config.gni")
8 import("//ios/third_party/earl_grey/ios_eg_test.gni") 8 import("//ios/third_party/earl_grey/ios_eg_test.gni")
9 9
10 # Template wrapping ios_eg_test, setting default values for EarlGrey test 10 # Template wrapping ios_eg_test, setting default values for EarlGrey test
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 ] 123 ]
124 if (!defined(bundle_deps)) { 124 if (!defined(bundle_deps)) {
125 bundle_deps = [] 125 bundle_deps = []
126 } 126 }
127 bundle_deps += [ "//ios/chrome/app/resources" ] 127 bundle_deps += [ "//ios/chrome/app/resources" ]
128 128
129 if (!defined(extra_substitutions)) { 129 if (!defined(extra_substitutions)) {
130 extra_substitutions = [] 130 extra_substitutions = []
131 } 131 }
132 extra_substitutions += [ 132 extra_substitutions += [
133 "CHROMIUM_BUNDLE_ID=gtest.$target_name",
134 "CHROMIUM_HANDOFF_ID=$chromium_handoff_id", 133 "CHROMIUM_HANDOFF_ID=$chromium_handoff_id",
135 "CHROMIUM_SHORT_NAME=$target_name", 134 "CHROMIUM_SHORT_NAME=$target_name",
136 "CHROMIUM_URL_SCHEME_1=$url_unsecure_scheme", 135 "CHROMIUM_URL_SCHEME_1=$url_unsecure_scheme",
137 "CHROMIUM_URL_SCHEME_2=$url_secure_scheme", 136 "CHROMIUM_URL_SCHEME_2=$url_secure_scheme",
138 "CHROMIUM_URL_SCHEME_3=$url_x_callback_scheme", 137 "CHROMIUM_URL_SCHEME_3=$url_x_callback_scheme",
139 "CHROMIUM_URL_SCHEME_4=$url_channel_scheme", 138 "CHROMIUM_URL_SCHEME_4=$url_channel_scheme",
140 "EG_MAIN_APPLICATION_DELEGATE=$_eg_main_application_delegate", 139 "EG_MAIN_APPLICATION_DELEGATE=$_eg_main_application_delegate",
141 "SSOAUTH_URL_SCHEME=$url_ssoauth_scheme", 140 "SSOAUTH_URL_SCHEME=$url_ssoauth_scheme",
142 ] 141 ]
142 if (ios_automatically_manage_certs) {
143 # Use the same bundle identifier for EarlGrey tests as for unit tests
144 # when managing certificates as the number of free certs is limited.
145 extra_substitutions += [ "CHROMIUM_BUNDLE_ID=gtest.generic-unit-test" ]
146 } else {
147 extra_substitutions += [ "CHROMIUM_BUNDLE_ID=gtest.$target_name" ]
148 }
143 } 149 }
144 } 150 }
OLDNEW
« build/config/ios/rules.gni ('K') | « build/config/ios/rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698