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

Unified Diff: chrome/browser/ui/webui/plugins/BUILD.gn

Issue 2533153002: DO NOT SUBMIT, call node from GN.
Patch Set: Run different scripts with nodejs() Created 4 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 | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/webui/plugins/script1.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/plugins/BUILD.gn
diff --git a/chrome/browser/ui/webui/plugins/BUILD.gn b/chrome/browser/ui/webui/plugins/BUILD.gn
index 6d35c06b4c433165f95763c290a56892b31d70a9..b03037696c6933ac328defa9c984f799edcfd879 100644
--- a/chrome/browser/ui/webui/plugins/BUILD.gn
+++ b/chrome/browser/ui/webui/plugins/BUILD.gn
@@ -2,9 +2,18 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/public/tools/bindings/mojom.gni")
+import("//third_party/node/run_node.gni")
mojom("mojo_bindings") {
sources = [
"plugins.mojom",
]
}
+
+nodejs("node_script1") {
+ script = "script1.js"
+}
+
+nodejs("node_script2") {
+ script = "script2.js"
+}
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/webui/plugins/script1.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698