Rename angle_deqp_tests to angle_deqp_gles2_tests.
[chromium-blink-merge.git] / remoting / app_remoting_shared_module.gyp
blob459e610593c4f5caf69436e8e4e48685230f2385
1 # Copyright 2015 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.
6   'includes': [
7     'remoting_version.gypi',
8     'remoting_locales.gypi',
9     'remoting_options.gypi',
10     'remoting_webapp_files.gypi',
11     'app_remoting_webapp_files.gypi',
12   ],
13   'targets': [
14     {
15       # GN version: //remoting/webapp:ar_shared_module
16       'target_name': 'ar_shared_module',
17       'type': 'none',
20       'variables': {
21         'app_key': 'Sample_App',
22         'app_id': 'ljacajndfccfgnfohlgkdphmbnpkjflk',
23         'app_client_id': 'sample_client_id',
24         'app_name': 'App Remoting Client',
25         'app_description': 'App Remoting client',
27         'ar_shared_module_manifest': 'webapp/app_remoting/shared_module/manifest.json',
29         'ar_generated_html_files': [
30           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html',
31           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/ar_background.html',
32           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html',
33           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/loading_window.html',
34           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html',
35           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html',
36           '<(SHARED_INTERMEDIATE_DIR)/remoting/credits.html',
37         ],
38         'ar_shared_module_files': [
39           '<@(ar_shared_resource_files)',
40           '<@(ar_all_js_files)',
41           '<@(ar_generated_html_files)',
42         ],
43         'output_dir': '<(PRODUCT_DIR)/app_streaming/>(_target_name)',
44         'zip_path': '<(PRODUCT_DIR)/app_streaming/>(_target_name).zip',
46         'ar_shared_module_locales_listfile': '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)_locales.txt',
48       },
51     'actions': [
52       {
53         'action_name': 'Build ar_shared_module locales listfile',
54         'inputs': [
55           '<(remoting_localize_path)',
56         ],
57         'outputs': [
58           '<(ar_shared_module_locales_listfile)',
59         ],
60         'action': [
61           'python', '<(remoting_localize_path)',
62           '--locale_output',
63           '"<(webapp_locale_dir)/@{json_suffix}/messages.json"',
64           '--locales_listfile',
65           '<(ar_shared_module_locales_listfile)',
66           '<@(remoting_locales)',
67         ],
68       },
69       {
70         'action_name': 'Build ar_shared_module application stub',
71         'inputs': [
72           '<(DEPTH)/remoting/webapp/build-webapp.py',
73           '<(chrome_version_path)',
74           '<(remoting_version_path)',
75           '<@(ar_shared_module_files)',
76           '<@(remoting_webapp_locale_files)',
77           '<(ar_shared_module_manifest)',
78           '<(ar_shared_module_locales_listfile)',
79         ],
80         'outputs': [
81           '<(output_dir)',
82           '<(zip_path)',
83         ],
84         'action': [
85           'python', '<(DEPTH)/remoting/webapp/build-webapp.py',
86           '<(buildtype)',
87           '<(version_full)',
88           '<(output_dir)',
89           '<(zip_path)',
90           '<(ar_shared_module_manifest)',
91           'shared_module',  # Web app type
92           '<@(ar_shared_module_files)',
93           '--locales_listfile',
94           '<(ar_shared_module_locales_listfile)',
95         ],
96       },
98       {
99         'action_name': 'Build ar_shared_module main.html',
100         'inputs': [
101           '<(DEPTH)/remoting/webapp/build-html.py',
102           '<(ar_main_template)',
103           '<@(ar_main_template_files)',
104         ],
105         'outputs': [
106           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html',
107         ],
108         'action': [
109           'python', '<(DEPTH)/remoting/webapp/build-html.py',
110           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html',
111           '<(ar_main_template)',
112           '--template-dir',
113           '<(DEPTH)/remoting',
114           '--templates',
115           '<@(ar_main_template_files)',
116           '--js',
117           '<@(ar_main_js_files)',
118         ],
119       },
120       {
121         'action_name': 'Build ar_shared_module ar_background.html',
122         'inputs': [
123           '<(DEPTH)/remoting/webapp/build-html.py',
124           '<(ar_background_template)',
125         ],
126         'outputs': [
127           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/ar_background.html',
128         ],
129         'action': [
130           'python', '<(DEPTH)/remoting/webapp/build-html.py',
131           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/ar_background.html',
132           '<(ar_background_template)',
133           '--template-dir',
134           '<(DEPTH)/remoting',
135           '--js',
136           '<@(ar_background_html_js_files)',
137         ],
138       },
139       {
140         'action_name': 'Build ar_shared_module wcs_sandbox.html',
141         'inputs': [
142           '<(DEPTH)/remoting/webapp/build-html.py',
143           '<(remoting_webapp_template_wcs_sandbox)',
144         ],
145         'outputs': [
146           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html',
147         ],
148         'action': [
149           'python', '<(DEPTH)/remoting/webapp/build-html.py',
150           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html',
151           '<(remoting_webapp_template_wcs_sandbox)',
152           '--js',
153           '<@(remoting_webapp_wcs_sandbox_html_all_js_files)',
154         ],
155       },
156       {
157         'action_name': 'Build ar_shared_module loading_window.html',
158         'inputs': [
159           '<(DEPTH)/remoting/webapp/build-html.py',
160           '<(ar_loading_window_template)',
161         ],
162         'outputs': [
163           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/loading_window.html',
164         ],
165         'action': [
166           'python', '<(DEPTH)/remoting/webapp/build-html.py',
167           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/loading_window.html',
168           '<(ar_loading_window_template)',
169           # The loading window is just a reskin of the message window--all
170           # JS code is shared.
171           '--js', '<@(remoting_webapp_message_window_html_all_js_files)',
172         ],
173       },
174       {
175         'action_name': 'Build ar_shared_module message_window.html',
176         'inputs': [
177           '<(DEPTH)/remoting/webapp/build-html.py',
178           '<(remoting_webapp_template_message_window)',
179         ],
180         'outputs': [
181           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html',
182         ],
183         'action': [
184           'python', '<(DEPTH)/remoting/webapp/build-html.py',
185           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html',
186           '<(remoting_webapp_template_message_window)',
187           '--js', '<@(remoting_webapp_message_window_html_all_js_files)',
188         ],
189       },
190       {
191         'action_name': 'Build ar_shared_module feedback_consent.html',
192         'inputs': [
193           '<(DEPTH)/remoting/webapp/build-html.py',
194           '<(ar_feedback_consent_template)',
195         ],
196         'outputs': [
197           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html',
198         ],
199         'action': [
200           'python', '<(DEPTH)/remoting/webapp/build-html.py',
201           '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html',
202           '<(ar_feedback_consent_template)',
203           '--template-dir',
204           '<(DEPTH)/remoting',
205           '--js',
206           '<@(ar_feedback_consent_html_all_js_files)',
207         ],
208       },
209     ],  # actions
212     },  # end of ar_shared_module
214   ],  # end of targets