OLD | NEW |
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("//remoting/ios/app/remoting_ios_tmpl.gni") | 5 import("//remoting/ios/app/remoting_ios_tmpl.gni") |
6 | 6 |
7 group("all") { | 7 group("all") { |
8 testonly = true | 8 testonly = true |
9 | 9 |
10 deps = [ | 10 deps = [ |
11 ":ios_remoting_app", | 11 ":ios_remoting_app", |
12 ] | 12 ] |
13 } | 13 } |
14 | 14 |
15 # source set to be used by both external and internal app. | 15 # source set to be used by both external and internal app. |
16 source_set("common_source_set") { | 16 source_set("common_source_set") { |
17 sources = [ | 17 sources = [ |
18 "app_delegate.h", | 18 "app_delegate.h", |
19 "app_delegate.mm", | 19 "app_delegate.mm", |
| 20 "app_view_controller.h", |
20 "client_connection_view_controller.h", | 21 "client_connection_view_controller.h", |
21 "client_connection_view_controller.mm", | 22 "client_connection_view_controller.mm", |
22 "host_collection_header_view.h", | 23 "host_collection_header_view.h", |
23 "host_collection_header_view.mm", | 24 "host_collection_header_view.mm", |
24 "host_collection_view_cell.h", | 25 "host_collection_view_cell.h", |
25 "host_collection_view_cell.mm", | 26 "host_collection_view_cell.mm", |
26 "host_collection_view_controller.h", | 27 "host_collection_view_controller.h", |
27 "host_collection_view_controller.mm", | 28 "host_collection_view_controller.mm", |
28 "host_view_controller.h", | 29 "host_view_controller.h", |
29 "host_view_controller.mm", | 30 "host_view_controller.mm", |
| 31 "main.mm", |
30 "pin_entry_view.h", | 32 "pin_entry_view.h", |
31 "pin_entry_view.mm", | 33 "pin_entry_view.mm", |
32 "remoting_menu_view_controller.h", | |
33 "remoting_menu_view_controller.mm", | |
34 "remoting_theme.h", | 34 "remoting_theme.h", |
35 "remoting_theme.mm", | 35 "remoting_theme.mm", |
36 "remoting_view_controller.h", | 36 "remoting_view_controller.h", |
37 "remoting_view_controller.mm", | 37 "remoting_view_controller.mm", |
38 ] | 38 ] |
39 | 39 |
40 deps = [ | 40 deps = [ |
41 "//base", | 41 "//base", |
42 "//google_apis", | 42 "//google_apis", |
43 "//remoting/base", | 43 "//remoting/base", |
(...skipping 10 matching lines...) Expand all Loading... |
54 | 54 |
55 public_deps = [ | 55 public_deps = [ |
56 "//ios/third_party/material_components_ios", | 56 "//ios/third_party/material_components_ios", |
57 ] | 57 ] |
58 | 58 |
59 configs += [ "//build/config/compiler:enable_arc" ] | 59 configs += [ "//build/config/compiler:enable_arc" ] |
60 } | 60 } |
61 | 61 |
62 source_set("main") { | 62 source_set("main") { |
63 sources = [ | 63 sources = [ |
64 "main.mm", | 64 "app_view_controller_chromium.mm", |
| 65 "remoting_menu_view_controller.h", |
| 66 "remoting_menu_view_controller.mm", |
65 ] | 67 ] |
66 deps = [ | 68 deps = [ |
67 ":common_source_set", | 69 ":common_source_set", |
68 "//remoting/ios/app/resources:system_icons", | 70 "//remoting/ios/app/resources:system_icons", |
69 ] | 71 ] |
70 configs += [ "//build/config/compiler:enable_arc" ] | 72 configs += [ "//build/config/compiler:enable_arc" ] |
71 } | 73 } |
72 | 74 |
73 ios_remoting_app_tmpl("ios_remoting_app") { | 75 ios_remoting_app_tmpl("ios_remoting_app") { |
74 output_name = "chromoting" | 76 output_name = "chromoting" |
75 entitlements_path = "resources/Remoting.entitlements" | 77 entitlements_path = "resources/Remoting.entitlements" |
76 remoting_source_set = ":main" | 78 remoting_source_set = ":main" |
77 } | 79 } |
OLD | NEW |