| 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'remoting_client_plugin', | 8 'target_name': 'remoting_client_plugin', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 'outputs': [ | 78 'outputs': [ |
| 79 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', | 79 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', |
| 80 ], | 80 ], |
| 81 'action': [ | 81 'action': [ |
| 82 'python', 'webapp/build-html.py', | 82 'python', 'webapp/build-html.py', |
| 83 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', | 83 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', |
| 84 '<(remoting_webapp_template_wcs_sandbox)', | 84 '<(remoting_webapp_template_wcs_sandbox)', |
| 85 '--js', '<@(remoting_webapp_wcs_sandbox_html_js_files)', | 85 '--js', '<@(remoting_webapp_wcs_sandbox_html_js_files)', |
| 86 ], | 86 ], |
| 87 }, | 87 }, |
| 88 { |
| 89 'action_name': 'Build Remoting Webapp background.html', |
| 90 'inputs': [ |
| 91 'webapp/build-html.py', |
| 92 '<(remoting_webapp_template_background)', |
| 93 ], |
| 94 'outputs': [ |
| 95 '<(SHARED_INTERMEDIATE_DIR)/background.html', |
| 96 ], |
| 97 'action': [ |
| 98 'python', 'webapp/build-html.py', |
| 99 '<(SHARED_INTERMEDIATE_DIR)/background.html', |
| 100 '<(remoting_webapp_template_background)', |
| 101 '--js', '<@(remoting_webapp_background_js_files)', |
| 102 ], |
| 103 }, |
| 88 ], | 104 ], |
| 89 }, # end of target 'remoting_webapp_html' | 105 }, # end of target 'remoting_webapp_html' |
| 90 | 106 |
| 91 { | 107 { |
| 92 'target_name': 'remoting_webapp', | 108 'target_name': 'remoting_webapp', |
| 93 'type': 'none', | 109 'type': 'none', |
| 94 'dependencies': [ | 110 'dependencies': [ |
| 95 'remoting_webapp_v1', | 111 'remoting_webapp_v1', |
| 96 'remoting_webapp_v2', | 112 'remoting_webapp_v2', |
| 97 ], | 113 ], |
| 98 }, # end of target 'remoting_webapp' | 114 }, # end of target 'remoting_webapp' |
| 99 | 115 |
| 100 { | 116 { |
| 101 'target_name': 'remoting_webapp_v1', | 117 'target_name': 'remoting_webapp_v1', |
| 102 'type': 'none', | 118 'type': 'none', |
| 103 'variables': { | 119 'variables': { |
| 104 'webapp_type': 'v1', | 120 'webapp_type': 'v1', |
| 105 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', | 121 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', |
| 106 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', | 122 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', |
| 107 }, | 123 }, |
| 108 'includes': [ 'remoting_webapp.gypi', ], | 124 'includes': [ 'remoting_webapp.gypi', ], |
| 109 }, # end of target 'remoting_webapp_v1' | 125 }, # end of target 'remoting_webapp_v1' |
| 110 | 126 |
| 111 { | 127 { |
| 112 'target_name': 'remoting_webapp_v2', | 128 'target_name': 'remoting_webapp_v2', |
| 113 'type': 'none', | 129 'type': 'none', |
| 114 'variables': { | 130 'variables': { |
| 115 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', | 131 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', |
| 116 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', | 132 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', |
| 117 'extra_files': [ 'webapp/background.js' ], | |
| 118 }, | 133 }, |
| 119 'conditions': [ | 134 'conditions': [ |
| 120 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 135 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
| 121 'dependencies': [ | 136 'dependencies': [ |
| 122 'remoting_nacl.gyp:remoting_client_plugin_nacl', | 137 'remoting_nacl.gyp:remoting_client_plugin_nacl', |
| 123 ], | 138 ], |
| 124 'variables': { | 139 'variables': { |
| 125 'webapp_type': 'v2_pnacl', | 140 'webapp_type': 'v2_pnacl', |
| 126 'extra_files': [ | 141 'extra_files': [ |
| 127 'webapp/remoting_client_pnacl.nmf', | 142 'webapp/remoting_client_pnacl.nmf', |
| 128 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', | 143 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', |
| 129 ], | 144 ], |
| 130 }, | 145 }, |
| 131 }, { | 146 }, { |
| 132 'variables': { | 147 'variables': { |
| 133 'webapp_type': 'v2', | 148 'webapp_type': 'v2', |
| 134 }, | 149 }, |
| 135 }], | 150 }], |
| 136 ], | 151 ], |
| 137 'includes': [ 'remoting_webapp.gypi', ], | 152 'includes': [ 'remoting_webapp.gypi', ], |
| 138 }, # end of target 'remoting_webapp_v2' | 153 }, # end of target 'remoting_webapp_v2' |
| 139 ], # end of targets | 154 ], # end of targets |
| 140 } | 155 } |
| OLD | NEW |