Chromium Code Reviews| 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 # GN version: //remoting/client/plugin | 8 # GN version: //remoting/client/plugin |
| 9 'target_name': 'remoting_client_plugin', | 9 'target_name': 'remoting_client_plugin', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 109 ], | 109 ], |
| 110 }, # end of target 'remoting_webapp_html' | 110 }, # end of target 'remoting_webapp_html' |
| 111 | 111 |
| 112 { | 112 { |
| 113 'target_name': 'remoting_webapp', | 113 'target_name': 'remoting_webapp', |
| 114 'type': 'none', | 114 'type': 'none', |
| 115 'dependencies': [ | 115 'dependencies': [ |
| 116 'remoting_webapp_v1', | 116 'remoting_webapp_v1', |
| 117 'remoting_webapp_v2', | 117 'remoting_webapp_v2', |
| 118 ], | 118 ], |
| 119 'conditions': [ | |
| 120 ['disable_nacl==0 and disable_nacl_untrusted==0', { | |
|
Jamie
2015/01/23 00:47:16
Do we need the "untrusted" variable? As it is, set
Sergey Ulanov
2015/01/23 01:00:16
This is the condition that's used in other places
| |
| 121 'dependencies': [ | |
| 122 'remoting_webapp_v2_pnacl', | |
| 123 ], | |
| 124 }] | |
| 125 ], | |
| 119 }, # end of target 'remoting_webapp' | 126 }, # end of target 'remoting_webapp' |
| 120 | 127 |
| 121 { | 128 { |
| 122 'target_name': 'remoting_webapp_v1', | 129 'target_name': 'remoting_webapp_v1', |
| 123 'type': 'none', | 130 'type': 'none', |
| 124 'variables': { | 131 'variables': { |
| 125 'webapp_type': 'v1', | 132 'webapp_type': 'v1', |
| 126 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', | 133 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', |
| 127 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', | 134 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', |
| 128 }, | 135 }, |
| 129 'includes': [ 'remoting_webapp.gypi', ], | 136 'includes': [ 'remoting_webapp.gypi', ], |
| 130 }, # end of target 'remoting_webapp_v1' | 137 }, # end of target 'remoting_webapp_v1' |
| 131 | 138 |
| 132 { | 139 { |
| 133 'target_name': 'remoting_webapp_v2', | 140 'target_name': 'remoting_webapp_v2', |
| 134 'type': 'none', | 141 'type': 'none', |
| 135 'variables': { | 142 'variables': { |
| 136 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', | 143 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', |
| 137 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', | 144 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', |
| 145 'webapp_type': 'v2', | |
| 138 }, | 146 }, |
| 139 'conditions': [ | 147 'includes': [ 'remoting_webapp.gypi', ], |
| 140 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 148 }, # end of target 'remoting_webapp_v2' |
| 141 'dependencies': [ | 149 ], # end of targets |
| 142 'remoting_nacl.gyp:remoting_client_plugin_nacl', | 150 |
| 143 ], | 151 'conditions': [ |
| 152 ['disable_nacl==0 and disable_nacl_untrusted==0', { | |
| 153 'targets': [ | |
| 154 { | |
| 155 'target_name': 'remoting_webapp_v2_pnacl', | |
| 156 'type': 'none', | |
| 144 'variables': { | 157 'variables': { |
| 158 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2_pnacl', | |
| 159 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2_pnacl.zip', | |
| 145 'webapp_type': 'v2_pnacl', | 160 'webapp_type': 'v2_pnacl', |
| 146 'extra_files': [ | 161 'extra_files': [ |
| 147 'webapp/crd/remoting_client_pnacl.nmf', | 162 'webapp/crd/remoting_client_pnacl.nmf', |
| 148 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', | 163 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', |
| 149 ], | 164 ], |
| 150 }, | 165 }, |
| 151 }, { | 166 'dependencies': [ |
| 152 'variables': { | 167 'remoting_nacl.gyp:remoting_client_plugin_nacl', |
| 153 'webapp_type': 'v2', | 168 ], |
| 154 }, | 169 'includes': [ 'remoting_webapp.gypi', ], |
| 155 }], | 170 }, # end of target 'remoting_webapp_v2_pnacl' |
| 156 ], | 171 ], |
| 157 'includes': [ 'remoting_webapp.gypi', ], | 172 }], |
| 158 }, # end of target 'remoting_webapp_v2' | 173 ], |
| 159 ], # end of targets | |
| 160 } | 174 } |
| OLD | NEW |