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

Side by Side 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 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("//mojo/public/tools/bindings/mojom.gni") 4 import("//mojo/public/tools/bindings/mojom.gni")
5 import("//third_party/node/run_node.gni")
5 6
6 mojom("mojo_bindings") { 7 mojom("mojo_bindings") {
7 sources = [ 8 sources = [
8 "plugins.mojom", 9 "plugins.mojom",
9 ] 10 ]
10 } 11 }
12
13 nodejs("node_script1") {
14 script = "script1.js"
15 }
16
17 nodejs("node_script2") {
18 script = "script2.js"
19 }
OLDNEW
« 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