OLD | NEW |
1 # Copyright 2016 the V8 project authors. All rights reserved. | 1 # Copyright 2016 the V8 project 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("../../gni/v8.gni") | 5 import("../../gni/v8.gni") |
6 | 6 |
7 _inspector_protocol = "//third_party/WebKit/Source/platform/inspector_protocol" | 7 _inspector_protocol = v8_path_prefix + "/third_party/inspector_protocol" |
8 import("$_inspector_protocol/inspector_protocol.gni") | 8 import("$_inspector_protocol/inspector_protocol.gni") |
9 | 9 |
10 _protocol_generated = [ | 10 _protocol_generated = [ |
11 "protocol/Forward.h", | 11 "protocol/Forward.h", |
12 "protocol/Protocol.cpp", | 12 "protocol/Protocol.cpp", |
13 "protocol/Protocol.h", | 13 "protocol/Protocol.h", |
14 "protocol/Console.cpp", | 14 "protocol/Console.cpp", |
15 "protocol/Console.h", | 15 "protocol/Console.h", |
16 "protocol/Debugger.cpp", | 16 "protocol/Debugger.cpp", |
17 "protocol/Debugger.h", | 17 "protocol/Debugger.h", |
(...skipping 26 matching lines...) Expand all Loading... |
44 rebase_path("js_protocol.json", root_build_dir), | 44 rebase_path("js_protocol.json", root_build_dir), |
45 ] | 45 ] |
46 } | 46 } |
47 | 47 |
48 inspector_protocol_generate("protocol_generated_sources") { | 48 inspector_protocol_generate("protocol_generated_sources") { |
49 visibility = [ ":*" ] # Only targets in this file can depend on this. | 49 visibility = [ ":*" ] # Only targets in this file can depend on this. |
50 deps = [ | 50 deps = [ |
51 ":protocol_compatibility", | 51 ":protocol_compatibility", |
52 ] | 52 ] |
53 | 53 |
| 54 inspector_protocol_dir = _inspector_protocol |
54 out_dir = target_gen_dir | 55 out_dir = target_gen_dir |
55 config_file = "inspector_protocol_config.json" | 56 config_file = "inspector_protocol_config.json" |
56 inputs = [ | 57 inputs = [ |
57 "js_protocol.json", | 58 "js_protocol.json", |
58 "inspector_protocol_config.json", | 59 "inspector_protocol_config.json", |
59 ] | 60 ] |
60 outputs = _protocol_generated | 61 outputs = _protocol_generated |
61 } | 62 } |
62 | 63 |
63 action("inspector_injected_script") { | 64 action("inspector_injected_script") { |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 "v8-runtime-agent-impl.cc", | 181 "v8-runtime-agent-impl.cc", |
181 "v8-runtime-agent-impl.h", | 182 "v8-runtime-agent-impl.h", |
182 "v8-schema-agent-impl.cc", | 183 "v8-schema-agent-impl.cc", |
183 "v8-schema-agent-impl.h", | 184 "v8-schema-agent-impl.h", |
184 "v8-stack-trace-impl.cc", | 185 "v8-stack-trace-impl.cc", |
185 "v8-stack-trace-impl.h", | 186 "v8-stack-trace-impl.h", |
186 "v8-value-copier.cc", | 187 "v8-value-copier.cc", |
187 "v8-value-copier.h", | 188 "v8-value-copier.h", |
188 ] | 189 ] |
189 } | 190 } |
OLD | NEW |