| 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_options.gypi', | 9 'remoting_options.gypi', |
| 10 'remoting_webapp_files.gypi', | 10 'remoting_webapp_files.gypi', |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 'variables': { | 31 'variables': { |
| 32 'ar_app_manifest_app': | 32 'ar_app_manifest_app': |
| 33 '>(ar_app_path)/manifest.json.jinja2', | 33 '>(ar_app_path)/manifest.json.jinja2', |
| 34 'ar_app_manifest_common': | 34 'ar_app_manifest_common': |
| 35 'webapp/app_remoting/manifest_common.json.jinja2', | 35 'webapp/app_remoting/manifest_common.json.jinja2', |
| 36 'ar_app_specific_files': [ | 36 'ar_app_specific_files': [ |
| 37 '>(ar_app_path)/icon16.png', | 37 '>(ar_app_path)/icon16.png', |
| 38 '>(ar_app_path)/icon48.png', | 38 '>(ar_app_path)/icon48.png', |
| 39 '>(ar_app_path)/icon128.png', | 39 '>(ar_app_path)/icon128.png', |
| 40 '>(ar_app_path)/loading_splash.png', |
| 40 ], | 41 ], |
| 41 'ar_generated_html_files': [ | 42 'ar_generated_html_files': [ |
| 43 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/loading_window.html', |
| 42 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html', | 44 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html', |
| 43 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html', | 45 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html', |
| 44 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html', | 46 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html', |
| 45 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html', | 47 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html', |
| 46 ], | 48 ], |
| 47 'ar_webapp_files': [ | 49 'ar_webapp_files': [ |
| 48 '<@(ar_app_specific_files)', | 50 '<@(ar_app_specific_files)', |
| 49 '<@(ar_shared_resource_files)', | 51 '<@(ar_shared_resource_files)', |
| 50 '<@(ar_all_js_files)', | 52 '<@(ar_all_js_files)', |
| 51 '<@(ar_generated_html_files)', | 53 '<@(ar_generated_html_files)', |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 ], | 172 ], |
| 171 'action': [ | 173 'action': [ |
| 172 'python', '<(DEPTH)/remoting/webapp/build-html.py', | 174 'python', '<(DEPTH)/remoting/webapp/build-html.py', |
| 173 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html', | 175 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html', |
| 174 '<(remoting_webapp_template_wcs_sandbox)', | 176 '<(remoting_webapp_template_wcs_sandbox)', |
| 175 '--js', | 177 '--js', |
| 176 '<@(remoting_webapp_wcs_sandbox_html_all_js_files)', | 178 '<@(remoting_webapp_wcs_sandbox_html_all_js_files)', |
| 177 ], | 179 ], |
| 178 }, | 180 }, |
| 179 { | 181 { |
| 182 'action_name': 'Build ">(ar_app_name)" loading_window.html', |
| 183 'inputs': [ |
| 184 '<(DEPTH)/remoting/webapp/build-html.py', |
| 185 '<(ar_loading_window_template)', |
| 186 ], |
| 187 'outputs': [ |
| 188 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/loading_window.html', |
| 189 ], |
| 190 'action': [ |
| 191 'python', '<(DEPTH)/remoting/webapp/build-html.py', |
| 192 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/loading_window.html', |
| 193 '<(ar_loading_window_template)', |
| 194 # The loading window is just a reskin of the message window--all |
| 195 # JS code is shared. |
| 196 '--js', '<@(remoting_webapp_message_window_html_all_js_files)', |
| 197 ], |
| 198 }, |
| 199 { |
| 180 'action_name': 'Build ">(ar_app_name)" message_window.html', | 200 'action_name': 'Build ">(ar_app_name)" message_window.html', |
| 181 'inputs': [ | 201 'inputs': [ |
| 182 '<(DEPTH)/remoting/webapp/build-html.py', | 202 '<(DEPTH)/remoting/webapp/build-html.py', |
| 183 '<(remoting_webapp_template_message_window)', | 203 '<(remoting_webapp_template_message_window)', |
| 184 ], | 204 ], |
| 185 'outputs': [ | 205 'outputs': [ |
| 186 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html', | 206 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html', |
| 187 ], | 207 ], |
| 188 'action': [ | 208 'action': [ |
| 189 'python', '<(DEPTH)/remoting/webapp/build-html.py', | 209 'python', '<(DEPTH)/remoting/webapp/build-html.py', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 # rather than using the extension id. | 241 # rather than using the extension id. |
| 222 # This is only done for Dev apps because the app-id for Release apps | 242 # This is only done for Dev apps because the app-id for Release apps |
| 223 # *must* match the extension id. | 243 # *must* match the extension id. |
| 224 'variables': { | 244 'variables': { |
| 225 'remoting_app_id': ['--appid', '>(_app_id)'], | 245 'remoting_app_id': ['--appid', '>(_app_id)'], |
| 226 }, | 246 }, |
| 227 }], | 247 }], |
| 228 ], # conditions | 248 ], # conditions |
| 229 }, # target_defaults | 249 }, # target_defaults |
| 230 } | 250 } |
| OLD | NEW |