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

Side by Side Diff: content/browser/devtools/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 | « content/BUILD.gn ('k') | content/browser/tracing/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 import("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 # In GYP: devtools_resources target. 7 # In GYP: devtools_resources target.
8 group("resources") { 8 group("resources") {
9 deps = [ 9 deps = [
10 ":devtools_resources", 10 ":devtools_resources",
(...skipping 19 matching lines...) Expand all
30 "SHARED_INTERMEDIATE_DIR=" + rebase_path(root_gen_dir, root_build_dir), 30 "SHARED_INTERMEDIATE_DIR=" + rebase_path(root_gen_dir, root_build_dir),
31 ] 31 ]
32 32
33 deps = [ 33 deps = [
34 # This is the action that generates out .grd input file. 34 # This is the action that generates out .grd input file.
35 "//third_party/WebKit/public:blink_generate_devtools_grd", 35 "//third_party/WebKit/public:blink_generate_devtools_grd",
36 ] 36 ]
37 } 37 }
38 38
39 action("gen_devtools_protocol_constants") { 39 action("gen_devtools_protocol_constants") {
40 visibility = ":devtools_protocol_constants" 40 visibility = [ ":devtools_protocol_constants" ]
41 41
42 script = "//content/public/browser/devtools_protocol_constants_generator.py" 42 script = "//content/public/browser/devtools_protocol_constants_generator.py"
43 43
44 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json" 44 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json"
45 browser_protocol = "browser_protocol.json" 45 browser_protocol = "browser_protocol.json"
46 inputs = [ blink_protocol, browser_protocol ] 46 inputs = [ blink_protocol, browser_protocol ]
47 47
48 outputs = [ 48 outputs = [
49 "$target_gen_dir/devtools_protocol_constants.cc", 49 "$target_gen_dir/devtools_protocol_constants.cc",
50 "$target_gen_dir/devtools_protocol_constants.h", 50 "$target_gen_dir/devtools_protocol_constants.h",
51 ] 51 ]
52 52
53 args = [ "content" ] + rebase_path(outputs, root_build_dir) + [ 53 args = [ "content" ] + rebase_path(outputs, root_build_dir) + [
54 rebase_path(blink_protocol, root_build_dir), 54 rebase_path(blink_protocol, root_build_dir),
55 rebase_path(browser_protocol, root_build_dir), 55 rebase_path(browser_protocol, root_build_dir),
56 ] 56 ]
57 } 57 }
58 58
59 source_set("devtools_protocol_constants") { 59 source_set("devtools_protocol_constants") {
60 visibility = ":resources" 60 visibility = [ ":resources" ]
61 sources = get_target_outputs(":gen_devtools_protocol_constants") 61 sources = get_target_outputs(":gen_devtools_protocol_constants")
62 } 62 }
OLDNEW
« no previous file with comments | « content/BUILD.gn ('k') | content/browser/tracing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698