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("//third_party/WebKit/Source/bindings/bindings.gni") | 5 import("//third_party/WebKit/Source/bindings/bindings.gni") |
6 import("//third_party/WebKit/Source/core/core.gni") | 6 import("//third_party/WebKit/Source/core/core.gni") |
7 | 7 |
8 visibility = [ "//third_party/WebKit/Source/*" ] | 8 visibility = [ "//third_party/WebKit/Source/*" ] |
9 | 9 |
10 protocol_file = "../../devtools/protocol.json" | 10 protocol_file = "../../devtools/protocol.json" |
(...skipping 27 matching lines...) Expand all Loading... |
38 | 38 |
39 action("instrumentation_sources") { | 39 action("instrumentation_sources") { |
40 script = "CodeGeneratorInstrumentation.py" | 40 script = "CodeGeneratorInstrumentation.py" |
41 | 41 |
42 inputs = [ | 42 inputs = [ |
43 # Input file for the script. | 43 # Input file for the script. |
44 "InspectorInstrumentation.idl", | 44 "InspectorInstrumentation.idl", |
45 ] | 45 ] |
46 | 46 |
47 outputs = [ | 47 outputs = [ |
48 "$blink_core_output_dir/InspectorCanvasInstrumentationInl.h", | |
49 "$blink_core_output_dir/InspectorConsoleInstrumentationInl.h", | 48 "$blink_core_output_dir/InspectorConsoleInstrumentationInl.h", |
50 "$blink_core_output_dir/InspectorInstrumentationInl.h", | 49 "$blink_core_output_dir/InspectorInstrumentationInl.h", |
51 "$blink_core_output_dir/InspectorOverridesInl.h", | 50 "$blink_core_output_dir/InspectorOverridesInl.h", |
52 "$blink_core_output_dir/InstrumentingAgentsInl.h", | 51 "$blink_core_output_dir/InstrumentingAgentsInl.h", |
53 "$blink_core_output_dir/InspectorInstrumentationImpl.cpp", | 52 "$blink_core_output_dir/InspectorInstrumentationImpl.cpp", |
54 ] | 53 ] |
55 | 54 |
56 args = [ | 55 args = [ |
57 rebase_path("InspectorInstrumentation.idl", root_build_dir), | 56 rebase_path("InspectorInstrumentation.idl", root_build_dir), |
58 "--output_dir", rebase_path(blink_core_output_dir, root_build_dir), | 57 "--output_dir", rebase_path(blink_core_output_dir, root_build_dir), |
59 ] | 58 ] |
60 } | 59 } |
61 | 60 |
62 action("protocol_version") { | 61 action("protocol_version") { |
63 script = "generate-inspector-protocol-version" | 62 script = "generate-inspector-protocol-version" |
64 | 63 |
65 inputs = [ protocol_file ] | 64 inputs = [ protocol_file ] |
66 output_file = "$blink_core_output_dir/InspectorProtocolVersion.h" | 65 output_file = "$blink_core_output_dir/InspectorProtocolVersion.h" |
67 outputs = [ output_file ] | 66 outputs = [ output_file ] |
68 | 67 |
69 args = [ | 68 args = [ |
70 "-o", rebase_path(output_file, root_build_dir), | 69 "-o", rebase_path(output_file, root_build_dir), |
71 rebase_path(protocol_file, root_build_dir), | 70 rebase_path(protocol_file, root_build_dir), |
72 ] | 71 ] |
73 } | 72 } |
OLD | NEW |