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
3 # found in the LICENSE file.
5 # File included in remoting_webapp_* targets in remoting_client.gypi
10 'include_host_plugin%': 0,
12 'generated_html_files': [
13 '<(SHARED_INTERMEDIATE_DIR)/main.html',
14 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
19 'remoting_webapp_html',
22 ['include_host_plugin==1', {
24 'remoting_host_plugin',
27 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_plugin.<(host_plugin_extension)',
29 '--locales', '<@(remoting_host_locale_files)',
30 '--plugin', '<(plugin_path)',
38 ['run_jscompile != 0', {
40 'success_stamp': '<(PRODUCT_DIR)/remoting_webapp_jscompile.stamp',
44 'action_name': 'Verify remoting webapp',
46 '<@(remoting_webapp_all_js_files)',
47 '<@(remoting_webapp_js_proto_files)',
53 'python', 'tools/jscompile.py',
54 '<@(remoting_webapp_all_js_files)',
55 '<@(remoting_webapp_js_proto_files)',
56 '--success-stamp', '<(success_stamp)'
64 'action_name': 'Build Remoting WebApp',
66 'webapp/build-webapp.py',
67 'webapp/manifest.json.jinja2',
68 '<(chrome_version_path)',
69 '<(remoting_version_path)',
70 '<@(generated_html_files)',
71 '<@(remoting_webapp_files)',
72 '<@(remoting_webapp_locale_files)',
76 ['include_host_plugin==1', {
79 '<@(remoting_host_locale_files)',
88 'python', 'webapp/build-webapp.py',
91 '<(host_plugin_mime_type)',
94 'webapp/manifest.json.jinja2',
96 '<@(generated_html_files)',
97 '<@(remoting_webapp_files)',
100 '--locales', '<@(remoting_webapp_locale_files)',