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

Side by Side Diff: remoting/ios/app/BUILD.gn

Issue 2934593002: [CRD iOS] Define template for the CRD iOS target (Closed)
Patch Set: Add the target_name prefix Created 3 years, 6 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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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 import("//build/config/chrome_build.gni") 5 import("//remoting/ios/app/remoting_ios_tmpl.gni")
6 import("//build/config/ios/rules.gni")
7 import("//build/mac/tweak_info_plist.gni")
8 import("//build/util/process_version.gni")
9 import("//remoting/build/config/remoting_build.gni")
10 6
11 group("all") { 7 group("all") {
12 testonly = true 8 testonly = true
13 9
14 deps = [ 10 deps = [
15 ":ios_remoting_app", 11 ":ios_remoting_app",
16 ] 12 ]
17 } 13 }
18 14
19 source_set("main") { 15 ios_remoting_source_set("main") {
20 sources = [ 16 sources = []
21 "app_delegate.h",
22 "app_delegate.mm",
23 "client_connection_view_controller.h",
24 "client_connection_view_controller.mm",
25 "host_collection_header_view.h",
26 "host_collection_header_view.mm",
27 "host_collection_view_cell.h",
28 "host_collection_view_cell.mm",
29 "host_collection_view_controller.h",
30 "host_collection_view_controller.mm",
31 "host_view_controller.h",
32 "host_view_controller.mm",
33 "main.mm",
34 "pin_entry_view.h",
35 "pin_entry_view.mm",
36 "remoting_settings_view_controller.h",
37 "remoting_settings_view_controller.mm",
38 "remoting_theme.h",
39 "remoting_theme.mm",
40 "remoting_view_controller.h",
41 "remoting_view_controller.mm",
42 ]
43
44 deps = [
45 "//base",
46 "//google_apis",
47 "//remoting/base",
48 "//remoting/client",
49 "//remoting/client/input",
50 "//remoting/ios:ios_core",
51 "//remoting/protocol",
52 "//ui/base",
53 "//ui/gfx",
54 "//ui/resources",
55 ]
56
57 public_deps = [
58 "//ios/third_party/material_components_ios",
59 ]
60
61 configs += [ "//build/config/compiler:enable_arc" ]
62 } 17 }
63 18
64 tweak_info_plist("tweak_info_plist") { 19 ios_remoting_app_tmpl("ios_remoting_app") {
65 info_plist = "//remoting/ios/app/resources/Info.plist" 20 output_name = "chromoting"
66 args = [ "--platform=ios" ] 21 entitlements_path = "resources/Remoting.entitlements"
22 remoting_source_set = ":main"
67 } 23 }
68
69 ios_app_bundle("ios_remoting_app") {
70 output_name = "$remoting_ios_executable_name"
71
72 entitlements_path = "resources/Remoting.entitlements"
73 info_plist_target = ":tweak_info_plist"
74
75 extra_substitutions = [
76 "BUNDLE_IDENTIFIER=$remoting_ios_bundle_id",
77 "DISPLAY_NAME=$remoting_ios_display_name",
78 "EXECUTABLE_NAME=$remoting_ios_executable_name",
79 "MINIMUM_OS_VERSION=7.0",
80 "PRODUCT_NAME=$remoting_ios_product_name",
81 "VERSION_FULL=$remoting_version_full",
82 "VERSION_SHORT=$remoting_version_short",
83 ]
84
85 libs = [
86 "Accelerate.framework",
87 "AudioToolbox.framework",
88 "CoreAudio.framework",
89 "CoreData.framework",
90 "CoreMIDI.framework",
91 "CoreVideo.framework",
92 "GLKit.framework",
93 "OpenGLES.framework",
94 "Webkit.framework",
95 "SafariServices.framework",
96 "SystemConfiguration.framework",
97 ]
98
99 deps = [
100 ":main",
101 "//base",
102 "//remoting/ios/app/resources:assets",
103 "//remoting/ios/app/resources:launchscreen_assets",
104 "//remoting/ios/app/resources:remoting_icons",
105 "//remoting/ios/display",
106 ]
107
108 bundle_deps = [ ":launchscreen_storyboard" ]
109 }
110
111 bundle_data_ib_file("launchscreen_storyboard") {
112 source = "resources/LaunchScreen.storyboard"
113 }
OLDNEW
« no previous file with comments | « no previous file | remoting/ios/app/remoting_ios_tmpl.gni » ('j') | remoting/ios/app/remoting_ios_tmpl.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698