| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 ], | 87 ], |
| 88 }, # end of target 'remoting_webapp_html' | 88 }, # end of target 'remoting_webapp_html' |
| 89 | 89 |
| 90 { | 90 { |
| 91 'target_name': 'remoting_webapp', | 91 'target_name': 'remoting_webapp', |
| 92 'type': 'none', | 92 'type': 'none', |
| 93 'dependencies': [ | 93 'dependencies': [ |
| 94 'remoting_webapp_v1', | 94 'remoting_webapp_v1', |
| 95 'remoting_webapp_v2', | 95 'remoting_webapp_v2', |
| 96 ], | 96 ], |
| 97 'conditions': [ | |
| 98 ['disable_nacl==0 and disable_nacl_untrusted==0', { | |
| 99 'dependencies': [ | |
| 100 'remoting_webapp_pnacl', | |
| 101 ], | |
| 102 }], | |
| 103 ], | |
| 104 }, # end of target 'remoting_webapp' | 97 }, # end of target 'remoting_webapp' |
| 105 | 98 |
| 106 { | 99 { |
| 107 'target_name': 'remoting_webapp_v1', | 100 'target_name': 'remoting_webapp_v1', |
| 108 'type': 'none', | 101 'type': 'none', |
| 109 'variables': { | 102 'variables': { |
| 110 'webapp_type': 'v1', | 103 'webapp_type': 'v1', |
| 111 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', | 104 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', |
| 112 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', | 105 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', |
| 113 }, | 106 }, |
| 114 'includes': [ 'remoting_webapp.gypi', ], | 107 'includes': [ 'remoting_webapp.gypi', ], |
| 115 }, # end of target 'remoting_webapp_v1' | 108 }, # end of target 'remoting_webapp_v1' |
| 116 | 109 |
| 117 { | 110 { |
| 118 'target_name': 'remoting_webapp_v2', | 111 'target_name': 'remoting_webapp_v2', |
| 119 'type': 'none', | 112 'type': 'none', |
| 120 'variables': { | 113 'variables': { |
| 121 'webapp_type': 'v2', | |
| 122 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', | 114 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', |
| 123 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', | 115 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', |
| 124 'extra_files': [ 'webapp/background.js' ], | 116 'extra_files': [ 'webapp/background.js' ], |
| 125 }, | 117 }, |
| 118 'conditions': [ |
| 119 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
| 120 'dependencies': [ |
| 121 'remoting_nacl.gyp:remoting_client_plugin_nacl', |
| 122 ], |
| 123 'variables': { |
| 124 'webapp_type': 'v2_pnacl', |
| 125 'extra_files': [ |
| 126 'webapp/remoting_client_pnacl.nmf', |
| 127 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', |
| 128 ], |
| 129 }, |
| 130 }, { |
| 131 'variables': { |
| 132 'webapp_type': 'v2', |
| 133 }, |
| 134 }], |
| 135 ], |
| 126 'includes': [ 'remoting_webapp.gypi', ], | 136 'includes': [ 'remoting_webapp.gypi', ], |
| 127 }, # end of target 'remoting_webapp_v2' | 137 }, # end of target 'remoting_webapp_v2' |
| 128 ], # end of targets | 138 ], # end of targets |
| 129 | |
| 130 'conditions': [ | |
| 131 ['disable_nacl==0 and disable_nacl_untrusted==0', { | |
| 132 'targets': [ | |
| 133 { | |
| 134 'target_name': 'remoting_webapp_pnacl', | |
| 135 'type': 'none', | |
| 136 'variables': { | |
| 137 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.pnacl', | |
| 138 'zip_path': '<(PRODUCT_DIR)/remoting-webapp-pnacl.zip', | |
| 139 'extra_files': [ 'webapp/background.js' ], | |
| 140 'webapp_type': 'v2_pnacl', | |
| 141 }, | |
| 142 'includes': [ 'remoting_webapp.gypi', ], | |
| 143 }, # end of target 'remoting_webapp_pnacl' | |
| 144 ], | |
| 145 }], | |
| 146 ], | |
| 147 | |
| 148 } | 139 } |
| OLD | NEW |