| 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/build/convert_file_to_header_with_character_
array.gni") | |
| 6 import("//third_party/WebKit/Source/bindings/bindings.gni") | 5 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| 7 import("//third_party/WebKit/Source/core/core.gni") | 6 import("//third_party/WebKit/Source/core/core.gni") |
| 8 | 7 |
| 9 visibility = "//third_party/WebKit/Source/*" | 8 visibility = "//third_party/WebKit/Source/*" |
| 10 | 9 |
| 11 protocol_file = "../../devtools/protocol.json" | 10 protocol_file = "../../devtools/protocol.json" |
| 12 | 11 |
| 13 action("protocol_sources") { | 12 action("protocol_sources") { |
| 14 script = "CodeGeneratorInspector.py" | 13 script = "CodeGeneratorInspector.py" |
| 15 | 14 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 64 |
| 66 inputs = [ protocol_file ] | 65 inputs = [ protocol_file ] |
| 67 output_file = "$blink_core_output_dir/InspectorProtocolVersion.h" | 66 output_file = "$blink_core_output_dir/InspectorProtocolVersion.h" |
| 68 outputs = [ output_file ] | 67 outputs = [ output_file ] |
| 69 | 68 |
| 70 args = [ | 69 args = [ |
| 71 "-o", rebase_path(output_file, root_build_dir), | 70 "-o", rebase_path(output_file, root_build_dir), |
| 72 rebase_path(protocol_file, root_build_dir), | 71 rebase_path(protocol_file, root_build_dir), |
| 73 ] | 72 ] |
| 74 } | 73 } |
| 75 | |
| 76 convert_file_to_header_with_character_array("inspector_overlay_page") { | |
| 77 input_file_path = "InspectorOverlayPage.html" | |
| 78 output_file_path = "$blink_core_output_dir/InspectorOverlayPage.h" | |
| 79 character_array_name = "InspectorOverlayPage_html" | |
| 80 } | |
| 81 | |
| 82 convert_file_to_header_with_character_array("injected_canvas_script_source") { | |
| 83 input_file_path = "InjectedScriptCanvasModuleSource.js" | |
| 84 output_file_path = "$blink_core_output_dir/InjectedScriptCanvasModuleSource.h" | |
| 85 character_array_name = "InjectedScriptCanvasModuleSource_js" | |
| 86 } | |
| 87 | |
| 88 convert_file_to_header_with_character_array("injected_script_source") { | |
| 89 input_file_path = "InjectedScriptSource.js" | |
| 90 output_file_path = "$blink_core_output_dir/InjectedScriptSource.h" | |
| 91 character_array_name = "InjectedScriptSource_js" | |
| 92 } | |
| 93 | |
| 94 convert_file_to_header_with_character_array("debugger_script_source") { | |
| 95 input_file_path = "$bindings_core_v8_dir/DebuggerScript.js" | |
| 96 output_file_path = "$blink_core_output_dir/DebuggerScriptSource.h" | |
| 97 character_array_name = "DebuggerScriptSource_js" | |
| 98 } | |
| OLD | NEW |