summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authordbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-11 18:45:16 +0000
committerdbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-11 18:47:05 +0000
commit5c59d4d7f3a6403e78d0ff40998f7171f0e9a53a (patch)
tree612f2d8468f80517d2e8255c8ce4b1ddea0f649e /ui
parent1fab290b2355fc17a815cc9e9391805d54685b73 (diff)
downloadchromium_src-5c59d4d7f3a6403e78d0ff40998f7171f0e9a53a.zip
chromium_src-5c59d4d7f3a6403e78d0ff40998f7171f0e9a53a.tar.gz
chromium_src-5c59d4d7f3a6403e78d0ff40998f7171f0e9a53a.tar.bz2
Closure compile JS files with GYP.
R=arv@chromium.org BUG=393873 Review URL: https://codereview.chromium.org/436843006 Cr-Commit-Position: refs/heads/master@{#288750} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288750 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r--ui/webui/resources/js/chromeos/compiled_resources.gyp17
-rw-r--r--ui/webui/resources/js/compiled_resources.gyp63
2 files changed, 80 insertions, 0 deletions
diff --git a/ui/webui/resources/js/chromeos/compiled_resources.gyp b/ui/webui/resources/js/chromeos/compiled_resources.gyp
new file mode 100644
index 0000000..6231af1
--- /dev/null
+++ b/ui/webui/resources/js/chromeos/compiled_resources.gyp
@@ -0,0 +1,17 @@
+# Copyright 2014 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.
+{
+ 'targets': [
+ {
+ 'target_name': 'ui_account_tweaks',
+ 'variables': {
+ 'depends': [
+ '../cr.js',
+ '../load_time_data.js'
+ ],
+ },
+ 'includes': ['../../../../../third_party/closure_compiler/compile_js.gypi'],
+ },
+ ]
+}
diff --git a/ui/webui/resources/js/compiled_resources.gyp b/ui/webui/resources/js/compiled_resources.gyp
new file mode 100644
index 0000000..e053c18
--- /dev/null
+++ b/ui/webui/resources/js/compiled_resources.gyp
@@ -0,0 +1,63 @@
+# Copyright 2014 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.
+{
+ 'targets': [
+ {
+ 'target_name': 'assert',
+ 'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
+ },
+ {
+ 'target_name': 'cr',
+ 'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
+ },
+ {
+ 'target_name': 'event_tracker',
+ 'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
+ },
+ {
+ 'target_name': 'load_time_data',
+ 'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
+ },
+ {
+ 'target_name': 'util',
+ 'variables': {
+ 'depends': ['cr.js'],
+ 'externs': ['<(CLOSURE_DIR)/externs/chrome_send_externs.js'],
+ },
+ 'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
+ },
+ {
+ 'target_name': 'local_strings',
+ 'variables': {
+ 'externs': ['template_data_externs.js'],
+ },
+ 'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
+ },
+ {
+ 'target_name': 'parse_html_subset',
+ 'variables': {
+ 'externs': ['<(CLOSURE_DIR)/externs/pending_compiler_externs.js'],
+ },
+ 'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
+ },
+ {
+ 'target_name': 'i18n_template_no_process',
+ 'variables': {
+ 'depends': ['load_time_data.js'],
+ },
+ 'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
+ },
+ {
+ 'target_name': 'i18n_template',
+ 'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
+ },
+ {
+ 'target_name': 'i18n_template2',
+ 'variables': {
+ 'depends': ['load_time_data.js'],
+ },
+ 'includes': ['../../../../third_party/closure_compiler/compile_js.gypi'],
+ },
+ ],
+}