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 ['webapp_type=="v2_pnacl"', {
40 'remoting_nacl.gyp:remoting_client_plugin_nacl',
44 'webapp/remoting_client_pnacl.nmf',
45 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe',
49 ['run_jscompile != 0', {
51 'success_stamp': '<(PRODUCT_DIR)/remoting_webapp_jscompile.stamp',
55 'action_name': 'Verify remoting webapp',
57 '<@(remoting_webapp_all_js_files)',
58 '<@(remoting_webapp_js_proto_files)',
64 'python', 'tools/jscompile.py',
65 '<@(remoting_webapp_all_js_files)',
66 '<@(remoting_webapp_js_proto_files)',
67 '--success-stamp', '<(success_stamp)'
75 'action_name': 'Build Remoting WebApp',
77 'webapp/build-webapp.py',
78 'webapp/manifest.json.jinja2',
79 '<(chrome_version_path)',
80 '<(remoting_version_path)',
81 '<@(generated_html_files)',
82 '<@(remoting_webapp_files)',
83 '<@(remoting_webapp_locale_files)',
87 ['include_host_plugin==1', {
90 '<@(remoting_host_locale_files)',
99 'python', 'webapp/build-webapp.py',
102 '<(host_plugin_mime_type)',
105 'webapp/manifest.json.jinja2',
107 '<@(generated_html_files)',
108 '<@(remoting_webapp_files)',
111 '--locales', '<@(remoting_webapp_locale_files)',