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.
7 'remoting_version.gypi',
8 'remoting_locales.gypi',
9 'remoting_options.gypi',
10 'remoting_webapp_files.gypi',
11 'app_remoting_webapp_files.gypi',
15 # GN version: //remoting/webapp:ar_shared_module
16 'target_name': 'ar_shared_module',
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',
38 'ar_shared_module_files': [
39 '<@(ar_shared_resource_files)',
40 '<@(ar_all_js_files)',
41 '<@(ar_generated_html_files)',
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',
53 'action_name': 'Build ar_shared_module locales listfile',
55 '<(remoting_localize_path)',
58 '<(ar_shared_module_locales_listfile)',
61 'python', '<(remoting_localize_path)',
63 '"<(webapp_locale_dir)/@{json_suffix}/messages.json"',
65 '<(ar_shared_module_locales_listfile)',
66 '<@(remoting_locales)',
70 'action_name': 'Build ar_shared_module application stub',
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)',
85 'python', '<(DEPTH)/remoting/webapp/build-webapp.py',
90 '<(ar_shared_module_manifest)',
91 'shared_module', # Web app type
92 '<@(ar_shared_module_files)',
94 '<(ar_shared_module_locales_listfile)',
99 'action_name': 'Build ar_shared_module main.html',
101 '<(DEPTH)/remoting/webapp/build-html.py',
102 '<(ar_main_template)',
103 '<@(ar_main_template_files)',
106 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html',
109 'python', '<(DEPTH)/remoting/webapp/build-html.py',
110 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html',
111 '<(ar_main_template)',
115 '<@(ar_main_template_files)',
117 '<@(ar_main_js_files)',
121 'action_name': 'Build ar_shared_module ar_background.html',
123 '<(DEPTH)/remoting/webapp/build-html.py',
124 '<(ar_background_template)',
127 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/ar_background.html',
130 'python', '<(DEPTH)/remoting/webapp/build-html.py',
131 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/ar_background.html',
132 '<(ar_background_template)',
136 '<@(ar_background_html_js_files)',
140 'action_name': 'Build ar_shared_module wcs_sandbox.html',
142 '<(DEPTH)/remoting/webapp/build-html.py',
143 '<(remoting_webapp_template_wcs_sandbox)',
146 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html',
149 'python', '<(DEPTH)/remoting/webapp/build-html.py',
150 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html',
151 '<(remoting_webapp_template_wcs_sandbox)',
153 '<@(remoting_webapp_wcs_sandbox_html_all_js_files)',
157 'action_name': 'Build ar_shared_module loading_window.html',
159 '<(DEPTH)/remoting/webapp/build-html.py',
160 '<(ar_loading_window_template)',
163 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/loading_window.html',
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
171 '--js', '<@(remoting_webapp_message_window_html_all_js_files)',
175 'action_name': 'Build ar_shared_module message_window.html',
177 '<(DEPTH)/remoting/webapp/build-html.py',
178 '<(remoting_webapp_template_message_window)',
181 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html',
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)',
191 'action_name': 'Build ar_shared_module feedback_consent.html',
193 '<(DEPTH)/remoting/webapp/build-html.py',
194 '<(ar_feedback_consent_template)',
197 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html',
200 'python', '<(DEPTH)/remoting/webapp/build-html.py',
201 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html',
202 '<(ar_feedback_consent_template)',
206 '<@(ar_feedback_consent_html_all_js_files)',
212 }, # end of ar_shared_module