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 # GYP version: components/autofill.gyp:autofill_regexes | 5 # GYP version: components/autofill.gyp:autofill_regexes |
6 action("regexes") { | 6 action("regexes") { |
7 visibility = [ "//components/autofill/*" ] | 7 visibility = [ "//components/autofill/*" ] |
8 script = "//build/escape_unicode.py" | 8 script = "//build/escape_unicode.py" |
9 | 9 |
10 inputs = [ | 10 inputs = [ |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 "webdata/autofill_webdata_backend_impl.h", | 135 "webdata/autofill_webdata_backend_impl.h", |
136 "webdata/autofill_webdata_service.cc", | 136 "webdata/autofill_webdata_service.cc", |
137 "webdata/autofill_webdata_service.h", | 137 "webdata/autofill_webdata_service.h", |
138 "webdata/autofill_webdata_service_observer.h", | 138 "webdata/autofill_webdata_service_observer.h", |
139 ] | 139 ] |
140 | 140 |
141 # Compile the generated regex file. | 141 # Compile the generated regex file. |
142 sources += get_target_outputs(":regexes") | 142 sources += get_target_outputs(":regexes") |
143 | 143 |
144 # Controls whether Wallet cards can be saved to the local instance of chrome. | 144 # Controls whether Wallet cards can be saved to the local instance of chrome. |
145 if (is_desktop_linux) { | 145 if (!is_desktop_linux) { |
146 defines = [ "ENABLE_SAVE_WALLET_CARDS_LOCALLY=0" ] | 146 defines = [ "ENABLE_SAVE_WALLET_CARDS_LOCALLY" ] |
147 } else { | |
148 defines = [ "ENABLE_SAVE_WALLET_CARDS_LOCALLY=1" ] | |
149 } | 147 } |
150 | 148 |
151 deps = [ | 149 deps = [ |
152 ":regexes", | 150 ":regexes", |
153 "//base", | 151 "//base", |
154 "//base:i18n", | 152 "//base:i18n", |
155 "//base:prefs", | 153 "//base:prefs", |
156 "//components/autofill/core/common", | 154 "//components/autofill/core/common", |
157 "//components/infobars/core", | 155 "//components/infobars/core", |
158 "//components/keyed_service/core", | 156 "//components/keyed_service/core", |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 "//sync", | 268 "//sync", |
271 "//sync:test_support_sync_api", | 269 "//sync:test_support_sync_api", |
272 "//testing/gmock", | 270 "//testing/gmock", |
273 "//testing/gtest", | 271 "//testing/gtest", |
274 "//third_party/libphonenumber", | 272 "//third_party/libphonenumber", |
275 "//third_party/libjingle", | 273 "//third_party/libjingle", |
276 "//ui/base", | 274 "//ui/base", |
277 "//url", | 275 "//url", |
278 ] | 276 ] |
279 } | 277 } |
OLD | NEW |