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

Unified Diff: ui/webui/resources/js/BUILD.gn

Issue 2247353004: GN files for running Closure Compiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add script to generate polymer gn files 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
« no previous file with comments | « tools/polymer/generate_compiled_resources_gn.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/BUILD.gn
diff --git a/ui/webui/resources/js/BUILD.gn b/ui/webui/resources/js/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..2c5fdc05a39a8e28a939c1a3e36a15cff8722d49
--- /dev/null
+++ b/ui/webui/resources/js/BUILD.gn
@@ -0,0 +1,95 @@
+# 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_action_link") {
+ source_files = [ "action_link.js" ]
+}
+compile_js("compile_assert") {
+ source_files = [ "assert.js" ]
+}
+compile_js("compile_cr") {
+ source_files = [ "cr.js" ]
+ deps = [
+ ":compile_assert",
+ ":compile_promise_resolver",
+ ]
+ externs = [ "chrome_send.js" ]
+}
+compile_js("compile_event_tracker") {
+ source_files = [ "event_tracker.js" ]
+}
+compile_js("compile_icon") {
+ source_files = [ "icon.js" ]
+ deps = [
+ ":compile_cr",
+ ":compile_util",
+ ]
+}
+compile_js("compile_i18n_template_no_process") {
+ source_files = [ "i18n_template_no_process.js" ]
+ deps = [
+ ":compile_load_time_data",
+ ]
+ externs = [ "pending_compiler_externs.js" ]
+}
+compile_js("compile_i18n_template") {
+ source_files = [ "i18n_template.js" ]
+ deps = [
+ ":compile_load_time_data",
+ ]
+ externs = [ "pending_compiler_externs.js" ]
+}
+compile_js("compile_i18n_behavior") {
+ source_files = [ "i18n_behavior.js" ]
+ deps = [
+ ":compile_load_time_data",
+ ":compile_parse_html_subset",
+ ]
+}
+compile_js("compile_load_time_data") {
+ source_files = [ "load_time_data.js" ]
+ deps = [
+ "//third_party/jstemplate:compile_jstemplate",
+ ]
+}
+compile_js("compile_parse_html_subset") {
+ source_files = [ "parse_html_subset.js" ]
+}
+compile_js("compile_promise_resolver") {
+ source_files = [ "promise_resolver.js" ]
+ deps = [
+ ":compile_assert",
+ ]
+}
+compile_js("compile_util") {
+ source_files = [ "util.js" ]
+ deps = [
+ ":compile_cr",
+ ]
+ externs = [ "chrome_send.js" ]
+}
+compile_js("compile_web_ui_listener_behavior") {
+ source_files = [ "web_ui_listener_behavior.js" ]
+ deps = [
+ ":compile_cr",
+ ]
+}
+
+group("compile_js") {
+ deps = [
+ ":compile_action_link",
+ ":compile_assert",
+ ":compile_cr",
+ ":compile_event_tracker",
+ ":compile_i18n_behavior",
+ ":compile_i18n_template",
+ ":compile_i18n_template_no_process",
+ ":compile_load_time_data",
+ ":compile_parse_html_subset",
+ ":compile_promise_resolver",
+ ":compile_util",
+ ":compile_web_ui_listener_behavior",
+ ]
+}
« no previous file with comments | « tools/polymer/generate_compiled_resources_gn.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698