ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / remoting / remoting_webapp.gypi
blobe7b00fdbe7e2c5dc16924741c7caf3d966e54c7d
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
3 # found in the LICENSE file.
5 # File included in remoting_webapp_* targets in remoting_client.gypi
8   'type': 'none',
9   'variables': {
10     'extra_files%': [],
11     'generated_html_files': [
12       '<(SHARED_INTERMEDIATE_DIR)/main.html',
13       '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
14       '<(SHARED_INTERMEDIATE_DIR)/background.html',
15     ],
16     'dr_webapp_locales_listfile': '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)_locales.txt',
17   },
18   'dependencies': [
19     'remoting_resources',
20     'remoting_webapp_html',
21   ],
22   'conditions': [
23     ['run_jscompile != 0', {
24       'variables': {
25         'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp',
26         'success_stamp_bt': '<(PRODUCT_DIR)/<(_target_name)_bt_jscompile.stamp',
27         'success_stamp_ut': '<(PRODUCT_DIR)/<(_target_name)_ut_jscompile.stamp',
28       },
29       'actions': [
30         {
31           'action_name': 'Verify remoting webapp',
32           'inputs': [
33             '<@(remoting_webapp_crd_js_files)',
34             '<@(remoting_webapp_js_proto_files)',
35           ],
36           'outputs': [
37             '<(success_stamp)',
38           ],
39           'action': [
40             'python', '../third_party/closure_compiler/checker.py',
41             '--strict',
42             '--no-single-file',
43             '--success-stamp', '<(success_stamp)',
44             '<@(remoting_webapp_crd_js_files)',
45             '<@(remoting_webapp_js_proto_files)',
46           ],
47         },
48         {
49           'action_name': 'Verify remoting webapp with browsertests',
50           'inputs': [
51             '<@(remoting_webapp_crd_js_files)',
52             '<@(remoting_webapp_browsertest_all_js_files)',
53             '<@(remoting_webapp_browsertest_js_proto_files)',
54           ],
55           'outputs': [
56             '<(success_stamp_bt)',
57           ],
58           'action': [
59             'python', '../third_party/closure_compiler/checker.py',
60             '--strict',
61             '--no-single-file',
62             '--success-stamp', '<(success_stamp_bt)',
63             '<@(remoting_webapp_crd_js_files)',
64             '<@(remoting_webapp_browsertest_all_js_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)',
84             '<@(remoting_webapp_unittest_all_js_files)',
85             '<@(remoting_webapp_unittest_js_proto_files)',
86           ],
87         },
88       ],  # actions
89     }],
90   ],
91   'actions': [
92     {
93       'action_name': 'Build Remoting locales listfile',
94       'inputs': [
95         '<(remoting_localize_path)',
96       ],
97       'outputs': [
98         '<(dr_webapp_locales_listfile)',
99       ],
100       'action': [
101         'python', '<(remoting_localize_path)',
102         '--locale_output',
103         '"<(webapp_locale_dir)/@{json_suffix}/messages.json"',
104         '--locales_listfile',
105         '<(dr_webapp_locales_listfile)',
106         '<@(remoting_locales)',
107       ],
108     },
109     {
110       'action_name': 'Build Remoting WebApp',
111       'inputs': [
112         'webapp/build-webapp.py',
113         'webapp/crd/manifest.json.jinja2',
114         '<(chrome_version_path)',
115         '<(remoting_version_path)',
116         '<(dr_webapp_locales_listfile)',
117         '<@(generated_html_files)',
118         '<@(remoting_webapp_crd_files)',
119         '<@(remoting_webapp_locale_files)',
120         '<@(extra_files)',
121       ],
122       'outputs': [
123         '<(output_dir)',
124         '<(zip_path)',
125       ],
126       'action': [
127         'python', 'webapp/build-webapp.py',
128         '<(buildtype)',
129         '<(version_full)',
130         '<(output_dir)',
131         '<(zip_path)',
132         'webapp/crd/manifest.json.jinja2',
133         '<(webapp_type)',
134         '<@(generated_html_files)',
135         '<@(remoting_webapp_crd_files)',
136         '<@(extra_files)',
137         '--locales_listfile',
138         '<(dr_webapp_locales_listfile)',
139       ],
140     },
141   ],