Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Side by Side Diff: components/autofill/core/browser/BUILD.gn

Issue 1090373002: Remove build step that escapes unicode in autofill_regex_constants.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also remove python script Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 # GYP version: components/autofill.gyp:autofill_regexes
6 action("regexes") {
7 visibility = [ "//components/autofill/*" ]
8 script = "//build/escape_unicode.py"
9
10 inputs = [
11 "autofill_regex_constants.cc.utf8",
12 ]
13 outputs = [
14 "$target_gen_dir/autofill_regex_constants.cc",
15 ]
16
17 args = [
18 "-o",
19 rebase_path(target_gen_dir, root_build_dir),
20 ]
21 args += rebase_path(inputs, root_build_dir)
22 }
23
24 # GYP version: components/autofill.gyp:autofill_core_browser 5 # GYP version: components/autofill.gyp:autofill_core_browser
25 static_library("browser") { 6 static_library("browser") {
26 sources = [ 7 sources = [
27 "address.cc", 8 "address.cc",
28 "address.h", 9 "address.h",
29 "address_field.cc", 10 "address_field.cc",
30 "address_field.h", 11 "address_field.h",
31 "address_i18n.cc", 12 "address_i18n.cc",
32 "address_i18n.h", 13 "address_i18n.h",
33 "autocomplete_history_manager.cc", 14 "autocomplete_history_manager.cc",
(...skipping 18 matching lines...) Expand all
52 "autofill_ie_toolbar_import_win.cc", 33 "autofill_ie_toolbar_import_win.cc",
53 "autofill_ie_toolbar_import_win.h", 34 "autofill_ie_toolbar_import_win.h",
54 "autofill_manager.cc", 35 "autofill_manager.cc",
55 "autofill_manager.h", 36 "autofill_manager.h",
56 "autofill_manager_test_delegate.h", 37 "autofill_manager_test_delegate.h",
57 "autofill_metrics.cc", 38 "autofill_metrics.cc",
58 "autofill_metrics.h", 39 "autofill_metrics.h",
59 "autofill_popup_delegate.h", 40 "autofill_popup_delegate.h",
60 "autofill_profile.cc", 41 "autofill_profile.cc",
61 "autofill_profile.h", 42 "autofill_profile.h",
62 "autofill_regex_constants.cc.utf8", 43 "autofill_regex_constants.cc",
63 "autofill_regex_constants.h", 44 "autofill_regex_constants.h",
64 "autofill_regexes.cc", 45 "autofill_regexes.cc",
65 "autofill_regexes.h", 46 "autofill_regexes.h",
66 "autofill_scanner.cc", 47 "autofill_scanner.cc",
67 "autofill_scanner.h", 48 "autofill_scanner.h",
68 "autofill_server_field_info.h", 49 "autofill_server_field_info.h",
69 "autofill_sync_constants.cc", 50 "autofill_sync_constants.cc",
70 "autofill_sync_constants.h", 51 "autofill_sync_constants.h",
71 "autofill_type.cc", 52 "autofill_type.cc",
72 "autofill_type.h", 53 "autofill_type.h",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 "webdata/autofill_wallet_syncable_service.h", 112 "webdata/autofill_wallet_syncable_service.h",
132 "webdata/autofill_webdata.h", 113 "webdata/autofill_webdata.h",
133 "webdata/autofill_webdata_backend.h", 114 "webdata/autofill_webdata_backend.h",
134 "webdata/autofill_webdata_backend_impl.cc", 115 "webdata/autofill_webdata_backend_impl.cc",
135 "webdata/autofill_webdata_backend_impl.h", 116 "webdata/autofill_webdata_backend_impl.h",
136 "webdata/autofill_webdata_service.cc", 117 "webdata/autofill_webdata_service.cc",
137 "webdata/autofill_webdata_service.h", 118 "webdata/autofill_webdata_service.h",
138 "webdata/autofill_webdata_service_observer.h", 119 "webdata/autofill_webdata_service_observer.h",
139 ] 120 ]
140 121
141 # Compile the generated regex file.
142 sources += get_target_outputs(":regexes")
143
144 # Controls whether Wallet cards can be saved to the local instance of chrome. 122 # Controls whether Wallet cards can be saved to the local instance of chrome.
145 if (is_desktop_linux) { 123 if (is_desktop_linux) {
146 defines = [ "ENABLE_SAVE_WALLET_CARDS_LOCALLY=0" ] 124 defines = [ "ENABLE_SAVE_WALLET_CARDS_LOCALLY=0" ]
147 } else { 125 } else {
148 defines = [ "ENABLE_SAVE_WALLET_CARDS_LOCALLY=1" ] 126 defines = [ "ENABLE_SAVE_WALLET_CARDS_LOCALLY=1" ]
149 } 127 }
150 128
151 deps = [ 129 deps = [
152 ":regexes",
153 "//base", 130 "//base",
154 "//base:i18n", 131 "//base:i18n",
155 "//base:prefs", 132 "//base:prefs",
156 "//components/autofill/core/common", 133 "//components/autofill/core/common",
157 "//components/infobars/core", 134 "//components/infobars/core",
158 "//components/keyed_service/core", 135 "//components/keyed_service/core",
159 "//components/os_crypt", 136 "//components/os_crypt",
160 "//components/pref_registry", 137 "//components/pref_registry",
161 "//components/resources", 138 "//components/resources",
162 "//components/signin/core/common", 139 "//components/signin/core/common",
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 "//sync", 247 "//sync",
271 "//sync:test_support_sync_api", 248 "//sync:test_support_sync_api",
272 "//testing/gmock", 249 "//testing/gmock",
273 "//testing/gtest", 250 "//testing/gtest",
274 "//third_party/libphonenumber", 251 "//third_party/libphonenumber",
275 "//third_party/libjingle", 252 "//third_party/libjingle",
276 "//ui/base", 253 "//ui/base",
277 "//url", 254 "//url",
278 ] 255 ]
279 } 256 }
OLDNEW
« no previous file with comments | « components/autofill/content/browser/BUILD.gn ('k') | components/autofill/core/browser/autofill_regex_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698