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