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

Side by Side Diff: components/autofill/core/browser/BUILD.gn

Issue 398423007: Add initial components unit tests to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 autofill_enable_sync = !is_android_webview_build 7 autofill_enable_sync = !is_android_webview_build
8 } else { 8 } else {
9 autofill_enable_sync = true 9 autofill_enable_sync = true
10 } 10 }
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 "test_autofill_client.h", 187 "test_autofill_client.h",
188 "test_autofill_driver.cc", 188 "test_autofill_driver.cc",
189 "test_autofill_driver.h", 189 "test_autofill_driver.h",
190 "test_autofill_external_delegate.cc", 190 "test_autofill_external_delegate.cc",
191 "test_autofill_external_delegate.h", 191 "test_autofill_external_delegate.h",
192 "test_personal_data_manager.cc", 192 "test_personal_data_manager.cc",
193 "test_personal_data_manager.h", 193 "test_personal_data_manager.h",
194 ] 194 ]
195 195
196 deps = [ 196 deps = [
197 ":browser",
197 "//components/autofill/core/browser", 198 "//components/autofill/core/browser",
198 "//components/autofill/core/common", 199 "//components/autofill/core/common",
199 "//skia", 200 "//skia",
200 "//testing/gtest", 201 "//testing/gtest",
201 ] 202 ]
202 } 203 }
204
205 source_set("unit_tests") {
206 sources = [
207 "address_field_unittest.cc",
208 "address_unittest.cc",
209 "android/auxiliary_profile_unittest_android.cc",
210 "autocomplete_history_manager_unittest.cc",
211 "autofill_country_unittest.cc",
212 "autofill_data_model_unittest.cc",
213 "autofill_download_unittest.cc",
214 "autofill_external_delegate_unittest.cc",
215 "autofill_field_unittest.cc",
216 "autofill_ie_toolbar_import_win_unittest.cc",
217 "autofill_manager_unittest.cc",
218 "autofill_merge_unittest.cc",
219 "autofill_metrics_unittest.cc",
220 "autofill_profile_unittest.cc",
221 "autofill_regexes_unittest.cc",
222 "autofill_type_unittest.cc",
223 "autofill_xml_parser_unittest.cc",
224 "contact_info_unittest.cc",
225 "credit_card_field_unittest.cc",
226 "credit_card_unittest.cc",
227 "form_field_unittest.cc",
228 "form_structure_unittest.cc",
229 "name_field_unittest.cc",
230 "password_generator_unittest.cc",
231 "personal_data_manager_unittest.cc",
232 "phone_field_unittest.cc",
233 "phone_number_i18n_unittest.cc",
234 "phone_number_unittest.cc",
235 "validation_unittest.cc",
236 "webdata/autofill_profile_syncable_service_unittest.cc",
237 "webdata/autofill_table_unittest.cc",
238 "webdata/web_data_service_unittest.cc",
239 ]
240
241 configs += [ "//content:libjingle_stub_config" ]
242
243 deps = [
244 ":browser",
245 ":test_support",
246 "//components/resources",
247 "//components/strings",
248 "//testing/gmock",
249 "//third_party/libphonenumber",
250 #'../third_party/libjingle/libjingle.gyp:libjingle', TODO(GYP)
251 ]
252 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698