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 'include_host_plugin%': 0, | 10 'include_host_plugin%': 0, |
11 'extra_files%': [], | 11 'extra_files%': [], |
12 'generated_html_files': [ | 12 'generated_html_files': [ |
13 '<(SHARED_INTERMEDIATE_DIR)/main.html', | 13 '<(SHARED_INTERMEDIATE_DIR)/main.html', |
14 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', | 14 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html', |
15 ], | 15 ], |
16 'client_plugin_type%': 'native', | |
Jamie
2014/04/14 22:23:42
Is this used anywhere?
Sergey Ulanov
2014/04/14 23:16:51
Done.
| |
16 }, | 17 }, |
17 'dependencies': [ | 18 'dependencies': [ |
18 'remoting_resources', | 19 'remoting_resources', |
19 'remoting_webapp_html', | 20 'remoting_webapp_html', |
20 ], | 21 ], |
21 'conditions': [ | 22 'conditions': [ |
22 ['include_host_plugin==1', { | 23 ['include_host_plugin==1', { |
23 'dependencies': [ | 24 'dependencies': [ |
24 'remoting_host_plugin', | 25 'remoting_host_plugin', |
25 ], | 26 ], |
26 'variables': { | 27 'variables': { |
27 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_plugin .<(host_plugin_extension)', | 28 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_plugin .<(host_plugin_extension)', |
28 'plugin_args': [ | 29 'plugin_args': [ |
29 '--locales', '<@(remoting_host_locale_files)', | 30 '--locales', '<@(remoting_host_locale_files)', |
30 '--plugin', '<(plugin_path)', | 31 '--plugin', '<(plugin_path)', |
31 ], | 32 ], |
32 }, | 33 }, |
33 }, { | 34 }, { |
34 'variables': { | 35 'variables': { |
35 'plugin_args': [], | 36 'plugin_args': [], |
36 }, | 37 }, |
37 }], | 38 }], |
39 ['webapp_type=="v2_pnacl"', { | |
40 'dependencies': [ | |
41 'remoting_nacl.gyp:remoting_client_plugin_nacl', | |
42 ], | |
43 'variables': { | |
44 'extra_files': [ | |
45 'webapp/remoting_client_pnacl.nmf', | |
46 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', | |
47 ], | |
48 }, | |
49 }], | |
38 ['run_jscompile != 0', { | 50 ['run_jscompile != 0', { |
39 'variables': { | 51 'variables': { |
40 'success_stamp': '<(PRODUCT_DIR)/remoting_webapp_jscompile.stamp', | 52 'success_stamp': '<(PRODUCT_DIR)/remoting_webapp_jscompile.stamp', |
41 }, | 53 }, |
42 'actions': [ | 54 'actions': [ |
43 { | 55 { |
44 'action_name': 'Verify remoting webapp', | 56 'action_name': 'Verify remoting webapp', |
45 'inputs': [ | 57 'inputs': [ |
46 '<@(remoting_webapp_all_js_files)', | 58 '<@(remoting_webapp_all_js_files)', |
47 '<@(remoting_webapp_js_proto_files)', | 59 '<@(remoting_webapp_js_proto_files)', |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
95 '<(webapp_type)', | 107 '<(webapp_type)', |
96 '<@(generated_html_files)', | 108 '<@(generated_html_files)', |
97 '<@(remoting_webapp_files)', | 109 '<@(remoting_webapp_files)', |
98 '<@(extra_files)', | 110 '<@(extra_files)', |
99 '<@(plugin_args)', | 111 '<@(plugin_args)', |
100 '--locales', '<@(remoting_webapp_locale_files)', | 112 '--locales', '<@(remoting_webapp_locale_files)', |
101 ], | 113 ], |
102 }, | 114 }, |
103 ], | 115 ], |
104 } | 116 } |
OLD | NEW |