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 # This template will generate inspector protocol source code. The code will | 5 # This template will generate inspector protocol source code. The code will |
6 # not be compiled, use get_target_outputs(<name>) to compile them. | 6 # not be compiled, use get_target_outputs(<name>) to compile them. |
7 # | 7 # |
8 # Inputs | 8 # Inputs |
9 # | 9 # |
10 # config_file (required) | 10 # config_file (required) |
(...skipping 15 matching lines...) Expand all Loading... |
26 assert(defined(invoker.inspector_protocol_dir)) | 26 assert(defined(invoker.inspector_protocol_dir)) |
27 inspector_protocol_dir = invoker.inspector_protocol_dir | 27 inspector_protocol_dir = invoker.inspector_protocol_dir |
28 | 28 |
29 action(target_name) { | 29 action(target_name) { |
30 script = "$inspector_protocol_dir/CodeGenerator.py" | 30 script = "$inspector_protocol_dir/CodeGenerator.py" |
31 | 31 |
32 inputs = [ | 32 inputs = [ |
33 invoker.config_file, | 33 invoker.config_file, |
34 "$inspector_protocol_dir/lib/Allocator_h.template", | 34 "$inspector_protocol_dir/lib/Allocator_h.template", |
35 "$inspector_protocol_dir/lib/Array_h.template", | 35 "$inspector_protocol_dir/lib/Array_h.template", |
36 "$inspector_protocol_dir/lib/BackendCallback_h.template", | |
37 "$inspector_protocol_dir/lib/Collections_h.template", | 36 "$inspector_protocol_dir/lib/Collections_h.template", |
38 "$inspector_protocol_dir/lib/DispatcherBase_cpp.template", | 37 "$inspector_protocol_dir/lib/DispatcherBase_cpp.template", |
39 "$inspector_protocol_dir/lib/DispatcherBase_h.template", | 38 "$inspector_protocol_dir/lib/DispatcherBase_h.template", |
40 "$inspector_protocol_dir/lib/ErrorSupport_cpp.template", | 39 "$inspector_protocol_dir/lib/ErrorSupport_cpp.template", |
41 "$inspector_protocol_dir/lib/ErrorSupport_h.template", | 40 "$inspector_protocol_dir/lib/ErrorSupport_h.template", |
42 "$inspector_protocol_dir/lib/Forward_h.template", | 41 "$inspector_protocol_dir/lib/Forward_h.template", |
43 "$inspector_protocol_dir/lib/FrontendChannel_h.template", | 42 "$inspector_protocol_dir/lib/FrontendChannel_h.template", |
44 "$inspector_protocol_dir/lib/Maybe_h.template", | 43 "$inspector_protocol_dir/lib/Maybe_h.template", |
45 "$inspector_protocol_dir/lib/Object_cpp.template", | 44 "$inspector_protocol_dir/lib/Object_cpp.template", |
46 "$inspector_protocol_dir/lib/Object_h.template", | 45 "$inspector_protocol_dir/lib/Object_h.template", |
(...skipping 25 matching lines...) Expand all Loading... |
72 "abspath") | 71 "abspath") |
73 | 72 |
74 forward_variables_from(invoker, | 73 forward_variables_from(invoker, |
75 [ | 74 [ |
76 "visibility", | 75 "visibility", |
77 "deps", | 76 "deps", |
78 "public_deps", | 77 "public_deps", |
79 ]) | 78 ]) |
80 } | 79 } |
81 } | 80 } |
OLD | NEW |