| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 "//components/resources", | 142 "//components/resources", |
| 143 "//components/strings", | 143 "//components/strings", |
| 144 "//components/webdata/common", | 144 "//components/webdata/common", |
| 145 "//google_apis", | 145 "//google_apis", |
| 146 "//skia", | 146 "//skia", |
| 147 "//sql", | 147 "//sql", |
| 148 "//third_party/fips181", | 148 "//third_party/fips181", |
| 149 "//third_party/icu", | 149 "//third_party/icu", |
| 150 "//third_party/libaddressinput:util", | 150 "//third_party/libaddressinput:util", |
| 151 "//third_party/libphonenumber", | 151 "//third_party/libphonenumber", |
| 152 "//third_party/libjingle", |
| 152 "//ui/base", | 153 "//ui/base", |
| 153 "//ui/gfx", | 154 "//ui/gfx", |
| 154 "//ui/gfx/geometry", | 155 "//ui/gfx/geometry", |
| 155 "//url", | 156 "//url", |
| 156 # TODO(GYP) also remove libjingle_stub_config below when this is added: | |
| 157 #'../third_party/libjingle/libjingle.gyp:libjingle', TODO(GYP) | |
| 158 ] | 157 ] |
| 159 | 158 |
| 160 configs += [ "//content:libjingle_stub_config" ] | |
| 161 direct_dependent_configs = [ ":autofill_browser_config" ] | 159 direct_dependent_configs = [ ":autofill_browser_config" ] |
| 162 | 160 |
| 163 if (autofill_enable_sync) { | 161 if (autofill_enable_sync) { |
| 164 deps += [ "//sync" ] | 162 deps += [ "//sync" ] |
| 165 } else { | 163 } else { |
| 166 sources -= [ | 164 sources -= [ |
| 167 "webdata/autofill_profile_syncable_service.cc", | 165 "webdata/autofill_profile_syncable_service.cc", |
| 168 "webdata/autofill_profile_syncable_service.h", | 166 "webdata/autofill_profile_syncable_service.h", |
| 169 ] | 167 ] |
| 170 } | 168 } |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 "personal_data_manager_unittest.cc", | 226 "personal_data_manager_unittest.cc", |
| 229 "phone_field_unittest.cc", | 227 "phone_field_unittest.cc", |
| 230 "phone_number_i18n_unittest.cc", | 228 "phone_number_i18n_unittest.cc", |
| 231 "phone_number_unittest.cc", | 229 "phone_number_unittest.cc", |
| 232 "validation_unittest.cc", | 230 "validation_unittest.cc", |
| 233 "webdata/autofill_profile_syncable_service_unittest.cc", | 231 "webdata/autofill_profile_syncable_service_unittest.cc", |
| 234 "webdata/autofill_table_unittest.cc", | 232 "webdata/autofill_table_unittest.cc", |
| 235 "webdata/web_data_service_unittest.cc", | 233 "webdata/web_data_service_unittest.cc", |
| 236 ] | 234 ] |
| 237 | 235 |
| 238 configs += [ "//content:libjingle_stub_config" ] | |
| 239 | |
| 240 deps = [ | 236 deps = [ |
| 241 ":browser", | 237 ":browser", |
| 242 ":test_support", | 238 ":test_support", |
| 243 "//components/resources", | 239 "//components/resources", |
| 244 "//components/strings", | 240 "//components/strings", |
| 245 "//testing/gmock", | 241 "//testing/gmock", |
| 246 "//third_party/libphonenumber", | 242 "//third_party/libphonenumber", |
| 247 #'../third_party/libjingle/libjingle.gyp:libjingle', TODO(GYP) | 243 "//third_party/libjingle" |
| 248 ] | 244 ] |
| 249 } | 245 } |
| OLD | NEW |