| 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 22 matching lines...) Expand all Loading... |
| 33 'ar_app_manifest_app': | 33 'ar_app_manifest_app': |
| 34 '>(ar_app_path)/manifest.json.jinja2', | 34 '>(ar_app_path)/manifest.json.jinja2', |
| 35 'ar_app_manifest_common': | 35 'ar_app_manifest_common': |
| 36 'webapp/app_remoting/manifest_common.json.jinja2', | 36 'webapp/app_remoting/manifest_common.json.jinja2', |
| 37 'ar_app_specific_files': [ | 37 'ar_app_specific_files': [ |
| 38 '>(ar_app_path)/icon16.png', | 38 '>(ar_app_path)/icon16.png', |
| 39 '>(ar_app_path)/icon48.png', | 39 '>(ar_app_path)/icon48.png', |
| 40 '>(ar_app_path)/icon128.png', | 40 '>(ar_app_path)/icon128.png', |
| 41 '>(ar_app_path)/loading_splash.png', | 41 '>(ar_app_path)/loading_splash.png', |
| 42 ], | 42 ], |
| 43 'ar_generated_html_files': [ |
| 44 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/loading_window.html', |
| 45 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/main.html', |
| 46 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/message_window.html', |
| 47 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html', |
| 48 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/feedback_consent.html', |
| 49 ], |
| 43 'ar_webapp_files': [ | 50 'ar_webapp_files': [ |
| 44 '<@(ar_app_specific_files)', | 51 '<@(ar_app_specific_files)', |
| 45 '<@(ar_vendor_js_files)', | 52 '<@(ar_shared_resource_files)', |
| 46 '<@(ar_vendor_html_files)', | 53 '<@(ar_all_js_files)', |
| 54 '<@(ar_generated_html_files)', |
| 47 ], | 55 ], |
| 48 'output_dir': '<(PRODUCT_DIR)/app_streaming/<@(ar_service_environment)/>(_
target_name)', | 56 'output_dir': '<(PRODUCT_DIR)/app_streaming/<@(ar_service_environment)/>(_
target_name)', |
| 49 'zip_path': '<(PRODUCT_DIR)/app_streaming/<@(ar_service_environment)/>(_ta
rget_name).zip', | 57 'zip_path': '<(PRODUCT_DIR)/app_streaming/<@(ar_service_environment)/>(_ta
rget_name).zip', |
| 50 'remoting_app_id': [], | 58 'remoting_app_id': [], |
| 51 'remoting_app_name': '>(_app_name)', | 59 'remoting_app_name': '>(_app_name)', |
| 52 'remoting_app_description': '>(_app_description)', | 60 'remoting_app_description': '>(_app_description)', |
| 53 | 61 |
| 54 'ar_webapp_locales_listfile': '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)_
locales.txt', | 62 'ar_webapp_locales_listfile': '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)_
locales.txt', |
| 55 | 63 |
| 56 'conditions': [ | 64 'conditions': [ |
| (...skipping 30 matching lines...) Expand all Loading... |
| 87 ], | 95 ], |
| 88 }, | 96 }, |
| 89 { | 97 { |
| 90 'action_name': 'Build ">(ar_app_name)" application stub', | 98 'action_name': 'Build ">(ar_app_name)" application stub', |
| 91 'inputs': [ | 99 'inputs': [ |
| 92 '<(DEPTH)/remoting/webapp/build-webapp.py', | 100 '<(DEPTH)/remoting/webapp/build-webapp.py', |
| 93 '<(chrome_version_path)', | 101 '<(chrome_version_path)', |
| 94 '<(remoting_version_path)', | 102 '<(remoting_version_path)', |
| 95 '<@(ar_webapp_files)', | 103 '<@(ar_webapp_files)', |
| 96 '<@(remoting_webapp_locale_files)', | 104 '<@(remoting_webapp_locale_files)', |
| 105 '<@(ar_generated_html_files)', |
| 97 '<(ar_app_manifest_app)', | 106 '<(ar_app_manifest_app)', |
| 98 '<(DEPTH)/remoting/<(ar_app_manifest_common)', | 107 '<(DEPTH)/remoting/<(ar_app_manifest_common)', |
| 99 '<(ar_webapp_locales_listfile)', | 108 '<(ar_webapp_locales_listfile)', |
| 100 ], | 109 ], |
| 101 'outputs': [ | 110 'outputs': [ |
| 102 '<(output_dir)', | 111 '<(output_dir)', |
| 103 '<(zip_path)', | 112 '<(zip_path)', |
| 104 ], | 113 ], |
| 105 'action': [ | 114 'action': [ |
| 106 'python', '<(DEPTH)/remoting/webapp/build-webapp.py', | 115 'python', '<(DEPTH)/remoting/webapp/build-webapp.py', |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 '<(ar_main_template)', | 155 '<(ar_main_template)', |
| 147 '--template-dir', | 156 '--template-dir', |
| 148 '<(DEPTH)/remoting', | 157 '<(DEPTH)/remoting', |
| 149 '--templates', | 158 '--templates', |
| 150 '<@(ar_main_template_files)', | 159 '<@(ar_main_template_files)', |
| 151 '--js', | 160 '--js', |
| 152 '<@(ar_main_js_files)', | 161 '<@(ar_main_js_files)', |
| 153 ], | 162 ], |
| 154 }, | 163 }, |
| 155 { | 164 { |
| 156 'action_name': 'Build ">(ar_app_name)" ar_background.html', | |
| 157 'inputs': [ | |
| 158 '<(DEPTH)/remoting/webapp/build-html.py', | |
| 159 '<(ar_background_template)', | |
| 160 ], | |
| 161 'outputs': [ | |
| 162 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/ar_background.html', | |
| 163 ], | |
| 164 'action': [ | |
| 165 'python', '<(DEPTH)/remoting/webapp/build-html.py', | |
| 166 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/ar_background.html', | |
| 167 '<(ar_background_template)', | |
| 168 '--template-dir', | |
| 169 '<(DEPTH)/remoting', | |
| 170 '--js', | |
| 171 '<@(ar_background_html_js_files)', | |
| 172 ], | |
| 173 }, | |
| 174 { | |
| 175 'action_name': 'Build ">(ar_app_name)" wcs_sandbox.html', | 165 'action_name': 'Build ">(ar_app_name)" wcs_sandbox.html', |
| 176 'inputs': [ | 166 'inputs': [ |
| 177 '<(DEPTH)/remoting/webapp/build-html.py', | 167 '<(DEPTH)/remoting/webapp/build-html.py', |
| 178 '<(remoting_webapp_template_wcs_sandbox)', | 168 '<(remoting_webapp_template_wcs_sandbox)', |
| 179 ], | 169 ], |
| 180 'outputs': [ | 170 'outputs': [ |
| 181 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html', | 171 '<(SHARED_INTERMEDIATE_DIR)/>(_target_name)/wcs_sandbox.html', |
| 182 ], | 172 ], |
| 183 'action': [ | 173 'action': [ |
| 184 'python', '<(DEPTH)/remoting/webapp/build-html.py', | 174 'python', '<(DEPTH)/remoting/webapp/build-html.py', |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 # rather than using the extension id. | 241 # rather than using the extension id. |
| 252 # 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 |
| 253 # *must* match the extension id. | 243 # *must* match the extension id. |
| 254 'variables': { | 244 'variables': { |
| 255 'remoting_app_id': ['--appid', '>(_app_id)'], | 245 'remoting_app_id': ['--appid', '>(_app_id)'], |
| 256 }, | 246 }, |
| 257 }], | 247 }], |
| 258 ], # conditions | 248 ], # conditions |
| 259 }, # target_defaults | 249 }, # target_defaults |
| 260 } | 250 } |
| OLD | NEW |