| 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" |
| 11 | 11 |
| 12 action("protocol_sources") { | 12 action("protocol_sources") { |
| 13 script = "CodeGeneratorInspector.py" | 13 script = "CodeGeneratorInspector.py" |
| 14 | 14 |
| 15 inputs = [ | 15 inputs = [ |
| 16 # The helper script imported by CodeGeneratorInspector.py. | 16 # The helper script imported by CodeGeneratorInspector.py. |
| 17 "CodeGeneratorInspectorStrings.py", | 17 "CodeGeneratorInspectorStrings.py", |
| 18 protocol_file, | 18 protocol_file, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 inputs = [ protocol_file ] | 65 inputs = [ protocol_file ] |
| 66 output_file = "$blink_core_output_dir/InspectorProtocolVersion.h" | 66 output_file = "$blink_core_output_dir/InspectorProtocolVersion.h" |
| 67 outputs = [ output_file ] | 67 outputs = [ output_file ] |
| 68 | 68 |
| 69 args = [ | 69 args = [ |
| 70 "-o", rebase_path(output_file, root_build_dir), | 70 "-o", rebase_path(output_file, root_build_dir), |
| 71 rebase_path(protocol_file, root_build_dir), | 71 rebase_path(protocol_file, root_build_dir), |
| 72 ] | 72 ] |
| 73 } | 73 } |
| OLD | NEW |