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 import("//third_party/inspector_protocol/inspector_protocol.gni") | 7 import("//third_party/inspector_protocol/inspector_protocol.gni") |
8 import("//v8/gni/v8.gni") | 8 import("//v8/gni/v8.gni") |
9 | 9 |
10 _inspector_protocol_dir = "//third_party/inspector_protocol" | 10 _inspector_protocol_dir = "//third_party/inspector_protocol" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 "InspectorTracingAgent.cpp", | 72 "InspectorTracingAgent.cpp", |
73 "InspectorTracingAgent.h", | 73 "InspectorTracingAgent.h", |
74 "InspectorWorkerAgent.cpp", | 74 "InspectorWorkerAgent.cpp", |
75 "InspectorWorkerAgent.h", | 75 "InspectorWorkerAgent.h", |
76 "LayoutEditor.cpp", | 76 "LayoutEditor.cpp", |
77 "LayoutEditor.h", | 77 "LayoutEditor.h", |
78 "MainThreadDebugger.cpp", | 78 "MainThreadDebugger.cpp", |
79 "MainThreadDebugger.h", | 79 "MainThreadDebugger.h", |
80 "NetworkResourcesData.cpp", | 80 "NetworkResourcesData.cpp", |
81 "NetworkResourcesData.h", | 81 "NetworkResourcesData.h", |
82 "ProtocolPlatform.h", | |
83 "ThreadDebugger.cpp", | 82 "ThreadDebugger.cpp", |
84 "ThreadDebugger.h", | 83 "ThreadDebugger.h", |
85 "V8InspectorString.cpp", | 84 "V8InspectorString.cpp", |
86 "V8InspectorString.h", | 85 "V8InspectorString.h", |
87 "WorkerInspectorController.cpp", | 86 "WorkerInspectorController.cpp", |
88 "WorkerInspectorController.h", | 87 "WorkerInspectorController.h", |
89 "WorkerThreadDebugger.cpp", | 88 "WorkerThreadDebugger.cpp", |
90 "WorkerThreadDebugger.h", | 89 "WorkerThreadDebugger.h", |
91 ] | 90 ] |
92 | 91 |
(...skipping 26 matching lines...) Expand all Loading... |
119 ] | 118 ] |
120 } | 119 } |
121 | 120 |
122 # inspector protocol ----------------------------------------------------------- | 121 # inspector protocol ----------------------------------------------------------- |
123 | 122 |
124 inspector_protocol_generate("protocol_sources") { | 123 inspector_protocol_generate("protocol_sources") { |
125 inspector_protocol_dir = _inspector_protocol_dir | 124 inspector_protocol_dir = _inspector_protocol_dir |
126 out_dir = blink_core_output_dir | 125 out_dir = blink_core_output_dir |
127 | 126 |
128 config_file = "inspector_protocol_config.json" | 127 config_file = "inspector_protocol_config.json" |
| 128 _imported = rebase_path(v8_inspector_js_protocol, root_build_dir) |
| 129 config_values = [ "imported.path=$_imported" ] |
129 | 130 |
130 inputs = [ | 131 inputs = [ |
131 "browser_protocol.json", | 132 "browser_protocol.json", |
132 v8_inspector_js_protocol, | 133 v8_inspector_js_protocol, |
133 "inspector_protocol_config.json", | 134 "inspector_protocol_config.json", |
134 ] | 135 ] |
135 | 136 |
136 # These are relative to blink_core_output_dir. | 137 # These are relative to blink_core_output_dir. |
137 outputs = [ | 138 outputs = [ |
138 "inspector/protocol/Accessibility.cpp", | 139 "inspector/protocol/Accessibility.cpp", |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 outputs = [ | 261 outputs = [ |
261 output_file, | 262 output_file, |
262 ] | 263 ] |
263 | 264 |
264 args = [ | 265 args = [ |
265 rebase_path("browser_protocol.json", root_build_dir), | 266 rebase_path("browser_protocol.json", root_build_dir), |
266 rebase_path(v8_inspector_js_protocol, root_build_dir), | 267 rebase_path(v8_inspector_js_protocol, root_build_dir), |
267 rebase_path(output_file, root_build_dir), | 268 rebase_path(output_file, root_build_dir), |
268 ] | 269 ] |
269 } | 270 } |
OLD | NEW |