Copy Smart Lock user preferences to local state so we can access them on the sign...
[chromium-blink-merge.git] / remoting / remoting_webapp.gypi
blob0ad3fe6b953f2e627af7cdc4ab81d3982e1c42f6
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   },
17   'dependencies': [
18     'remoting_resources',
19     'remoting_webapp_html',
20   ],
21   'conditions': [
22     ['run_jscompile != 0', {
23       'variables': {
24         'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp',
25       },
26       'actions': [
27         {
28           'action_name': 'Verify remoting webapp',
29           'inputs': [
30             '<@(remoting_webapp_crd_js_files)',
31             '<@(remoting_webapp_js_proto_files)',
32           ],
33           'outputs': [
34             '<(success_stamp)',
35           ],
36           'action': [
37             'python', '../third_party/closure_compiler/checker.py',
38             '--strict',
39             '--no-single-file',
40             '--success-stamp', '<(success_stamp)',
41             '<@(remoting_webapp_crd_js_files)',
42             '<@(remoting_webapp_js_proto_files)',
43           ],
44         },
45       ],  # actions
46     }],
47   ],
48   'actions': [
49     {
50       'action_name': 'Build Remoting WebApp',
51       'inputs': [
52         'webapp/build-webapp.py',
53         'webapp/crd/manifest.json.jinja2',
54         '<(chrome_version_path)',
55         '<(remoting_version_path)',
56         '<@(generated_html_files)',
57         '<@(remoting_webapp_crd_files)',
58         '<@(remoting_webapp_locale_files)',
59         '<@(extra_files)',
60       ],
61       'outputs': [
62         '<(output_dir)',
63         '<(zip_path)',
64       ],
65       'action': [
66         'python', 'webapp/build-webapp.py',
67         '<(buildtype)',
68         '<(version_full)',
69         '<(output_dir)',
70         '<(zip_path)',
71         'webapp/crd/manifest.json.jinja2',
72         '<(webapp_type)',
73         '<@(generated_html_files)',
74         '<@(remoting_webapp_crd_files)',
75         '<@(extra_files)',
76         '--locales', '<@(remoting_webapp_locale_files)',
77       ],
78     },
79   ],