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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 "personal_data_manager_unittest.cc", | 229 "personal_data_manager_unittest.cc", |
232 "phone_field_unittest.cc", | 230 "phone_field_unittest.cc", |
233 "phone_number_i18n_unittest.cc", | 231 "phone_number_i18n_unittest.cc", |
234 "phone_number_unittest.cc", | 232 "phone_number_unittest.cc", |
235 "validation_unittest.cc", | 233 "validation_unittest.cc", |
236 "webdata/autofill_profile_syncable_service_unittest.cc", | 234 "webdata/autofill_profile_syncable_service_unittest.cc", |
237 "webdata/autofill_table_unittest.cc", | 235 "webdata/autofill_table_unittest.cc", |
238 "webdata/web_data_service_unittest.cc", | 236 "webdata/web_data_service_unittest.cc", |
239 ] | 237 ] |
240 | 238 |
241 configs += [ "//content:libjingle_stub_config" ] | |
242 | |
243 deps = [ | 239 deps = [ |
244 ":browser", | 240 ":browser", |
245 ":test_support", | 241 ":test_support", |
246 "//components/resources", | 242 "//components/resources", |
247 "//components/strings", | 243 "//components/strings", |
248 "//testing/gmock", | 244 "//testing/gmock", |
249 "//third_party/libphonenumber", | 245 "//third_party/libphonenumber", |
250 #'../third_party/libjingle/libjingle.gyp:libjingle', TODO(GYP) | 246 "//third_party/libjingle" |
251 ] | 247 ] |
252 } | 248 } |
OLD | NEW |