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

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

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