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

Unified Diff: third_party/WebKit/Source/core/inspector/v8/BUILD.gn

Issue 1670813003: DevTools: do not use platform/ to load injected scripts into inspector/v8. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated the chromevox script Created 4 years, 10 months 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
Index: third_party/WebKit/Source/core/inspector/v8/BUILD.gn
diff --git a/third_party/WebKit/Source/core/inspector/v8/BUILD.gn b/third_party/WebKit/Source/core/inspector/v8/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..351402212699f95ba3bd3869e896675132940305
--- /dev/null
+++ b/third_party/WebKit/Source/core/inspector/v8/BUILD.gn
@@ -0,0 +1,43 @@
+# Copyright 2016 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.
+
+v8_inspector_output_dir = "$root_gen_dir/blink/core/inspector/v8"
+
+group("injected_script_sources") {
+ public_deps = [
+ ":debugger_script",
+ ":injected_script",
+ ]
+}
+
+action("injected_script") {
+ script = "build/xxd.py"
+ inputs = [
+ "InjectedScriptSource.js",
+ ]
+ outputs = [
+ "$v8_inspector_output_dir/InjectedScriptSource.h",
+ ]
+ args = [
+ "InjectedScriptSource_js",
+ rebase_path("InjectedScriptSource.js", root_build_dir),
+ rebase_path("$v8_inspector_output_dir/InjectedScriptSource.h",
+ root_build_dir),
+ ]
+}
+
+action("debugger_script") {
+ script = "build/xxd.py"
+ inputs = [
+ "DebuggerScript.js",
+ ]
+ outputs = [
+ "$v8_inspector_output_dir/DebuggerScript.h",
+ ]
+ args = [
+ "DebuggerScript_js",
+ rebase_path("DebuggerScript.js", root_build_dir),
+ rebase_path("$v8_inspector_output_dir/DebuggerScript.h", root_build_dir),
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698