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

Side by Side Diff: ios/chrome/browser/metrics/BUILD.gn

Issue 2856933002: Move testEvictedTabReloadFailure to an external URL egtest target. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | ios/chrome/browser/metrics/external_url_tab_usage_recorder_egtest.mm » ('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 source_set("metrics") { 5 source_set("metrics") {
6 configs += [ "//build/config/compiler:enable_arc" ] 6 configs += [ "//build/config/compiler:enable_arc" ]
7 sources = [ 7 sources = [
8 "field_trial_synchronizer.cc", 8 "field_trial_synchronizer.cc",
9 "field_trial_synchronizer.h", 9 "field_trial_synchronizer.h",
10 "ios_chrome_metrics_service_accessor.cc", 10 "ios_chrome_metrics_service_accessor.cc",
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } 152 }
153 153
154 source_set("eg_tests") { 154 source_set("eg_tests") {
155 configs += [ "//build/config/compiler:enable_arc" ] 155 configs += [ "//build/config/compiler:enable_arc" ]
156 testonly = true 156 testonly = true
157 sources = [ 157 sources = [
158 "tab_usage_recorder_egtest.mm", 158 "tab_usage_recorder_egtest.mm",
159 ] 159 ]
160 deps = [ 160 deps = [
161 ":metrics_internal", 161 ":metrics_internal",
162 ":test_support",
162 "//base", 163 "//base",
163 "//base/test:test_support", 164 "//base/test:test_support",
164 "//components/strings", 165 "//components/strings",
165 "//ios/chrome/app/strings",
166 "//ios/chrome/browser",
167 "//ios/chrome/browser/ui", 166 "//ios/chrome/browser/ui",
168 "//ios/chrome/browser/ui/settings", 167 "//ios/chrome/browser/ui/settings",
169 "//ios/chrome/browser/ui/toolbar", 168 "//ios/chrome/browser/ui/toolbar",
170 "//ios/chrome/browser/ui/tools_menu", 169 "//ios/chrome/browser/ui/tools_menu",
171 "//ios/chrome/test/app:test_support", 170 "//ios/chrome/test/app:test_support",
172 "//ios/chrome/test/earl_grey:test_support", 171 "//ios/chrome/test/earl_grey:test_support",
173 "//ios/testing:ios_test_support", 172 "//ios/testing:ios_test_support",
174 "//ios/third_party/earl_grey",
175 "//ios/web:earl_grey_test_support", 173 "//ios/web:earl_grey_test_support",
176 "//ios/web:test_support", 174 "//ios/web:test_support",
177 "//ui/base", 175 "//ui/base",
176 "//url",
178 ] 177 ]
179 libs = [ "XCTest.framework" ] 178 libs = [ "XCTest.framework" ]
180 } 179 }
180
181 # TODO(crbug.com/694662): These tests depend on loading errors, which are
182 # behaving differently when the network is not available. When the underlying
183 # issue is resolved, these tests can move back to |eg_tests|.
184 source_set("external_url_eg_tests") {
185 configs += [ "//build/config/compiler:enable_arc" ]
186 testonly = true
187 sources = [
188 "external_url_tab_usage_recorder_egtest.mm",
189 ]
190 deps = [
191 ":metrics_internal",
192 ":test_support",
193 "//ios/chrome/test/app:test_support",
194 "//ios/chrome/test/earl_grey:test_support",
195 "//ios/web:test_support",
196 ]
197 libs = [ "XCTest.framework" ]
198 }
199
200 source_set("test_support") {
201 testonly = true
202 sources = [
203 "tab_usage_recorder_test_util.h",
204 "tab_usage_recorder_test_util.mm",
205 ]
206 deps = [
207 "//base",
208 "//ios/chrome/app/strings",
209 "//ios/chrome/browser/ui",
210 "//ios/chrome/browser/ui/tools_menu",
211 "//ios/chrome/test/app:test_support",
212 "//ios/chrome/test/earl_grey:test_support",
213 "//ios/testing:ios_test_support",
214 "//ui/base",
215 ]
216 configs += [ "//build/config/compiler:enable_arc" ]
217 }
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/metrics/external_url_tab_usage_recorder_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698