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 if (!is_android) { | 5 if (!is_android) { |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 } | 8 } |
9 | 9 |
10 action("devtools_protocol_constants") { | 10 action("devtools_protocol_constants") { |
11 script = "devtools_protocol_constants_generator.py" | 11 script = "devtools_protocol_constants_generator.py" |
12 | 12 deps = [ |
13 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json" | 13 "//third_party/WebKit/Source/core/inspector:protocol_version", |
| 14 ] |
| 15 blink_protocol = |
| 16 "$target_gen_dir/../../../blink/core/inspector/protocol.json" |
14 browser_protocol = "//content/browser/devtools/browser_protocol.json" | 17 browser_protocol = "//content/browser/devtools/browser_protocol.json" |
15 inputs = [ | 18 inputs = [ |
16 blink_protocol, | 19 blink_protocol, |
17 browser_protocol, | 20 browser_protocol, |
18 ] | 21 ] |
19 outputs = [ | 22 outputs = [ |
20 "$target_gen_dir/devtools_protocol_constants.cc", | 23 "$target_gen_dir/devtools_protocol_constants.cc", |
21 "$target_gen_dir/devtools_protocol_constants.h", | 24 "$target_gen_dir/devtools_protocol_constants.h", |
22 ] | 25 ] |
23 | 26 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 "remote_debugging_server.h", | 137 "remote_debugging_server.h", |
135 ] | 138 ] |
136 if (enable_service_discovery) { | 139 if (enable_service_discovery) { |
137 sources += [ | 140 sources += [ |
138 "device/cast_device_provider.cc", | 141 "device/cast_device_provider.cc", |
139 "device/cast_device_provider.h", | 142 "device/cast_device_provider.h", |
140 ] | 143 ] |
141 } | 144 } |
142 } | 145 } |
143 } | 146 } |
OLD | NEW |