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 } |
11 | 11 |
12 config("autofill_browser_config") { | 12 config("autofill_browser_config") { |
13 if (autofill_enable_sync) { | 13 if (autofill_enable_sync) { |
14 defines = [ "AUTOFILL_ENABLE_SYNC" ] | 14 defines = [ "AUTOFILL_ENABLE_SYNC" ] |
15 } | 15 } |
16 } | 16 } |
17 | 17 |
18 # GYP version: components/autofill.gyp:autofill_regexes | 18 # GYP version: components/autofill.gyp:autofill_regexes |
19 action("regexes") { | 19 action("regexes") { |
20 visibility = [ "//components/autofill/*" ] | 20 visibility = [ "//components/autofill/*" ] |
21 script = "//build/escape_unicode.py" | 21 script = "//build/escape_unicode.py" |
22 | 22 |
23 inputs = [ | 23 inputs = [ |
24 "autofill_regex_constants.cc.utf8", | 24 "autofill_regex_constants.cc.utf8", |
25 ] | 25 ] |
26 outputs = [ "$target_gen_dir/autofill_regex_constants.cc" ] | 26 outputs = [ |
| 27 "$target_gen_dir/autofill_regex_constants.cc", |
| 28 ] |
27 | 29 |
28 args = [ | 30 args = [ |
29 "-o", | 31 "-o", |
30 rebase_path(target_gen_dir, root_build_dir), | 32 rebase_path(target_gen_dir, root_build_dir), |
31 ] | 33 ] |
32 args += rebase_path(inputs, root_build_dir) | 34 args += rebase_path(inputs, root_build_dir) |
33 } | 35 } |
34 | 36 |
35 # GYP version: components/autofill.gyp:autofill_core_browser | 37 # GYP version: components/autofill.gyp:autofill_core_browser |
36 static_library("browser") { | 38 static_library("browser") { |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 "//sync", | 261 "//sync", |
260 "//sync:test_support_sync_api", | 262 "//sync:test_support_sync_api", |
261 "//testing/gmock", | 263 "//testing/gmock", |
262 "//testing/gtest", | 264 "//testing/gtest", |
263 "//third_party/libphonenumber", | 265 "//third_party/libphonenumber", |
264 "//third_party/libjingle", | 266 "//third_party/libjingle", |
265 "//ui/base", | 267 "//ui/base", |
266 "//url", | 268 "//url", |
267 ] | 269 ] |
268 } | 270 } |
OLD | NEW |