OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 'remoting_version.gypi', | 7 'remoting_version.gypi', |
8 'remoting_locales.gypi', | 8 'remoting_locales.gypi', |
9 'remoting_webapp_files.gypi', | 9 'remoting_webapp_files.gypi', |
10 'app_remoting_webapp_files.gypi', | 10 'app_remoting_webapp_files.gypi', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 'ar_app_manifest_common': | 51 'ar_app_manifest_common': |
52 'webapp/app_remoting/manifest_common.json.jinja2', | 52 'webapp/app_remoting/manifest_common.json.jinja2', |
53 'ar_app_specific_files': [ | 53 'ar_app_specific_files': [ |
54 '>(ar_app_path)/icon16.png', | 54 '>(ar_app_path)/icon16.png', |
55 '>(ar_app_path)/icon48.png', | 55 '>(ar_app_path)/icon48.png', |
56 '>(ar_app_path)/icon128.png', | 56 '>(ar_app_path)/icon128.png', |
57 ], | 57 ], |
58 'ar_generated_html_files': [ | 58 'ar_generated_html_files': [ |
59 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html', | 59 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html', |
60 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html', | 60 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html', |
| 61 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html', |
61 ], | 62 ], |
62 'ar_webapp_files': [ | 63 'ar_webapp_files': [ |
63 '<@(ar_app_specific_files)', | 64 '<@(ar_app_specific_files)', |
64 '<@(ar_shared_resource_files)', | 65 '<@(ar_shared_resource_files)', |
65 '<@(ar_all_js_files)', | 66 '<@(ar_all_js_files)', |
66 '<@(ar_generated_html_files)', | 67 '<@(ar_generated_html_files)', |
67 ], | 68 ], |
68 'output_dir': '<(PRODUCT_DIR)/app_streaming/<@(ar_service_environment)/>(_
target_name)', | 69 'output_dir': '<(PRODUCT_DIR)/app_streaming/<@(ar_service_environment)/>(_
target_name)', |
69 'zip_path': '<(PRODUCT_DIR)/app_streaming/<@(ar_service_environment)/>(_ta
rget_name).zip', | 70 'zip_path': '<(PRODUCT_DIR)/app_streaming/<@(ar_service_environment)/>(_ta
rget_name).zip', |
70 'remoting_app_id': [], | 71 'remoting_app_id': [], |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 'action': [ | 183 'action': [ |
183 'python', '<(DEPTH)/remoting/webapp/build-html.py', | 184 'python', '<(DEPTH)/remoting/webapp/build-html.py', |
184 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html', | 185 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html', |
185 '<(remoting_webapp_template_wcs_sandbox)', | 186 '<(remoting_webapp_template_wcs_sandbox)', |
186 '--template-dir', | 187 '--template-dir', |
187 '<(DEPTH)/remoting', | 188 '<(DEPTH)/remoting', |
188 '--js', | 189 '--js', |
189 '<@(remoting_webapp_wcs_sandbox_html_js_files)', | 190 '<@(remoting_webapp_wcs_sandbox_html_js_files)', |
190 ], | 191 ], |
191 }, | 192 }, |
| 193 { |
| 194 'action_name': 'Build ">(ar_app_name)" feedback_consent.html', |
| 195 'inputs': [ |
| 196 '<(DEPTH)/remoting/webapp/build-html.py', |
| 197 '<(ar_feedback_consent_template)', |
| 198 '<@(ar_feedback_consent_template_files)', |
| 199 ], |
| 200 'outputs': [ |
| 201 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html', |
| 202 ], |
| 203 'action': [ |
| 204 'python', '<(DEPTH)/remoting/webapp/build-html.py', |
| 205 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html', |
| 206 '<(ar_feedback_consent_template)', |
| 207 '--template-dir', |
| 208 '<(DEPTH)/remoting', |
| 209 '--templates', |
| 210 '<@(ar_feedback_consent_template_files)', |
| 211 '--js', |
| 212 '<@(ar_feedback_consent_js_files)', |
| 213 ], |
| 214 }, |
192 ], # actions | 215 ], # actions |
193 'conditions': [ | 216 'conditions': [ |
194 ['buildtype == "Dev"', { | 217 ['buildtype == "Dev"', { |
195 # Normally, the app-id for the orchestrator is automatically extracted | 218 # Normally, the app-id for the orchestrator is automatically extracted |
196 # from the webapp's extension id, but that approach doesn't work for | 219 # from the webapp's extension id, but that approach doesn't work for |
197 # dev webapp builds (since they all share the same dev extension id). | 220 # dev webapp builds (since they all share the same dev extension id). |
198 # The --appid arg will create a webapp that registers the given app-id | 221 # The --appid arg will create a webapp that registers the given app-id |
199 # rather than using the extension id. | 222 # rather than using the extension id. |
200 # This is only done for Dev apps because the app-id for Release apps | 223 # This is only done for Dev apps because the app-id for Release apps |
201 # *must* match the extension id. | 224 # *must* match the extension id. |
202 'variables': { | 225 'variables': { |
203 'remoting_app_id': ['--appid', '>(_app_id)'], | 226 'remoting_app_id': ['--appid', '>(_app_id)'], |
204 }, | 227 }, |
205 }], | 228 }], |
206 ], # conditions | 229 ], # conditions |
207 }, # target_defaults | 230 }, # target_defaults |
208 } | 231 } |
OLD | NEW |