OLD | NEW |
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 "protocol/schema.cc", | 75 "protocol/schema.cc", |
76 "protocol/schema.h", | 76 "protocol/schema.h", |
77 "protocol/security.cc", | 77 "protocol/security.cc", |
78 "protocol/security.h", | 78 "protocol/security.h", |
79 "protocol/service_worker.cc", | 79 "protocol/service_worker.cc", |
80 "protocol/service_worker.h", | 80 "protocol/service_worker.h", |
81 "protocol/storage.cc", | 81 "protocol/storage.cc", |
82 "protocol/storage.h", | 82 "protocol/storage.h", |
83 "protocol/system_info.cc", | 83 "protocol/system_info.cc", |
84 "protocol/system_info.h", | 84 "protocol/system_info.h", |
85 "protocol/target.cc", | |
86 "protocol/target.h", | |
87 "protocol/tethering.cc", | 85 "protocol/tethering.cc", |
88 "protocol/tethering.h", | 86 "protocol/tethering.h", |
89 "protocol/tracing.cc", | 87 "protocol/tracing.cc", |
90 "protocol/tracing.h", | 88 "protocol/tracing.h", |
91 ] | 89 ] |
92 } | 90 } |
93 | 91 |
94 action("gen_devtools_protocol_handler") { | 92 action("gen_devtools_protocol_handler") { |
95 visibility = [ "//content/browser" ] | 93 visibility = [ "//content/browser" ] |
96 deps = [ | 94 deps = [ |
97 "//third_party/WebKit/Source/core/inspector:protocol_version", | 95 "//third_party/WebKit/Source/core/inspector:protocol_version", |
98 ] | 96 ] |
99 script = "//content/browser/devtools/protocol/" + | 97 script = "//content/browser/devtools/protocol/" + |
100 "devtools_protocol_handler_generator.py" | 98 "devtools_protocol_handler_generator.py" |
101 | 99 |
102 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json" | 100 blink_protocol = "$root_gen_dir/blink/core/inspector/protocol.json" |
103 inputs = [ | 101 inputs = [ |
104 blink_protocol, | 102 blink_protocol, |
105 ] | 103 ] |
106 | 104 |
107 outputs = [ | 105 outputs = [ |
108 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", | 106 "$target_gen_dir/protocol/devtools_protocol_dispatcher.cc", |
109 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", | 107 "$target_gen_dir/protocol/devtools_protocol_dispatcher.h", |
110 ] | 108 ] |
111 | 109 |
112 args = | 110 args = |
113 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) | 111 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) |
114 } | 112 } |
OLD | NEW |