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

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

Issue 544423002: Convert GN visibility variables to lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years, 3 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
« no previous file with comments | « components/BUILD.gn ('k') | components/domain_reliability/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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 }
OLDNEW
« no previous file with comments | « components/BUILD.gn ('k') | components/domain_reliability/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698