| 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", | |
| 15 ] | 14 ] |
| 16 | 15 |
| 17 if (enable_internal_app_remoting_targets) { | |
| 18 deps += [ "//remoting/internal:ar_internal_apps" ] | |
| 19 } | |
| 20 | |
| 21 if (enable_nacl) { | 16 if (enable_nacl) { |
| 22 deps += [ ":webapp_v2" ] | 17 deps += [ ":webapp_v2" ] |
| 23 } | 18 } |
| 24 } | 19 } |
| 25 | 20 |
| 26 desktop_remoting_webapp("webapp_v1") { | 21 desktop_remoting_webapp("webapp_v1") { |
| 27 webapp_type = "v1" | 22 webapp_type = "v1" |
| 28 output_dir = "remoting/remoting-webapp" | 23 output_dir = "remoting/remoting-webapp" |
| 29 zip_path = "remoting/remoting-webapp.zip" | 24 zip_path = "remoting/remoting-webapp.zip" |
| 30 extra_files = [] | 25 extra_files = [] |
| 31 } | 26 } |
| 32 | 27 |
| 33 desktop_remoting_webapp("webapp_v2") { | 28 desktop_remoting_webapp("webapp_v2") { |
| 34 webapp_type = "v2_pnacl" | 29 webapp_type = "v2_pnacl" |
| 35 output_dir = "remoting/remoting-webapp.v2" | 30 output_dir = "remoting/remoting-webapp.v2" |
| 36 zip_path = "remoting/remoting-webapp.v2.zip" | 31 zip_path = "remoting/remoting-webapp.v2.zip" |
| 37 extra_files = [ | 32 extra_files = [ |
| 38 "crd/remoting_client_pnacl.nmf.jinja2", | 33 "crd/remoting_client_pnacl.nmf.jinja2", |
| 39 # TODO(garykac): Get correct path to this. | 34 # TODO(garykac): Get correct path to this. |
| 40 #"<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe", | 35 #"<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe", |
| 41 ] | 36 ] |
| 42 } | 37 } |
| 43 | 38 |
| 44 app_remoting_webapp("ar_sample_app") { | 39 app_remoting_webapp("ar_sample_app") { |
| 45 app_key = "Sample_App" | 40 app_key = "Sample_App" |
| 46 app_id = "ljacajndfccfgnfohlgkdphmbnpkjflk" | 41 app_id = "ljacajndfccfgnfohlgkdphmbnpkjflk" |
| 47 app_client_id = "sample_client_id" | 42 app_client_id = "sample_client_id" |
| 48 app_vendor = "" | 43 app_name = "App Remoting Client" |
| 49 app_name = "sample_app" | |
| 50 app_fullname = "App Remoting Client" | |
| 51 app_description = "App Remoting client" | 44 app_description = "App Remoting client" |
| 52 app_capabilities = [ "GOOGLE_DRIVE" ] | 45 app_capabilities = [ "GOOGLE_DRIVE" ] |
| 53 manifest_key = "remotingdevbuild" | 46 manifest_key = "remotingdevbuild" |
| 54 } | 47 } |
| 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 |