summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/BUILD.gn
blob: f6c765b5ede02838c57ad3f534ca66d67c2d5f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Keep in sync with targets in remoting/remoting_client.gypi.

import("//build/config/features.gni")
import("//remoting/webapp/build_template.gni")

group("webapp") {
  deps = [
    ":webapp_v1",
    ":ar_sample_app",
    ":ar_shared_module",
  ]

  if (enable_internal_app_remoting_targets) {
    deps += [ "//remoting/internal:ar_internal_apps" ]
  }

  if (enable_nacl) {
    deps += [ ":webapp_v2" ]
  }
}

desktop_remoting_webapp("webapp_v1") {
  webapp_type = "v1"
  output_dir = "remoting/remoting-webapp"
  zip_path = "remoting/remoting-webapp.zip"
  extra_files = []
}

desktop_remoting_webapp("webapp_v2") {
  webapp_type = "v2_pnacl"
  output_dir = "remoting/remoting-webapp.v2"
  zip_path = "remoting/remoting-webapp.v2.zip"
  extra_files = [
    "crd/remoting_client_pnacl.nmf.jinja2",
    # TODO(garykac): Get correct path to this.
    #"<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe",
  ]
}

app_remoting_webapp("ar_sample_app") {
  app_key = "Sample_App"
  app_id = "ljacajndfccfgnfohlgkdphmbnpkjflk"
  app_client_id = "sample_client_id"
  app_vendor = ""
  app_name = "sample_app"
  app_fullname = "App Remoting Client"
  app_description = "App Remoting client"
  app_capabilities = [ "GOOGLE_DRIVE" ]
  manifest_key = "remotingdevbuild"
}

app_remoting_shared_module("ar_shared_module") {
  app_client_id = "sample_client_id"
  app_name = "shared_module"
  app_fullname = "AppRemoting Shared Module"
  app_description = "AppRemoting Shared Module"
  manifest_key = "remotingdevbuild"
}