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