OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/build/config/remoting_build.gni") |
| 6 |
5 group("all") { | 7 group("all") { |
6 testonly = true | 8 testonly = true |
7 | 9 |
8 deps = [ | 10 deps = [ |
9 ":ios_core", | 11 ":ios_core", |
10 ":main", | 12 ":main", |
11 "./bridge:all", | 13 "./bridge:all", |
12 ] | 14 ] |
13 } | 15 } |
14 | 16 |
(...skipping 12 matching lines...) Expand all Loading... |
27 "app_delegate.mm", | 29 "app_delegate.mm", |
28 "example_view_controller.h", | 30 "example_view_controller.h", |
29 "example_view_controller.mm", | 31 "example_view_controller.mm", |
30 "main.mm", | 32 "main.mm", |
31 ] | 33 ] |
32 | 34 |
33 deps = [ | 35 deps = [ |
34 "//base", | 36 "//base", |
35 "//remoting/base", | 37 "//remoting/base", |
36 "//remoting/client", | 38 "//remoting/client", |
| 39 "//remoting/client/ios/bridge", |
37 "//remoting/protocol", | 40 "//remoting/protocol", |
38 "//third_party/google_toolbox_for_mac", | 41 "//third_party/google_toolbox_for_mac", |
39 "//ui/base", | 42 "//ui/base", |
40 "//ui/gfx", | 43 "//ui/gfx", |
41 "//ui/resources", | 44 "//ui/resources", |
42 ] | 45 ] |
43 | 46 |
44 configs += [ "//build/config/compiler:enable_arc" ] | 47 configs += [ "//build/config/compiler:enable_arc" ] |
45 } | 48 } |
46 | 49 |
47 source_set("ios_core") { | 50 source_set("ios_core") { |
48 sources = [ | 51 sources = [ |
| 52 "app_runtime.cc", |
| 53 "app_runtime.h", |
| 54 "client_gestures.h", |
| 55 "client_gestures.mm", |
49 "host.h", | 56 "host.h", |
50 "host.mm", | 57 "host.mm", |
| 58 "host_preferences.h", |
| 59 "host_preferences.mm", |
51 "key_input.h", | 60 "key_input.h", |
52 "key_input.mm", | 61 "key_input.mm", |
53 "key_map_us.h", | 62 "key_map_us.h", |
54 "utility.h", | 63 "utility.h", |
55 "utility.mm", | 64 "utility.mm", |
56 ] | 65 ] |
57 | 66 |
| 67 if (!is_chrome_branded) { |
| 68 sources += [ "host_preferences_chromium.mm" ] |
| 69 } |
| 70 |
58 public_deps = [ | 71 public_deps = [ |
59 "//third_party/webrtc/base:rtc_base", | 72 "//third_party/webrtc/base:rtc_base", |
60 "//third_party/webrtc/modules/desktop_capture:primitives", | 73 "//third_party/webrtc/modules/desktop_capture:primitives", |
61 ] | 74 ] |
62 | 75 |
63 deps = [ | 76 deps = [ |
64 "//base", | 77 "//base", |
| 78 "//remoting/protocol", |
65 ] | 79 ] |
66 | 80 |
67 libs = [ | 81 libs = [ |
68 "CoreGraphics.framework", | 82 "CoreGraphics.framework", |
69 "GLKit.framework", | 83 "GLKit.framework", |
70 "OpenGLES.framework", | 84 "OpenGLES.framework", |
71 ] | 85 ] |
72 | 86 |
73 configs += [ "//build/config/compiler:enable_arc" ] | 87 configs += [ "//build/config/compiler:enable_arc" ] |
74 } | 88 } |
(...skipping 14 matching lines...) Expand all Loading... |
89 | 103 |
90 deps = [ | 104 deps = [ |
91 ":ios_core", | 105 ":ios_core", |
92 "//testing/gtest", | 106 "//testing/gtest", |
93 ] | 107 ] |
94 | 108 |
95 configs += [ "//build/config/compiler:enable_arc" ] | 109 configs += [ "//build/config/compiler:enable_arc" ] |
96 | 110 |
97 data = [] | 111 data = [] |
98 } | 112 } |
OLD | NEW |