Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: remoting/webapp/BUILD.gn

Issue 1251273002: Remove legacy CRD application types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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") {
11 deps = [
12 ":webapp_v1",
13 ":ar_sample_app",
14 ":credits",
15 ":ar_shared_module",
16 ]
17
18 if (enable_internal_app_remoting_targets) {
19 deps += [ "//remoting/internal:ar_internal_apps" ]
20 }
21
22 if (enable_nacl) {
23 deps += [ ":webapp_v2" ]
24 }
25 }
26
27 # GYP version: remoting/remoting_client:remoting_credits 10 # GYP version: remoting/remoting_client:remoting_credits
28 action("credits") { 11 action("credits") {
29 about_credits_file = "$target_gen_dir/credits.html" 12 about_credits_file = "$target_gen_dir/credits.html"
30 script = "//tools/licenses.py" 13 script = "//tools/licenses.py"
31 14
32 inputs = [ 15 inputs = [
33 "base/html/credits.tmpl", 16 "base/html/credits.tmpl",
34 "base/html/credits_entry.tmpl", 17 "base/html/credits_entry.tmpl",
35 ] 18 ]
36 19
37 outputs = [ 20 outputs = [
38 about_credits_file, 21 about_credits_file,
39 ] 22 ]
40 23
41 args = [ 24 args = [
42 "credits", 25 "credits",
43 rebase_path(about_credits_file, root_build_dir), 26 rebase_path(about_credits_file, root_build_dir),
44 "--file-template", 27 "--file-template",
45 rebase_path("base/html/credits.tmpl", root_build_dir), 28 rebase_path("base/html/credits.tmpl", root_build_dir),
46 "--entry-template", 29 "--entry-template",
47 rebase_path("base/html/credits_entry.tmpl", root_build_dir), 30 rebase_path("base/html/credits_entry.tmpl", root_build_dir),
48 ] 31 ]
49 } 32 }
50 33
51 desktop_remoting_webapp("webapp_v1") { 34 desktop_remoting_webapp("webapp") {
52 webapp_type = "v1" 35 webapp_type = "desktop"
53 output_dir = "remoting/remoting-webapp"
54 zip_path = "remoting/remoting-webapp.zip"
55 extra_files = []
56 }
57
58 desktop_remoting_webapp("webapp_v2") {
59 webapp_type = "v2_pnacl"
60 output_dir = "remoting/remoting-webapp.v2" 36 output_dir = "remoting/remoting-webapp.v2"
61 zip_path = "remoting/remoting-webapp.v2.zip" 37 zip_path = "remoting/remoting-webapp.v2.zip"
62 extra_files = [ 38 extra_files = [
63 "crd/remoting_client_pnacl.nmf.jinja2", 39 "crd/remoting_client_pnacl.nmf.jinja2",
64 # TODO(garykac): Get correct path to this. 40 # TODO(garykac): Get correct path to this.
65 #"<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe", 41 #"<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe",
66 ] 42 ]
67 } 43 }
68 44
69 app_remoting_webapp("ar_sample_app") { 45 app_remoting_webapp("ar_sample_app") {
70 app_key = "Sample_App" 46 app_key = "Sample_App"
71 app_id = "ljacajndfccfgnfohlgkdphmbnpkjflk" 47 app_id = "ljacajndfccfgnfohlgkdphmbnpkjflk"
72 app_client_id = "sample_client_id" 48 app_client_id = "sample_client_id"
73 app_vendor = "" 49 app_vendor = ""
74 app_name = "sample_app" 50 app_name = "sample_app"
75 app_fullname = "App Remoting Client" 51 app_fullname = "App Remoting Client"
76 app_description = "App Remoting client" 52 app_description = "App Remoting client"
77 app_capabilities = [ "GOOGLE_DRIVE" ] 53 app_capabilities = [ "GOOGLE_DRIVE" ]
78 manifest_key = "remotingdevbuild" 54 manifest_key = "remotingdevbuild"
79 } 55 }
80 56
81 app_remoting_shared_module("ar_shared_module") { 57 app_remoting_shared_module("ar_shared_module") {
82 #app_client_id = "sample_client_id" 58 #app_client_id = "sample_client_id"
83 app_name = "shared_module" 59 app_name = "shared_module"
84 } 60 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698