OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 _inspector_protocol = "//third_party/WebKit/Source/platform/inspector_protocol" | 5 _inspector_protocol = "//third_party/inspector_protocol" |
6 import("$_inspector_protocol/inspector_protocol.gni") | 6 import("$_inspector_protocol/inspector_protocol.gni") |
7 | 7 |
8 _protocol_generated = [ | 8 _protocol_generated = [ |
9 "DOM.cpp", | 9 "DOM.cpp", |
10 "DOM.h", | 10 "DOM.h", |
11 "Forward.h", | 11 "Forward.h", |
12 "Protocol.cpp", | 12 "Protocol.cpp", |
13 "Protocol.h", | 13 "Protocol.h", |
14 ] | 14 ] |
15 | 15 |
(...skipping 10 matching lines...) Expand all Loading... |
26 ] | 26 ] |
27 | 27 |
28 args = [ | 28 args = [ |
29 "--stamp", | 29 "--stamp", |
30 rebase_path(_stamp, root_build_dir), | 30 rebase_path(_stamp, root_build_dir), |
31 rebase_path("protocol.json", root_build_dir), | 31 rebase_path("protocol.json", root_build_dir), |
32 ] | 32 ] |
33 } | 33 } |
34 | 34 |
35 inspector_protocol_generate("protocol_generated_sources") { | 35 inspector_protocol_generate("protocol_generated_sources") { |
| 36 inspector_protocol_dir = _inspector_protocol |
36 visibility = [ ":*" ] # Only targets in this file can depend on this. | 37 visibility = [ ":*" ] # Only targets in this file can depend on this. |
37 | 38 |
38 deps = [ | 39 deps = [ |
39 ":protocol_compatibility", | 40 ":protocol_compatibility", |
40 ] | 41 ] |
41 | 42 |
42 out_dir = target_gen_dir | 43 out_dir = target_gen_dir |
43 config_file = "inspector_protocol_config.json" | 44 config_file = "inspector_protocol_config.json" |
44 inputs = [ | 45 inputs = [ |
45 "protocol.json", | 46 "protocol.json", |
(...skipping 22 matching lines...) Expand all Loading... |
68 cflags += [ "/wd4800" ] # Value forced to bool. | 69 cflags += [ "/wd4800" ] # Value forced to bool. |
69 } | 70 } |
70 | 71 |
71 deps = [ | 72 deps = [ |
72 ":protocol_generated_sources", | 73 ":protocol_generated_sources", |
73 "//base", | 74 "//base", |
74 "//net", | 75 "//net", |
75 "//net:http_server", | 76 "//net:http_server", |
76 ] | 77 ] |
77 } | 78 } |
OLD | NEW |