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 # Keep in sync with targets in remoting/remoting_client.gypi. | 5 # Keep in sync with targets in remoting/remoting_client.gypi. |
6 | 6 |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//remoting/webapp/build_template.gni") | 8 import("//remoting/webapp/build_template.gni") |
9 | 9 |
10 group("webapp") { | 10 group("webapp") { |
11 deps = [ | 11 deps = [ |
12 ":webapp_v1", | 12 ":webapp_v1", |
13 ":ar_sample_app", | 13 ":ar_sample_app", |
| 14 ":ar_shared_module", |
14 ] | 15 ] |
15 | 16 |
| 17 if (enable_internal_app_remoting_targets) { |
| 18 deps += [ "//remoting/internal:ar_internal_apps" ] |
| 19 } |
| 20 |
16 if (enable_nacl) { | 21 if (enable_nacl) { |
17 deps += [ ":webapp_v2" ] | 22 deps += [ ":webapp_v2" ] |
18 } | 23 } |
19 } | 24 } |
20 | 25 |
21 desktop_remoting_webapp("webapp_v1") { | 26 desktop_remoting_webapp("webapp_v1") { |
22 webapp_type = "v1" | 27 webapp_type = "v1" |
23 output_dir = "remoting/remoting-webapp" | 28 output_dir = "remoting/remoting-webapp" |
24 zip_path = "remoting/remoting-webapp.zip" | 29 zip_path = "remoting/remoting-webapp.zip" |
25 extra_files = [] | 30 extra_files = [] |
26 } | 31 } |
27 | 32 |
28 desktop_remoting_webapp("webapp_v2") { | 33 desktop_remoting_webapp("webapp_v2") { |
29 webapp_type = "v2_pnacl" | 34 webapp_type = "v2_pnacl" |
30 output_dir = "remoting/remoting-webapp.v2" | 35 output_dir = "remoting/remoting-webapp.v2" |
31 zip_path = "remoting/remoting-webapp.v2.zip" | 36 zip_path = "remoting/remoting-webapp.v2.zip" |
32 extra_files = [ | 37 extra_files = [ |
33 "crd/remoting_client_pnacl.nmf.jinja2", | 38 "crd/remoting_client_pnacl.nmf.jinja2", |
34 # TODO(garykac): Get correct path to this. | 39 # TODO(garykac): Get correct path to this. |
35 #"<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe", | 40 #"<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe", |
36 ] | 41 ] |
37 } | 42 } |
38 | 43 |
39 app_remoting_webapp("ar_sample_app") { | 44 app_remoting_webapp("ar_sample_app") { |
40 app_key = "Sample_App" | 45 app_key = "Sample_App" |
41 app_id = "ljacajndfccfgnfohlgkdphmbnpkjflk" | 46 app_id = "ljacajndfccfgnfohlgkdphmbnpkjflk" |
42 app_client_id = "sample_client_id" | 47 app_client_id = "sample_client_id" |
43 app_name = "App Remoting Client" | 48 app_vendor = "" |
| 49 app_name = "sample_app" |
| 50 app_fullname = "App Remoting Client" |
44 app_description = "App Remoting client" | 51 app_description = "App Remoting client" |
45 app_capabilities = [ "GOOGLE_DRIVE" ] | 52 app_capabilities = [ "GOOGLE_DRIVE" ] |
46 manifest_key = "remotingdevbuild" | 53 manifest_key = "remotingdevbuild" |
47 } | 54 } |
| 55 |
| 56 app_remoting_shared_module("ar_shared_module") { |
| 57 app_client_id = "sample_client_id" |
| 58 app_name = "shared_module" |
| 59 app_fullname = "AppRemoting Shared Module" |
| 60 app_description = "AppRemoting Shared Module" |
| 61 manifest_key = "remotingdevbuild" |
| 62 } |
OLD | NEW |