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 = [ | 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) ] |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 deps = [ | 236 deps = [ |
237 ":browser", | 237 ":browser", |
238 ":test_support", | 238 ":test_support", |
239 "//components/resources", | 239 "//components/resources", |
240 "//components/strings", | 240 "//components/strings", |
241 "//testing/gmock", | 241 "//testing/gmock", |
242 "//third_party/libphonenumber", | 242 "//third_party/libphonenumber", |
243 "//third_party/libjingle" | 243 "//third_party/libjingle" |
244 ] | 244 ] |
245 } | 245 } |
OLD | NEW |