Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: sky/engine/core/inspector/BUILD.gn

Issue 723773002: Bring back ScriptDebugServer and associated machinery (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/inspector/CodeGeneratorInspector.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/inspector/BUILD.gn
diff --git a/sky/engine/core/inspector/BUILD.gn b/sky/engine/core/inspector/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..a044b03f90bbcdbbb9e4e073b84de690400fbebb
--- /dev/null
+++ b/sky/engine/core/inspector/BUILD.gn
@@ -0,0 +1,48 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//sky/engine/bindings/bindings.gni")
+import("//sky/engine/core/core.gni")
+
+protocol_file = "protocol.json"
+
+action("protocol_sources") {
+ script = "CodeGeneratorInspector.py"
+
+ inputs = [
+ # The helper script imported by CodeGeneratorInspector.py.
+ "CodeGeneratorInspectorStrings.py",
+ protocol_file,
+ ]
+ outputs = [
+ "$sky_core_output_dir/InspectorBackendDispatcher.cpp",
+ "$sky_core_output_dir/InspectorBackendDispatcher.h",
+ "$sky_core_output_dir/InspectorFrontend.cpp",
+ "$sky_core_output_dir/InspectorFrontend.h",
+ "$sky_core_output_dir/InspectorTypeBuilder.cpp",
+ "$sky_core_output_dir/InspectorTypeBuilder.h",
+ ]
+
+ args = [
+ rebase_path(protocol_file, root_build_dir),
+ "--output_dir", rebase_path(sky_core_output_dir, root_build_dir),
+ ]
+
+ deps = [
+ ":protocol_version",
+ ]
+}
+
+action("protocol_version") {
+ script = "generate-inspector-protocol-version"
+
+ inputs = [ protocol_file ]
+ output_file = "$sky_core_output_dir/InspectorProtocolVersion.h"
+ outputs = [ output_file ]
+
+ args = [
+ "-o", rebase_path(output_file, root_build_dir),
+ rebase_path(protocol_file, root_build_dir),
+ ]
+}
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/inspector/CodeGeneratorInspector.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698