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

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

Issue 2500093002: [DevTools] Move IO and Tracing to new generator. (Closed)
Patch Set: roll Created 4 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_devtools_agent_host.h » ('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 import("//third_party/inspector_protocol/inspector_protocol.gni") 6 import("//third_party/inspector_protocol/inspector_protocol.gni")
7 7
8 group("resources") { 8 group("resources") {
9 public_deps = [ 9 public_deps = [
10 ":devtools_resources", 10 ":devtools_resources",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 config_file = "protocol_config.json" 48 config_file = "protocol_config.json"
49 config_values = [ "protocol.path=$_blink_protocol_path" ] 49 config_values = [ "protocol.path=$_blink_protocol_path" ]
50 50
51 inputs = [ 51 inputs = [
52 "$root_gen_dir/blink/core/inspector/protocol.json", 52 "$root_gen_dir/blink/core/inspector/protocol.json",
53 config_file, 53 config_file,
54 ] 54 ]
55 55
56 # These are relative to $target_gen_dir. 56 # These are relative to $target_gen_dir.
57 outputs = [ 57 outputs = [
58 "protocol/forward.h",
58 "protocol/io.cc", 59 "protocol/io.cc",
59 "protocol/io.h", 60 "protocol/io.h",
60 "protocol/forward.h",
61 "protocol/protocol.cc", 61 "protocol/protocol.cc",
62 "protocol/protocol.h", 62 "protocol/protocol.h",
63 "protocol/tracing.cc", 63 "protocol/tracing.cc",
64 "protocol/tracing.h", 64 "protocol/tracing.h",
65 ] 65 ]
66 } 66 }
67 67
68 action("gen_devtools_protocol_handler") { 68 action("gen_devtools_protocol_handler") {
69 visibility = [ "//content/browser" ] 69 visibility = [ "//content/browser" ]
70 deps = [ 70 deps = [
71 "//third_party/WebKit/Source/core/inspector:protocol_version", 71 "//third_party/WebKit/Source/core/inspector:protocol_version",
72 ] 72 ]
73 script = "//content/browser/devtools/protocol/" + 73 script = "//content/browser/devtools/protocol/" +
74 "devtools_protocol_handler_generator.py" 74 "devtools_protocol_handler_generator.py"
75 75
76 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json" 76 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json"
77 inputs = [ 77 inputs = [
78 blink_protocol, 78 blink_protocol,
79 ] 79 ]
80 80
81 outputs = [ 81 outputs = [
82 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", 82 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc",
83 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", 83 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h",
84 ] 84 ]
85 85
86 args = 86 args =
87 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) 87 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
88 } 88 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/browser_devtools_agent_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698