| 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 # File included in remoting_webapp_* targets in remoting_client.gypi | 5 # File included in remoting_webapp_* targets in remoting_client.gypi |
| 6 | 6 |
| 7 { | 7 { |
| 8 'type': 'none', | 8 'type': 'none', |
| 9 'variables': { | 9 'variables': { |
| 10 'include_host_plugin%': 0, | |
| 11 'extra_files%': [], | 10 'extra_files%': [], |
| 12 'generated_html_files': [ | 11 'generated_html_files': [ |
| 13 '<(SHARED_INTERMEDIATE_DIR)/main.html', | 12 '<(SHARED_INTERMEDIATE_DIR)/main.html', |
| 14 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', | 13 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', |
| 15 ], | 14 ], |
| 16 }, | 15 }, |
| 17 'dependencies': [ | 16 'dependencies': [ |
| 18 'remoting_resources', | 17 'remoting_resources', |
| 19 'remoting_webapp_html', | 18 'remoting_webapp_html', |
| 20 ], | 19 ], |
| 21 'conditions': [ | 20 'conditions': [ |
| 22 ['include_host_plugin==1', { | |
| 23 'dependencies': [ | |
| 24 'remoting_host_plugin', | |
| 25 ], | |
| 26 'variables': { | |
| 27 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_plugin
.<(host_plugin_extension)', | |
| 28 'plugin_args': [ | |
| 29 '--locales', '<@(remoting_host_locale_files)', | |
| 30 '--plugin', '<(plugin_path)', | |
| 31 ], | |
| 32 }, | |
| 33 }, { | |
| 34 'variables': { | |
| 35 'plugin_args': [], | |
| 36 }, | |
| 37 }], | |
| 38 ['webapp_type=="v2_pnacl"', { | 21 ['webapp_type=="v2_pnacl"', { |
| 39 'dependencies': [ | 22 'dependencies': [ |
| 40 'remoting_nacl.gyp:remoting_client_plugin_nacl', | 23 'remoting_nacl.gyp:remoting_client_plugin_nacl', |
| 41 ], | 24 ], |
| 42 'variables': { | 25 'variables': { |
| 43 'extra_files': [ | 26 'extra_files': [ |
| 44 'webapp/remoting_client_pnacl.nmf', | 27 'webapp/remoting_client_pnacl.nmf', |
| 45 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', | 28 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', |
| 46 ], | 29 ], |
| 47 }, | 30 }, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 76 'inputs': [ | 59 'inputs': [ |
| 77 'webapp/build-webapp.py', | 60 'webapp/build-webapp.py', |
| 78 'webapp/manifest.json.jinja2', | 61 'webapp/manifest.json.jinja2', |
| 79 '<(chrome_version_path)', | 62 '<(chrome_version_path)', |
| 80 '<(remoting_version_path)', | 63 '<(remoting_version_path)', |
| 81 '<@(generated_html_files)', | 64 '<@(generated_html_files)', |
| 82 '<@(remoting_webapp_files)', | 65 '<@(remoting_webapp_files)', |
| 83 '<@(remoting_webapp_locale_files)', | 66 '<@(remoting_webapp_locale_files)', |
| 84 '<@(extra_files)', | 67 '<@(extra_files)', |
| 85 ], | 68 ], |
| 86 'conditions': [ | |
| 87 ['include_host_plugin==1', { | |
| 88 'inputs': [ | |
| 89 '<(plugin_path)', | |
| 90 '<@(remoting_host_locale_files)', | |
| 91 ], | |
| 92 }], | |
| 93 ], | |
| 94 'outputs': [ | 69 'outputs': [ |
| 95 '<(output_dir)', | 70 '<(output_dir)', |
| 96 '<(zip_path)', | 71 '<(zip_path)', |
| 97 ], | 72 ], |
| 98 'action': [ | 73 'action': [ |
| 99 'python', 'webapp/build-webapp.py', | 74 'python', 'webapp/build-webapp.py', |
| 100 '<(buildtype)', | 75 '<(buildtype)', |
| 101 '<(version_full)', | 76 '<(version_full)', |
| 102 '<(host_plugin_mime_type)', | |
| 103 '<(output_dir)', | 77 '<(output_dir)', |
| 104 '<(zip_path)', | 78 '<(zip_path)', |
| 105 'webapp/manifest.json.jinja2', | 79 'webapp/manifest.json.jinja2', |
| 106 '<(webapp_type)', | 80 '<(webapp_type)', |
| 107 '<@(generated_html_files)', | 81 '<@(generated_html_files)', |
| 108 '<@(remoting_webapp_files)', | 82 '<@(remoting_webapp_files)', |
| 109 '<@(extra_files)', | 83 '<@(extra_files)', |
| 110 '<@(plugin_args)', | |
| 111 '--locales', '<@(remoting_webapp_locale_files)', | 84 '--locales', '<@(remoting_webapp_locale_files)', |
| 112 ], | 85 ], |
| 113 }, | 86 }, |
| 114 ], | 87 ], |
| 115 } | 88 } |
| OLD | NEW |