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