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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 'credits', | 145 'credits', |
146 '<(SHARED_INTERMEDIATE_DIR)/remoting/credits.html', | 146 '<(SHARED_INTERMEDIATE_DIR)/remoting/credits.html', |
147 '--file-template', 'webapp/base/html/credits.tmpl', | 147 '--file-template', 'webapp/base/html/credits.tmpl', |
148 '--entry-template', 'webapp/base/html/credits_entry.tmpl', | 148 '--entry-template', 'webapp/base/html/credits_entry.tmpl', |
149 | 149 |
150 ], | 150 ], |
151 }, | 151 }, |
152 ], | 152 ], |
153 }, | 153 }, |
154 { | 154 { |
155 # GN version: //remoting/webapp:webapp | 155 # GN version: //remoting/webapp |
156 'target_name': 'remoting_webapp', | 156 'target_name': 'remoting_webapp', |
157 'type': 'none', | 157 'type': 'none', |
158 'dependencies': [ | 158 'variables': { |
159 'remoting_client_credits', | 159 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', |
160 'remoting_webapp_v1', | 160 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', |
161 ], | 161 'webapp_type': 'desktop', |
| 162 'extra_files': [ |
| 163 'webapp/crd/remoting_client_pnacl.nmf.jinja2', |
| 164 ], |
| 165 }, |
162 'conditions': [ | 166 'conditions': [ |
163 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 167 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
164 'dependencies': [ | |
165 'remoting_webapp_v2', | |
166 ], | |
167 }] | |
168 ], | |
169 }, # end of target 'remoting_webapp' | |
170 | |
171 { | |
172 # GN version: //remoting/webapp:webapp_v1 | |
173 'target_name': 'remoting_webapp_v1', | |
174 'type': 'none', | |
175 'variables': { | |
176 'webapp_type': 'v1', | |
177 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', | |
178 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', | |
179 }, | |
180 'includes': [ 'remoting_webapp.gypi', ], | |
181 }, # end of target 'remoting_webapp_v1' | |
182 ], # end of targets | |
183 | |
184 'conditions': [ | |
185 ['disable_nacl==0 and disable_nacl_untrusted==0', { | |
186 'targets': [ | |
187 { | |
188 # GN version: //remoting/webapp:webapp_v1 | |
189 'target_name': 'remoting_webapp_v2', | |
190 'type': 'none', | |
191 'variables': { | 168 'variables': { |
192 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', | |
193 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', | |
194 'webapp_type': 'v2_pnacl', | |
195 'extra_files': [ | 169 'extra_files': [ |
196 'webapp/crd/remoting_client_pnacl.nmf.jinja2', | |
197 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', | 170 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', |
198 ], | 171 ], |
199 }, | 172 }, |
200 'dependencies': [ | 173 'dependencies': [ |
201 'remoting_nacl.gyp:remoting_client_plugin_nacl', | 174 'remoting_nacl.gyp:remoting_client_plugin_nacl', |
202 ], | 175 ], |
203 'conditions': [ | 176 }], |
204 ['buildtype == "Dev"', { | 177 ['disable_nacl==0 and disable_nacl_untrusted==0 and buildtype == "Dev"',
{ |
205 'variables': { | 178 'variables': { |
206 'extra_files': [ | 179 'extra_files': [ |
207 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe.debug', | 180 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe.debug', |
208 ], | 181 ], |
209 }, | 182 }, |
210 }], | 183 }], |
211 ], | |
212 'includes': [ 'remoting_webapp.gypi', ], | |
213 }, # end of target 'remoting_webapp_v2' | |
214 ], | 184 ], |
215 }], | 185 'includes': [ 'remoting_webapp.gypi', ], |
216 ], | 186 }, # end of target 'remoting_webapp' |
| 187 ], # end of targets |
217 } | 188 } |
OLD | NEW |