1 # Copyright 2020 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 template("html_to_js") {
7 script = "//tools/polymer/html_to_js.py"
12 foreach(js_file, invoker.js_files) {
13 html_file = get_path_info(js_file, "name") + ".html"
18 outputs += [ "$target_gen_dir/" + js_file ]
23 rebase_path(".", root_build_dir),
25 rebase_path(target_gen_dir, root_build_dir),