Chromium Code Reviews| 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") { |
|
Dan Beam
2016/09/06 16:46:46
why are we prefixing with compile_ everywhere? wh
aberent
2016/09/06 17:30:22
The issue is that one can't have multiple BUILD.gn
|
| + 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", |
| + ] |
| +} |