OLD | NEW |
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 }, | 27 }, |
27 'actions': [ | 28 'actions': [ |
28 { | 29 { |
29 'action_name': 'Verify remoting webapp', | 30 'action_name': 'Verify remoting webapp', |
30 'inputs': [ | 31 'inputs': [ |
31 '<@(remoting_webapp_crd_js_files)', | 32 '<@(remoting_webapp_crd_js_files)', |
32 '<@(remoting_webapp_js_proto_files)', | 33 '<@(remoting_webapp_js_proto_files)', |
33 ], | 34 ], |
34 'outputs': [ | 35 'outputs': [ |
35 '<(success_stamp)', | 36 '<(success_stamp)', |
36 ], | 37 ], |
37 'action': [ | 38 'action': [ |
38 'python', '../third_party/closure_compiler/checker.py', | 39 'python', '../third_party/closure_compiler/checker.py', |
39 '--strict', | 40 '--strict', |
40 '--no-single-file', | 41 '--no-single-file', |
41 '--success-stamp', '<(success_stamp)', | 42 '--success-stamp', '<(success_stamp)', |
42 '<@(remoting_webapp_crd_js_files)', | 43 '<@(remoting_webapp_crd_js_files)', |
43 '<@(remoting_webapp_js_proto_files)', | 44 '<@(remoting_webapp_js_proto_files)', |
44 ], | 45 ], |
45 }, | 46 }, |
| 47 { |
| 48 'action_name': 'Verify remoting webapp with browsertests', |
| 49 'inputs': [ |
| 50 '<@(remoting_webapp_crd_js_files)', |
| 51 '<@(remoting_webapp_browsertest_all_js_files)', |
| 52 '<@(remoting_webapp_js_proto_files)', |
| 53 ], |
| 54 'outputs': [ |
| 55 '<(success_stamp_bt)', |
| 56 ], |
| 57 'action': [ |
| 58 'python', '../third_party/closure_compiler/checker.py', |
| 59 '--strict', |
| 60 '--no-single-file', |
| 61 '--success-stamp', '<(success_stamp_bt)', |
| 62 '<@(remoting_webapp_crd_js_files)', |
| 63 '<@(remoting_webapp_browsertest_all_js_files)', |
| 64 '<@(remoting_webapp_js_proto_files)', |
| 65 ], |
| 66 }, |
46 ], # actions | 67 ], # actions |
47 }], | 68 }], |
48 ], | 69 ], |
49 'actions': [ | 70 'actions': [ |
50 { | 71 { |
51 'action_name': 'Build Remoting locales listfile', | 72 'action_name': 'Build Remoting locales listfile', |
52 'inputs': [ | 73 'inputs': [ |
53 '<(remoting_localize_path)', | 74 '<(remoting_localize_path)', |
54 ], | 75 ], |
55 'outputs': [ | 76 'outputs': [ |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 '<(webapp_type)', | 112 '<(webapp_type)', |
92 '<@(generated_html_files)', | 113 '<@(generated_html_files)', |
93 '<@(remoting_webapp_crd_files)', | 114 '<@(remoting_webapp_crd_files)', |
94 '<@(extra_files)', | 115 '<@(extra_files)', |
95 '--locales_listfile', | 116 '--locales_listfile', |
96 '<(dr_webapp_locales_listfile)', | 117 '<(dr_webapp_locales_listfile)', |
97 ], | 118 ], |
98 }, | 119 }, |
99 ], | 120 ], |
100 } | 121 } |
OLD | NEW |