| 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 = [ "$target_gen_dir/autofill_regex_constants.cc" ] |
| 27 "$target_gen_dir/autofill_regex_constants.cc", | 27 |
| 28 args = [ |
| 29 "-o", |
| 30 rebase_path(target_gen_dir, root_build_dir), |
| 28 ] | 31 ] |
| 29 | |
| 30 args = [ "-o", rebase_path(target_gen_dir, root_build_dir) ] | |
| 31 args += rebase_path(inputs, root_build_dir) | 32 args += rebase_path(inputs, root_build_dir) |
| 32 } | 33 } |
| 33 | 34 |
| 34 # GYP version: components/autofill.gyp:autofill_core_browser | 35 # GYP version: components/autofill.gyp:autofill_core_browser |
| 35 static_library("browser") { | 36 static_library("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", |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 "//sync", | 259 "//sync", |
| 259 "//sync:test_support_sync_api", | 260 "//sync:test_support_sync_api", |
| 260 "//testing/gmock", | 261 "//testing/gmock", |
| 261 "//testing/gtest", | 262 "//testing/gtest", |
| 262 "//third_party/libphonenumber", | 263 "//third_party/libphonenumber", |
| 263 "//third_party/libjingle", | 264 "//third_party/libjingle", |
| 264 "//ui/base", | 265 "//ui/base", |
| 265 "//url", | 266 "//url", |
| 266 ] | 267 ] |
| 267 } | 268 } |
| OLD | NEW |