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

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

Issue 2500093002: [DevTools] Move IO and Tracing to new generator. (Closed)
Patch Set: works 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
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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/forward.h",
59 "protocol/io.cc",
60 "protocol/io.h",
59 "protocol/protocol.cc", 61 "protocol/protocol.cc",
60 "protocol/protocol.h", 62 "protocol/protocol.h",
61 "protocol/tracing.cc", 63 "protocol/tracing.cc",
62 "protocol/tracing.h", 64 "protocol/tracing.h",
63 ] 65 ]
64 } 66 }
65 67
66 action("gen_devtools_protocol_handler") { 68 action("gen_devtools_protocol_handler") {
67 visibility = [ "//content/browser" ] 69 visibility = [ "//content/browser" ]
68 deps = [ 70 deps = [
69 "//third_party/WebKit/Source/core/inspector:protocol_version", 71 "//third_party/WebKit/Source/core/inspector:protocol_version",
70 ] 72 ]
71 script = "//content/browser/devtools/protocol/" + 73 script = "//content/browser/devtools/protocol/" +
72 "devtools_protocol_handler_generator.py" 74 "devtools_protocol_handler_generator.py"
73 75
74 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json" 76 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json"
75 inputs = [ 77 inputs = [
76 blink_protocol, 78 blink_protocol,
77 ] 79 ]
78 80
79 outputs = [ 81 outputs = [
80 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", 82 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc",
81 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", 83 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h",
82 ] 84 ]
83 85
84 args = 86 args =
85 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)
86 } 88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698