| OLD | NEW |
| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 } | 170 } |
| 171 | 171 |
| 172 if (is_win) { | 172 if (is_win) { |
| 173 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 173 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 174 cflags = [ "/wd4267" ] | 174 cflags = [ "/wd4267" ] |
| 175 } | 175 } |
| 176 } | 176 } |
| 177 | 177 |
| 178 static_library("test_support") { | 178 static_library("test_support") { |
| 179 sources = [ | 179 sources = [ |
| 180 "android/test_auxiliary_profile_loader_android.cc", | |
| 181 "android/test_auxiliary_profile_loader_android.h", | |
| 182 "autofill_test_utils.cc", | 180 "autofill_test_utils.cc", |
| 183 "autofill_test_utils.h", | 181 "autofill_test_utils.h", |
| 184 "data_driven_test.cc", | 182 "data_driven_test.cc", |
| 185 "data_driven_test.h", | 183 "data_driven_test.h", |
| 186 "test_autofill_client.cc", | 184 "test_autofill_client.cc", |
| 187 "test_autofill_client.h", | 185 "test_autofill_client.h", |
| 188 "test_autofill_driver.cc", | 186 "test_autofill_driver.cc", |
| 189 "test_autofill_driver.h", | 187 "test_autofill_driver.h", |
| 190 "test_autofill_external_delegate.cc", | 188 "test_autofill_external_delegate.cc", |
| 191 "test_autofill_external_delegate.h", | 189 "test_autofill_external_delegate.h", |
| 192 "test_personal_data_manager.cc", | 190 "test_personal_data_manager.cc", |
| 193 "test_personal_data_manager.h", | 191 "test_personal_data_manager.h", |
| 194 ] | 192 ] |
| 195 | 193 |
| 196 deps = [ | 194 deps = [ |
| 197 ":browser", | 195 ":browser", |
| 198 "//components/autofill/core/browser", | 196 "//components/autofill/core/browser", |
| 199 "//components/autofill/core/common", | 197 "//components/autofill/core/common", |
| 200 "//skia", | 198 "//skia", |
| 201 "//testing/gtest", | 199 "//testing/gtest", |
| 202 ] | 200 ] |
| 203 } | 201 } |
| 204 | 202 |
| 205 source_set("unit_tests") { | 203 source_set("unit_tests") { |
| 206 sources = [ | 204 sources = [ |
| 207 "address_field_unittest.cc", | 205 "address_field_unittest.cc", |
| 208 "address_unittest.cc", | 206 "address_unittest.cc", |
| 209 "android/auxiliary_profile_unittest_android.cc", | |
| 210 "autocomplete_history_manager_unittest.cc", | 207 "autocomplete_history_manager_unittest.cc", |
| 211 "autofill_country_unittest.cc", | 208 "autofill_country_unittest.cc", |
| 212 "autofill_data_model_unittest.cc", | 209 "autofill_data_model_unittest.cc", |
| 213 "autofill_download_manager_unittest.cc", | 210 "autofill_download_manager_unittest.cc", |
| 214 "autofill_external_delegate_unittest.cc", | 211 "autofill_external_delegate_unittest.cc", |
| 215 "autofill_field_unittest.cc", | 212 "autofill_field_unittest.cc", |
| 216 "autofill_ie_toolbar_import_win_unittest.cc", | 213 "autofill_ie_toolbar_import_win_unittest.cc", |
| 217 "autofill_manager_unittest.cc", | 214 "autofill_manager_unittest.cc", |
| 218 "autofill_merge_unittest.cc", | 215 "autofill_merge_unittest.cc", |
| 219 "autofill_metrics_unittest.cc", | 216 "autofill_metrics_unittest.cc", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 243 deps = [ | 240 deps = [ |
| 244 ":browser", | 241 ":browser", |
| 245 ":test_support", | 242 ":test_support", |
| 246 "//components/resources", | 243 "//components/resources", |
| 247 "//components/strings", | 244 "//components/strings", |
| 248 "//testing/gmock", | 245 "//testing/gmock", |
| 249 "//third_party/libphonenumber", | 246 "//third_party/libphonenumber", |
| 250 #'../third_party/libjingle/libjingle.gyp:libjingle', TODO(GYP) | 247 #'../third_party/libjingle/libjingle.gyp:libjingle', TODO(GYP) |
| 251 ] | 248 ] |
| 252 } | 249 } |
| OLD | NEW |