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

Unified Diff: third_party/jstemplate/BUILD.gn

Issue 2247353004: GN files for running Closure Compiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix some nits Created 4 years, 3 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/jstemplate/BUILD.gn
diff --git a/third_party/jstemplate/BUILD.gn b/third_party/jstemplate/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..9a35cc419c515ca9257128c3fe3f23557fd18f81
--- /dev/null
+++ b/third_party/jstemplate/BUILD.gn
@@ -0,0 +1,22 @@
+# 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.
+import("//third_party/closure_compiler/compile_js2.gni")
+
+compile_js("compile_util") {
+ source_files = [ "util.js" ]
+}
+
+compile_js("compile_jsevalcontext") {
+ source_files = [ "jsevalcontext.js" ]
+ deps = [
+ ":compile_util",
+ ]
+}
+
+compile_js("compile_jstemplate") {
+ source_files = [ "jstemplate.js" ]
+ deps = [
+ ":compile_jsevalcontext",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698