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", |
+ ] |
+} |