| Index: Source/core/inspector/BUILD.gn
|
| diff --git a/Source/core/inspector/BUILD.gn b/Source/core/inspector/BUILD.gn
|
| index 3e711ccc169ef7556acb7c2fb5e9c5cc68704b1c..c3fc6abfe2ba0d32249afc8a5f76ade4bf4eec5e 100644
|
| --- a/Source/core/inspector/BUILD.gn
|
| +++ b/Source/core/inspector/BUILD.gn
|
| @@ -4,8 +4,8 @@
|
|
|
| import("//third_party/WebKit/Source/build/convert_file_to_header_with_character_array.gni")
|
| import("//third_party/WebKit/Source/bindings/bindings.gni")
|
| +import("//third_party/WebKit/Source/core/core.gni")
|
|
|
| -blink_gen_dir = "$root_gen_dir/blink"
|
| protocol_file = "../../devtools/protocol.json"
|
|
|
| action("protocol_sources") {
|
| @@ -17,17 +17,17 @@ action("protocol_sources") {
|
| protocol_file,
|
| ]
|
| outputs = [
|
| - "$blink_gen_dir/InspectorBackendDispatcher.cpp",
|
| - "$blink_gen_dir/InspectorBackendDispatcher.h",
|
| - "$blink_gen_dir/InspectorFrontend.cpp",
|
| - "$blink_gen_dir/InspectorFrontend.h",
|
| - "$blink_gen_dir/InspectorTypeBuilder.cpp",
|
| - "$blink_gen_dir/InspectorTypeBuilder.h",
|
| + "$blink_core_output_dir/InspectorBackendDispatcher.cpp",
|
| + "$blink_core_output_dir/InspectorBackendDispatcher.h",
|
| + "$blink_core_output_dir/InspectorFrontend.cpp",
|
| + "$blink_core_output_dir/InspectorFrontend.h",
|
| + "$blink_core_output_dir/InspectorTypeBuilder.cpp",
|
| + "$blink_core_output_dir/InspectorTypeBuilder.h",
|
| ]
|
|
|
| args = [
|
| rebase_path(protocol_file, root_build_dir),
|
| - "--output_dir", rebase_path(blink_gen_dir, root_build_dir),
|
| + "--output_dir", rebase_path(blink_core_output_dir, root_build_dir),
|
| ]
|
|
|
| deps = [
|
| @@ -44,17 +44,17 @@ action("instrumentation_sources") {
|
| ]
|
|
|
| outputs = [
|
| - "$blink_gen_dir/InspectorCanvasInstrumentationInl.h",
|
| - "$blink_gen_dir/InspectorConsoleInstrumentationInl.h",
|
| - "$blink_gen_dir/InspectorInstrumentationInl.h",
|
| - "$blink_gen_dir/InspectorOverridesInl.h",
|
| - "$blink_gen_dir/InstrumentingAgentsInl.h",
|
| - "$blink_gen_dir/InspectorInstrumentationImpl.cpp",
|
| + "$blink_core_output_dir/InspectorCanvasInstrumentationInl.h",
|
| + "$blink_core_output_dir/InspectorConsoleInstrumentationInl.h",
|
| + "$blink_core_output_dir/InspectorInstrumentationInl.h",
|
| + "$blink_core_output_dir/InspectorOverridesInl.h",
|
| + "$blink_core_output_dir/InstrumentingAgentsInl.h",
|
| + "$blink_core_output_dir/InspectorInstrumentationImpl.cpp",
|
| ]
|
|
|
| args = [
|
| rebase_path("InspectorInstrumentation.idl", root_build_dir),
|
| - "--output_dir", rebase_path(blink_gen_dir, root_build_dir),
|
| + "--output_dir", rebase_path(blink_core_output_dir, root_build_dir),
|
| ]
|
| }
|
|
|
| @@ -62,7 +62,7 @@ action("protocol_version") {
|
| script = "generate-inspector-protocol-version"
|
|
|
| source_prereqs = [ protocol_file ]
|
| - output_file = "$blink_gen_dir/InspectorProtocolVersion.h"
|
| + output_file = "$blink_core_output_dir/InspectorProtocolVersion.h"
|
| outputs = [ output_file ]
|
|
|
| args = [
|
| @@ -73,24 +73,24 @@ action("protocol_version") {
|
|
|
| convert_file_to_header_with_character_array("inspector_overlay_page") {
|
| input_file_path = "InspectorOverlayPage.html"
|
| - output_file_path = "$blink_gen_dir/InspectorOverlayPage.h"
|
| + output_file_path = "$blink_core_output_dir/InspectorOverlayPage.h"
|
| character_array_name = "InspectorOverlayPage_html"
|
| }
|
|
|
| convert_file_to_header_with_character_array("injected_canvas_script_source") {
|
| input_file_path = "InjectedScriptCanvasModuleSource.js"
|
| - output_file_path = "$blink_gen_dir/InjectedScriptCanvasModuleSource.h"
|
| + output_file_path = "$blink_core_output_dir/InjectedScriptCanvasModuleSource.h"
|
| character_array_name = "InjectedScriptCanvasModuleSource_js"
|
| }
|
|
|
| convert_file_to_header_with_character_array("injected_script_source") {
|
| input_file_path = "InjectedScriptSource.js"
|
| - output_file_path = "$blink_gen_dir/InjectedScriptSource.h"
|
| + output_file_path = "$blink_core_output_dir/InjectedScriptSource.h"
|
| character_array_name = "InjectedScriptSource_js"
|
| }
|
|
|
| convert_file_to_header_with_character_array("debugger_script_source") {
|
| input_file_path = "$bindings_v8_dir/DebuggerScript.js"
|
| - output_file_path = "$blink_gen_dir/DebuggerScriptSource.h"
|
| + output_file_path = "$blink_core_output_dir/DebuggerScriptSource.h"
|
| character_array_name = "DebuggerScriptSource_js"
|
| }
|
|
|