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

Side by Side Diff: remoting/remoting_webapp.gypi

Issue 959963002: [Chromoting] Enable jscompile for webapp unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | remoting/remoting_webapp_files.gypi » ('j') | remoting/remoting_webapp_files.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 # 4 #
5 # File included in remoting_webapp_* targets in remoting_client.gypi 5 # File included in remoting_webapp_* targets in remoting_client.gypi
6 6
7 { 7 {
8 'type': 'none', 8 'type': 'none',
9 'variables': { 9 'variables': {
10 'extra_files%': [], 10 'extra_files%': [],
11 'generated_html_files': [ 11 'generated_html_files': [
12 '<(SHARED_INTERMEDIATE_DIR)/main.html', 12 '<(SHARED_INTERMEDIATE_DIR)/main.html',
13 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', 13 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
14 '<(SHARED_INTERMEDIATE_DIR)/background.html', 14 '<(SHARED_INTERMEDIATE_DIR)/background.html',
15 ], 15 ],
16 'dr_webapp_locales_listfile': '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)_lo cales.txt', 16 'dr_webapp_locales_listfile': '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)_lo cales.txt',
17 }, 17 },
18 'dependencies': [ 18 'dependencies': [
19 'remoting_resources', 19 'remoting_resources',
20 'remoting_webapp_html', 20 'remoting_webapp_html',
21 ], 21 ],
22 'conditions': [ 22 'conditions': [
23 ['run_jscompile != 0', { 23 ['run_jscompile != 0', {
24 'variables': { 24 'variables': {
25 'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp', 25 'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp',
26 'success_stamp_bt': '<(PRODUCT_DIR)/<(_target_name)_bt_jscompile.stamp', 26 'success_stamp_bt': '<(PRODUCT_DIR)/<(_target_name)_bt_jscompile.stamp',
27 'success_stamp_ut': '<(PRODUCT_DIR)/<(_target_name)_ut_jscompile.stamp',
27 }, 28 },
28 'actions': [ 29 'actions': [
29 { 30 {
30 'action_name': 'Verify remoting webapp', 31 'action_name': 'Verify remoting webapp',
31 'inputs': [ 32 'inputs': [
32 '<@(remoting_webapp_crd_js_files)', 33 '<@(remoting_webapp_crd_js_files)',
33 '<@(remoting_webapp_js_proto_files)', 34 '<@(remoting_webapp_js_proto_files)',
34 ], 35 ],
35 'outputs': [ 36 'outputs': [
36 '<(success_stamp)', 37 '<(success_stamp)',
37 ], 38 ],
38 'action': [ 39 'action': [
39 'python', '../third_party/closure_compiler/checker.py', 40 'python', '../third_party/closure_compiler/checker.py',
40 '--strict', 41 '--strict',
41 '--no-single-file', 42 '--no-single-file',
42 '--success-stamp', '<(success_stamp)', 43 '--success-stamp', '<(success_stamp)',
43 '<@(remoting_webapp_crd_js_files)', 44 '<@(remoting_webapp_crd_js_files)',
44 '<@(remoting_webapp_js_proto_files)', 45 '<@(remoting_webapp_js_proto_files)',
45 ], 46 ],
46 }, 47 },
47 { 48 {
48 'action_name': 'Verify remoting webapp with browsertests', 49 'action_name': 'Verify remoting webapp with browsertests',
49 'inputs': [ 50 'inputs': [
50 '<@(remoting_webapp_crd_js_files)', 51 '<@(remoting_webapp_crd_js_files)',
51 '<@(remoting_webapp_browsertest_all_js_files)', 52 '<@(remoting_webapp_browsertest_all_js_files)',
52 '<@(remoting_webapp_js_proto_files)', 53 '<@(remoting_webapp_browsertest_js_proto_files)',
53 ], 54 ],
54 'outputs': [ 55 'outputs': [
55 '<(success_stamp_bt)', 56 '<(success_stamp_bt)',
56 ], 57 ],
57 'action': [ 58 'action': [
58 'python', '../third_party/closure_compiler/checker.py', 59 'python', '../third_party/closure_compiler/checker.py',
59 '--strict', 60 '--strict',
60 '--no-single-file', 61 '--no-single-file',
61 '--success-stamp', '<(success_stamp_bt)', 62 '--success-stamp', '<(success_stamp_bt)',
62 '<@(remoting_webapp_crd_js_files)', 63 '<@(remoting_webapp_crd_js_files)',
kelvinp 2015/02/26 00:31:30 Would '<@(_inputs)' work so you don't need to dupl
garykac 2015/02/28 02:33:33 Using _inputs is potentially "dangerous" because i
63 '<@(remoting_webapp_browsertest_all_js_files)', 64 '<@(remoting_webapp_browsertest_all_js_files)',
64 '<@(remoting_webapp_js_proto_files)', 65 '<@(remoting_webapp_browsertest_js_proto_files)',
66 ],
67 },
68 {
69 'action_name': 'Verify remoting webapp unittests',
70 'inputs': [
71 '<@(remoting_webapp_crd_js_files)',
72 '<@(remoting_webapp_unittest_all_js_files)',
73 '<@(remoting_webapp_unittest_js_proto_files)',
74 ],
75 'outputs': [
76 '<(success_stamp_ut)',
77 ],
78 'action': [
79 'python', '../third_party/closure_compiler/checker.py',
80 '--strict',
81 '--no-single-file',
82 '--success-stamp', '<(success_stamp_ut)',
83 '<@(remoting_webapp_crd_js_files)',
kelvinp 2015/02/26 00:31:30 Same here
garykac 2015/02/28 02:33:33 ibid
84 '<@(remoting_webapp_unittest_all_js_files)',
85 '<@(remoting_webapp_unittest_js_proto_files)',
65 ], 86 ],
66 }, 87 },
67 ], # actions 88 ], # actions
68 }], 89 }],
69 ], 90 ],
70 'actions': [ 91 'actions': [
71 { 92 {
72 'action_name': 'Build Remoting locales listfile', 93 'action_name': 'Build Remoting locales listfile',
73 'inputs': [ 94 'inputs': [
74 '<(remoting_localize_path)', 95 '<(remoting_localize_path)',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 '<(webapp_type)', 133 '<(webapp_type)',
113 '<@(generated_html_files)', 134 '<@(generated_html_files)',
114 '<@(remoting_webapp_crd_files)', 135 '<@(remoting_webapp_crd_files)',
115 '<@(extra_files)', 136 '<@(extra_files)',
116 '--locales_listfile', 137 '--locales_listfile',
117 '<(dr_webapp_locales_listfile)', 138 '<(dr_webapp_locales_listfile)',
118 ], 139 ],
119 }, 140 },
120 ], 141 ],
121 } 142 }
OLDNEW
« no previous file with comments | « no previous file | remoting/remoting_webapp_files.gypi » ('j') | remoting/remoting_webapp_files.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698