OLD | NEW |
---|---|
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 Loading... | |
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 # These tests use external URLs and hit network. They will fail if the network | |
180 # is unavailable. Reference to crbug.com/694662. | |
baxley
2017/05/01 23:20:06
Is the bug reference necessary? If it is, should i
lpromero
2017/05/02 13:56:01
When crbug.com/694662 is fixed, these tests won't
| |
181 source_set("external_url_eg_tests") { | |
baxley
2017/05/01 23:20:06
Is there enough in common that it's worth creating
lpromero
2017/05/02 13:56:01
Personally, I think we could remove this external_
baxley
2017/05/02 14:18:46
No, I meant just for the tab usage recorder tests.
| |
182 configs += [ "//build/config/compiler:enable_arc" ] | |
183 testonly = true | |
184 sources = [ | |
185 "external_url_tab_usage_recorder_egtest.mm", | |
186 ] | |
187 deps = [ | |
188 ":metrics_internal", | |
189 ":test_support", | |
190 "//ios/chrome/test/app:test_support", | |
191 "//ios/chrome/test/earl_grey:test_support", | |
192 "//ios/web:test_support", | |
193 ] | |
194 libs = [ "XCTest.framework" ] | |
195 } | |
196 | |
197 source_set("test_support") { | |
198 testonly = true | |
199 sources = [ | |
200 "tab_usage_recorder_test_util.h", | |
201 "tab_usage_recorder_test_util.mm", | |
202 ] | |
203 deps = [ | |
204 "//base", | |
205 "//ios/chrome/app/strings", | |
206 "//ios/chrome/browser/ui", | |
207 "//ios/chrome/browser/ui/tools_menu", | |
208 "//ios/chrome/test/app:test_support", | |
209 "//ios/chrome/test/earl_grey:test_support", | |
210 "//ios/testing:ios_test_support", | |
211 "//ui/base", | |
212 ] | |
213 configs += [ "//build/config/compiler:enable_arc" ] | |
214 } | |
OLD | NEW |