Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / remoting / remoting_webapp.gypi
blob9d5a72a0eb3ea63fb0811476b2310dc05e034381
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     'main_html_file%': '<(SHARED_INTERMEDIATE_DIR)/remoting/main.html',
12     'generated_html_files': [
13       '<(SHARED_INTERMEDIATE_DIR)/remoting/background.html',
14       '<(SHARED_INTERMEDIATE_DIR)/remoting/message_window.html',
15       '<(SHARED_INTERMEDIATE_DIR)/remoting/wcs_sandbox.html',
16     ],
17     'dr_webapp_locales_listfile': '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)_locales.txt',
18   },
19   'dependencies': [
20     'remoting_resources',
21     'remoting_webapp_html',
22   ],
23   'conditions': [
24     ['run_jscompile != 0', {
25       'includes': ['remoting_webapp_compile.gypi'],
26     }],
27   ],
28   'actions': [
29     {
30       'action_name': 'Build Remoting locales listfile',
31       'inputs': [
32         '<(remoting_localize_path)',
33       ],
34       'outputs': [
35         '<(dr_webapp_locales_listfile)',
36       ],
37       'action': [
38         'python', '<(remoting_localize_path)',
39         '--locale_output',
40         '"<(webapp_locale_dir)/@{json_suffix}/messages.json"',
41         '--locales_listfile',
42         '<(dr_webapp_locales_listfile)',
43         '<@(remoting_locales)',
44       ],
45     },
46     {
47       'action_name': 'Build Remoting WebApp',
48       'inputs': [
49         'webapp/build-webapp.py',
50         'webapp/crd/manifest.json.jinja2',
51         '<(chrome_version_path)',
52         '<(remoting_version_path)',
53         '<(dr_webapp_locales_listfile)',
54         '<@(generated_html_files)',
55         '<(main_html_file)',
56         '<@(remoting_webapp_crd_files)',
57         '<@(remoting_webapp_locale_files)',
58         '<@(extra_files)',
59       ],
60       'outputs': [
61         '<(output_dir)',
62         '<(zip_path)',
63       ],
64       'action': [
65         'python', 'webapp/build-webapp.py',
66         '<(buildtype)',
67         '<(version_full)',
68         '<(output_dir)',
69         '<(zip_path)',
70         'webapp/crd/manifest.json.jinja2',
71         '<(webapp_type)',
72         '<@(generated_html_files)',
73         '<(main_html_file)',
74         '<@(remoting_webapp_crd_files)',
75         '<@(extra_files)',
76         '--locales_listfile',
77         '<(dr_webapp_locales_listfile)',
78         '--use_gcd',
79         '<(remoting_use_gcd)',
80       ],
81     },
82   ],