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