| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 "//third_party/icu", | 168 "//third_party/icu", |
| 169 "//third_party/libaddressinput:util", | 169 "//third_party/libaddressinput:util", |
| 170 "//third_party/libphonenumber", | 170 "//third_party/libphonenumber", |
| 171 "//third_party/libjingle", | 171 "//third_party/libjingle", |
| 172 "//ui/base", | 172 "//ui/base", |
| 173 "//ui/gfx", | 173 "//ui/gfx", |
| 174 "//ui/gfx/geometry", | 174 "//ui/gfx/geometry", |
| 175 "//url", | 175 "//url", |
| 176 ] | 176 ] |
| 177 | 177 |
| 178 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 178 public_configs = [ ":autofill_browser_config" ] | 179 public_configs = [ ":autofill_browser_config" ] |
| 179 | 180 |
| 180 if (autofill_enable_sync) { | 181 if (autofill_enable_sync) { |
| 181 deps += [ "//sync" ] | 182 deps += [ "//sync" ] |
| 182 } else { | 183 } else { |
| 183 sources -= [ | 184 sources -= [ |
| 184 "webdata/autocomplete_syncable_service.cc", | 185 "webdata/autocomplete_syncable_service.cc", |
| 185 "webdata/autocomplete_syncable_service.h", | 186 "webdata/autocomplete_syncable_service.h", |
| 186 "webdata/autofill_profile_syncable_service.cc", | 187 "webdata/autofill_profile_syncable_service.cc", |
| 187 "webdata/autofill_profile_syncable_service.h", | 188 "webdata/autofill_profile_syncable_service.h", |
| 188 "webdata/autofill_wallet_syncable_service.cc", | 189 "webdata/autofill_wallet_syncable_service.cc", |
| 189 "webdata/autofill_wallet_syncable_service.h", | 190 "webdata/autofill_wallet_syncable_service.h", |
| 190 ] | 191 ] |
| 191 } | 192 } |
| 192 | |
| 193 if (is_win) { | |
| 194 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 195 cflags = [ "/wd4267" ] | |
| 196 } | |
| 197 } | 193 } |
| 198 | 194 |
| 199 static_library("test_support") { | 195 static_library("test_support") { |
| 200 testonly = true | 196 testonly = true |
| 201 sources = [ | 197 sources = [ |
| 202 "autofill_test_utils.cc", | 198 "autofill_test_utils.cc", |
| 203 "autofill_test_utils.h", | 199 "autofill_test_utils.h", |
| 204 "data_driven_test.cc", | 200 "data_driven_test.cc", |
| 205 "data_driven_test.h", | 201 "data_driven_test.h", |
| 206 "suggestion_test_helpers.h", | 202 "suggestion_test_helpers.h", |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 "//sync", | 277 "//sync", |
| 282 "//sync:test_support_sync_api", | 278 "//sync:test_support_sync_api", |
| 283 "//testing/gmock", | 279 "//testing/gmock", |
| 284 "//testing/gtest", | 280 "//testing/gtest", |
| 285 "//third_party/libphonenumber", | 281 "//third_party/libphonenumber", |
| 286 "//third_party/libjingle", | 282 "//third_party/libjingle", |
| 287 "//ui/base", | 283 "//ui/base", |
| 288 "//url", | 284 "//url", |
| 289 ] | 285 ] |
| 290 } | 286 } |
| OLD | NEW |