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',
19 'remoting_nacl.gyp:remoting_client_plugin_nacl',
22 'app_key': 'Sample_App',
23 'app_id': 'ljacajndfccfgnfohlgkdphmbnpkjflk',
24 'app_client_id': 'sample_client_id',
25 'app_name': 'App Remoting Client',
26 'app_description': 'App Remoting client',
28 'ar_shared_module_manifest': 'webapp/app_remoting/shared_module/manifest.json',
30 'ar_generated_html_files': [
31 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html',
32 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/ar_background.html',
33 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html',
34 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/loading_window.html',
35 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html',
36 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html',
37 '<(SHARED_INTERMEDIATE_DIR)/remoting/credits.html',
39 'ar_shared_module_files': [
40 '<@(ar_shared_resource_files)',
41 '<@(ar_all_js_files)',
42 '<@(ar_generated_html_files)',
45 'webapp/crd/remoting_client_pnacl.nmf.jinja2',
46 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe',
48 'output_dir': '<(PRODUCT_DIR)/app_streaming/>(_target_name)',
49 'zip_path': '<(PRODUCT_DIR)/app_streaming/>(_target_name).zip',
51 'ar_shared_module_locales_listfile': '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)_locales.txt',
53 ['buildtype == "Dev"', {
55 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe.debug',
63 'action_name': 'Build ar_shared_module locales listfile',
65 '<(remoting_localize_path)',
68 '<(ar_shared_module_locales_listfile)',
71 'python', '<(remoting_localize_path)',
73 '"<(webapp_locale_dir)/@{json_suffix}/messages.json"',
75 '<(ar_shared_module_locales_listfile)',
76 '<@(remoting_locales)',
80 'action_name': 'Build ar_shared_module application stub',
82 '<(DEPTH)/remoting/webapp/build-webapp.py',
83 '<(chrome_version_path)',
84 '<(remoting_version_path)',
85 '<@(ar_shared_module_files)',
86 '<@(remoting_webapp_locale_files)',
87 '<(ar_shared_module_manifest)',
88 '<(ar_shared_module_locales_listfile)',
96 'python', '<(DEPTH)/remoting/webapp/build-webapp.py',
101 '<(ar_shared_module_manifest)',
102 'shared_module', # Web app type
103 '<@(ar_shared_module_files)',
105 '--locales_listfile',
106 '<(ar_shared_module_locales_listfile)',
110 'action_name': 'Build ar_shared_module main.html',
112 '<(DEPTH)/remoting/webapp/build-html.py',
113 '<(ar_main_template)',
114 '<@(ar_main_template_files)',
117 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html',
120 'python', '<(DEPTH)/remoting/webapp/build-html.py',
121 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html',
122 '<(ar_main_template)',
126 '<@(ar_main_template_files)',
128 '<@(ar_main_js_files)',
132 'action_name': 'Build ar_shared_module ar_background.html',
134 '<(DEPTH)/remoting/webapp/build-html.py',
135 '<(ar_background_template)',
138 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/ar_background.html',
141 'python', '<(DEPTH)/remoting/webapp/build-html.py',
142 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/ar_background.html',
143 '<(ar_background_template)',
147 '<@(ar_background_html_js_files)',
151 'action_name': 'Build ar_shared_module wcs_sandbox.html',
153 '<(DEPTH)/remoting/webapp/build-html.py',
154 '<(remoting_webapp_template_wcs_sandbox)',
157 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html',
160 'python', '<(DEPTH)/remoting/webapp/build-html.py',
161 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html',
162 '<(remoting_webapp_template_wcs_sandbox)',
164 '<@(remoting_webapp_wcs_sandbox_html_all_js_files)',
168 'action_name': 'Build ar_shared_module loading_window.html',
170 '<(DEPTH)/remoting/webapp/build-html.py',
171 '<(ar_loading_window_template)',
174 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/loading_window.html',
177 'python', '<(DEPTH)/remoting/webapp/build-html.py',
178 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/loading_window.html',
179 '<(ar_loading_window_template)',
180 # The loading window is just a reskin of the message window--all
182 '--js', '<@(remoting_webapp_message_window_html_all_js_files)',
186 'action_name': 'Build ar_shared_module message_window.html',
188 '<(DEPTH)/remoting/webapp/build-html.py',
189 '<(remoting_webapp_template_message_window)',
192 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html',
195 'python', '<(DEPTH)/remoting/webapp/build-html.py',
196 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html',
197 '<(remoting_webapp_template_message_window)',
198 '--js', '<@(remoting_webapp_message_window_html_all_js_files)',
202 'action_name': 'Build ar_shared_module feedback_consent.html',
204 '<(DEPTH)/remoting/webapp/build-html.py',
205 '<(ar_feedback_consent_template)',
208 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html',
211 'python', '<(DEPTH)/remoting/webapp/build-html.py',
212 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html',
213 '<(ar_feedback_consent_template)',
217 '<@(ar_feedback_consent_html_all_js_files)',
221 }, # end of ar_shared_module