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