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

Side by Side Diff: content/browser/devtools/BUILD.gn

Issue 658163003: [DevTools] Added browser protocol to handler generator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@singleUse
Patch Set: GN fix Created 6 years, 1 month 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 | « no previous file | content/browser/devtools/browser_protocol.json » ('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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 ] 57 ]
58 } 58 }
59 59
60 action("gen_devtools_protocol_handler") { 60 action("gen_devtools_protocol_handler") {
61 visibility = [ ":devtools_protocol_handler" ] 61 visibility = [ ":devtools_protocol_handler" ]
62 62
63 script = "//content/browser/devtools/protocol/" + 63 script = "//content/browser/devtools/protocol/" +
64 "devtools_protocol_handler_generator.py" 64 "devtools_protocol_handler_generator.py"
65 65
66 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json" 66 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json"
67 inputs = [ blink_protocol ] 67 browser_protocol = "browser_protocol.json"
68 inputs = [ blink_protocol, browser_protocol ]
68 69
69 outputs = [ 70 outputs = [
70 "$target_gen_dir/protocol/devtools_protocol_handler_impl.cc", 71 "$target_gen_dir/protocol/devtools_protocol_handler_impl.cc",
71 "$target_gen_dir/protocol/devtools_protocol_handler_impl.h", 72 "$target_gen_dir/protocol/devtools_protocol_handler_impl.h",
72 ] 73 ]
73 74
74 args = [ 75 args = rebase_path(inputs, root_build_dir) +
75 rebase_path(blink_protocol, root_build_dir), 76 rebase_path(outputs, root_build_dir)
76 ] + rebase_path(outputs, root_build_dir)
77 } 77 }
78 78
79 source_set("devtools_protocol_constants") { 79 source_set("devtools_protocol_constants") {
80 visibility = [ ":resources" ] 80 visibility = [ ":resources" ]
81 sources = get_target_outputs(":gen_devtools_protocol_constants") 81 sources = get_target_outputs(":gen_devtools_protocol_constants")
82 } 82 }
83 83
84 source_set("devtools_protocol_handler") { 84 source_set("devtools_protocol_handler") {
85 visibility = [ ":resources" ] 85 visibility = [ ":resources" ]
86 sources = get_target_outputs(":gen_devtools_protocol_handler") 86 sources = get_target_outputs(":gen_devtools_protocol_handler")
87 } 87 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/browser_protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698