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 # File included in remoting_webapp_* targets in remoting_client.gypi | 5 # File included in remoting_webapp_* targets in remoting_client.gypi |
6 | 6 |
7 { | 7 { |
8 'type': 'none', | 8 'type': 'none', |
9 'variables': { | 9 'variables': { |
10 'extra_files%': [], | 10 'extra_files%': [], |
11 'generated_html_files': [ | 11 'generated_html_files': [ |
12 '<(SHARED_INTERMEDIATE_DIR)/main.html', | 12 '<(SHARED_INTERMEDIATE_DIR)/main.html', |
13 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', | 13 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', |
14 ], | 14 ], |
15 }, | 15 }, |
16 'dependencies': [ | 16 'dependencies': [ |
17 'remoting_resources', | 17 'remoting_resources', |
18 'remoting_webapp_html', | 18 'remoting_webapp_html', |
19 ], | 19 ], |
20 'conditions': [ | 20 'conditions': [ |
21 ['webapp_type=="v2_pnacl"', { | |
22 'dependencies': [ | |
23 'remoting_nacl.gyp:remoting_client_plugin_nacl', | |
24 ], | |
25 'variables': { | |
26 'extra_files': [ | |
27 'webapp/remoting_client_pnacl.nmf', | |
28 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', | |
29 ], | |
30 }, | |
31 }], | |
32 ['run_jscompile != 0', { | 21 ['run_jscompile != 0', { |
33 'variables': { | 22 'variables': { |
34 'success_stamp': '<(PRODUCT_DIR)/remoting_webapp_jscompile.stamp', | 23 'success_stamp': '<(PRODUCT_DIR)/remoting_webapp_jscompile.stamp', |
35 }, | 24 }, |
36 'actions': [ | 25 'actions': [ |
37 { | 26 { |
38 'action_name': 'Verify remoting webapp', | 27 'action_name': 'Verify remoting webapp', |
39 'inputs': [ | 28 'inputs': [ |
40 '<@(remoting_webapp_all_js_files)', | 29 '<@(remoting_webapp_all_js_files)', |
41 '<@(remoting_webapp_js_proto_files)', | 30 '<@(remoting_webapp_js_proto_files)', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 'webapp/manifest.json.jinja2', | 68 'webapp/manifest.json.jinja2', |
80 '<(webapp_type)', | 69 '<(webapp_type)', |
81 '<@(generated_html_files)', | 70 '<@(generated_html_files)', |
82 '<@(remoting_webapp_files)', | 71 '<@(remoting_webapp_files)', |
83 '<@(extra_files)', | 72 '<@(extra_files)', |
84 '--locales', '<@(remoting_webapp_locale_files)', | 73 '--locales', '<@(remoting_webapp_locale_files)', |
85 ], | 74 ], |
86 }, | 75 }, |
87 ], | 76 ], |
88 } | 77 } |
OLD | NEW |