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 15 matching lines...) Expand all Loading... |
26 outputs = [ | 26 outputs = [ |
27 "$target_gen_dir/autofill_regex_constants.cc", | 27 "$target_gen_dir/autofill_regex_constants.cc", |
28 ] | 28 ] |
29 | 29 |
30 args = [ "-o", rebase_path(target_gen_dir, root_build_dir) ] | 30 args = [ "-o", rebase_path(target_gen_dir, root_build_dir) ] |
31 args += rebase_path(source_prereqs, root_build_dir) | 31 args += rebase_path(source_prereqs, root_build_dir) |
32 } | 32 } |
33 | 33 |
34 # GYP version: components/autofill.gyp:autofill_core_browser | 34 # GYP version: components/autofill.gyp:autofill_core_browser |
35 static_library("browser") { | 35 static_library("browser") { |
| 36 output_name = "autofill_core_browser" |
36 sources = [ | 37 sources = [ |
37 "address.cc", | 38 "address.cc", |
38 "address.h", | 39 "address.h", |
39 "address_field.cc", | 40 "address_field.cc", |
40 "address_field.h", | 41 "address_field.h", |
41 "address_i18n.cc", | 42 "address_i18n.cc", |
42 "address_i18n.h", | 43 "address_i18n.h", |
43 "autocomplete_history_manager.cc", | 44 "autocomplete_history_manager.cc", |
44 "autocomplete_history_manager.h", | 45 "autocomplete_history_manager.h", |
45 "autofill-inl.h", | 46 "autofill-inl.h", |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 ] | 170 ] |
170 } | 171 } |
171 | 172 |
172 if (is_win) { | 173 if (is_win) { |
173 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 174 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
174 cflags = [ "/wd4267" ] | 175 cflags = [ "/wd4267" ] |
175 } | 176 } |
176 } | 177 } |
177 | 178 |
178 static_library("test_support") { | 179 static_library("test_support") { |
| 180 output_name = "autofill_browser_test_support" |
179 sources = [ | 181 sources = [ |
180 "android/test_auxiliary_profile_loader_android.cc", | 182 "android/test_auxiliary_profile_loader_android.cc", |
181 "android/test_auxiliary_profile_loader_android.h", | 183 "android/test_auxiliary_profile_loader_android.h", |
182 "autofill_test_utils.cc", | 184 "autofill_test_utils.cc", |
183 "autofill_test_utils.h", | 185 "autofill_test_utils.h", |
184 "data_driven_test.cc", | 186 "data_driven_test.cc", |
185 "data_driven_test.h", | 187 "data_driven_test.h", |
186 "test_autofill_client.cc", | 188 "test_autofill_client.cc", |
187 "test_autofill_client.h", | 189 "test_autofill_client.h", |
188 "test_autofill_driver.cc", | 190 "test_autofill_driver.cc", |
189 "test_autofill_driver.h", | 191 "test_autofill_driver.h", |
190 "test_autofill_external_delegate.cc", | 192 "test_autofill_external_delegate.cc", |
191 "test_autofill_external_delegate.h", | 193 "test_autofill_external_delegate.h", |
192 "test_personal_data_manager.cc", | 194 "test_personal_data_manager.cc", |
193 "test_personal_data_manager.h", | 195 "test_personal_data_manager.h", |
194 ] | 196 ] |
195 | 197 |
196 deps = [ | 198 deps = [ |
197 "//components/autofill/core/browser", | 199 "//components/autofill/core/browser", |
198 "//components/autofill/core/common", | 200 "//components/autofill/core/common", |
199 "//skia", | 201 "//skia", |
200 "//testing/gtest", | 202 "//testing/gtest", |
201 ] | 203 ] |
202 } | 204 } |
OLD | NEW |