| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 "inspector/protocol/IO.cpp", | 141 "inspector/protocol/IO.cpp", |
| 142 "inspector/protocol/IO.h", | 142 "inspector/protocol/IO.h", |
| 143 "inspector/protocol/LayerTree.cpp", | 143 "inspector/protocol/LayerTree.cpp", |
| 144 "inspector/protocol/LayerTree.h", | 144 "inspector/protocol/LayerTree.h", |
| 145 "inspector/protocol/Log.cpp", | 145 "inspector/protocol/Log.cpp", |
| 146 "inspector/protocol/Log.h", | 146 "inspector/protocol/Log.h", |
| 147 "inspector/protocol/Memory.cpp", | 147 "inspector/protocol/Memory.cpp", |
| 148 "inspector/protocol/Memory.h", | 148 "inspector/protocol/Memory.h", |
| 149 "inspector/protocol/Network.cpp", | 149 "inspector/protocol/Network.cpp", |
| 150 "inspector/protocol/Network.h", | 150 "inspector/protocol/Network.h", |
| 151 "inspector/protocol/Overlay.cpp", |
| 152 "inspector/protocol/Overlay.h", |
| 151 "inspector/protocol/Page.cpp", | 153 "inspector/protocol/Page.cpp", |
| 152 "inspector/protocol/Page.h", | 154 "inspector/protocol/Page.h", |
| 153 "inspector/protocol/Protocol.cpp", | 155 "inspector/protocol/Protocol.cpp", |
| 154 "inspector/protocol/Protocol.h", | 156 "inspector/protocol/Protocol.h", |
| 155 "inspector/protocol/Rendering.cpp", | |
| 156 "inspector/protocol/Rendering.h", | |
| 157 "inspector/protocol/Runtime.h", | 157 "inspector/protocol/Runtime.h", |
| 158 "inspector/protocol/Security.cpp", | 158 "inspector/protocol/Security.cpp", |
| 159 "inspector/protocol/Security.h", | 159 "inspector/protocol/Security.h", |
| 160 "inspector/protocol/Target.cpp", | 160 "inspector/protocol/Target.cpp", |
| 161 "inspector/protocol/Target.h", | 161 "inspector/protocol/Target.h", |
| 162 "inspector/protocol/Tracing.cpp", | 162 "inspector/protocol/Tracing.cpp", |
| 163 "inspector/protocol/Tracing.h", | 163 "inspector/protocol/Tracing.h", |
| 164 ] | 164 ] |
| 165 | 165 |
| 166 deps = [ | 166 deps = [ |
| (...skipping 24 matching lines...) Expand all Loading... |
| 191 "//third_party/WebKit/Source/platform/wtf", | 191 "//third_party/WebKit/Source/platform/wtf", |
| 192 "//v8", | 192 "//v8", |
| 193 ] | 193 ] |
| 194 } | 194 } |
| 195 | 195 |
| 196 action("protocol_compatibility_check") { | 196 action("protocol_compatibility_check") { |
| 197 script = _inspector_protocol_dir + "/CheckProtocolCompatibility.py" | 197 script = _inspector_protocol_dir + "/CheckProtocolCompatibility.py" |
| 198 | 198 |
| 199 inputs = [ | 199 inputs = [ |
| 200 "browser_protocol.json", | 200 "browser_protocol.json", |
| 201 "protocol_compatibility_errors.json", |
| 201 v8_inspector_js_protocol, | 202 v8_inspector_js_protocol, |
| 202 ] | 203 ] |
| 203 _stamp = "$blink_core_output_dir/inspector/browser_protocol.stamp" | 204 _stamp = "$blink_core_output_dir/inspector/browser_protocol.stamp" |
| 204 outputs = [ | 205 outputs = [ |
| 205 _stamp, | 206 _stamp, |
| 206 ] | 207 ] |
| 207 | 208 |
| 208 args = [ | 209 args = [ |
| 209 "--stamp", | 210 "--stamp", |
| 210 rebase_path(_stamp, root_build_dir), | 211 rebase_path(_stamp, root_build_dir), |
| 212 "--expected_errors", |
| 213 rebase_path("protocol_compatibility_errors.json", root_build_dir), |
| 211 rebase_path("browser_protocol.json", root_build_dir), | 214 rebase_path("browser_protocol.json", root_build_dir), |
| 212 rebase_path(v8_inspector_js_protocol, root_build_dir), | 215 rebase_path(v8_inspector_js_protocol, root_build_dir), |
| 213 ] | 216 ] |
| 214 } | 217 } |
| 215 | 218 |
| 216 action("protocol_version") { | 219 action("protocol_version") { |
| 217 deps = [ | 220 deps = [ |
| 218 ":protocol_compatibility_check", | 221 ":protocol_compatibility_check", |
| 219 ] | 222 ] |
| 220 script = _inspector_protocol_dir + "/ConcatenateProtocols.py" | 223 script = _inspector_protocol_dir + "/ConcatenateProtocols.py" |
| 221 | 224 |
| 222 inputs = [ | 225 inputs = [ |
| 223 "browser_protocol.json", | 226 "browser_protocol.json", |
| 224 v8_inspector_js_protocol, | 227 v8_inspector_js_protocol, |
| 225 ] | 228 ] |
| 226 output_file = "$blink_core_output_dir/inspector/protocol.json" | 229 output_file = "$blink_core_output_dir/inspector/protocol.json" |
| 227 outputs = [ | 230 outputs = [ |
| 228 output_file, | 231 output_file, |
| 229 ] | 232 ] |
| 230 | 233 |
| 231 args = [ | 234 args = [ |
| 232 rebase_path("browser_protocol.json", root_build_dir), | 235 rebase_path("browser_protocol.json", root_build_dir), |
| 233 rebase_path(v8_inspector_js_protocol, root_build_dir), | 236 rebase_path(v8_inspector_js_protocol, root_build_dir), |
| 234 rebase_path(output_file, root_build_dir), | 237 rebase_path(output_file, root_build_dir), |
| 235 ] | 238 ] |
| 236 } | 239 } |
| OLD | NEW |