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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
# Copyright 2016 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.
import("//remoting/build/config/remoting_build.gni")
group("all") {
testonly = true
deps = [
":ios_core",
"./bridge:all",
]
}
group("all_test") {
testonly = true
deps = [
":ios_core_unit_tests",
"./bridge:bridge_unit_tests",
]
}
source_set("ios_core") {
sources = [
"app_runtime.cc",
"app_runtime.h",
"client_gestures.h",
"client_gestures.mm",
"host.h",
"host.mm",
"host_preferences.h",
"host_preferences.mm",
"host_preferences_persistence.h",
"key_input.h",
"key_input.mm",
"key_map_us.h",
"utility.h",
"utility.mm",
]
if (!is_chrome_branded) {
sources += [ "host_preferences_persistence_chromium.mm" ]
}
public_deps = [
"//third_party/webrtc/base:rtc_base",
"//third_party/webrtc/modules/desktop_capture:primitives",
]
deps = [
"//base",
"//remoting/protocol",
]
libs = [
"CoreGraphics.framework",
"GLKit.framework",
"OpenGLES.framework",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("ios_core_unit_tests") {
testonly = true
include_dirs = [
"$root_gen_dir",
"//third_party/protobuf/src",
]
sources = [
# "host_refresh_unittest.mm",
# "host_refresh_unittest_helper.h",
"key_input_unittest.mm",
]
deps = [
":ios_core",
"//testing/gtest",
]
configs += [ "//build/config/compiler:enable_arc" ]
data = []
}
|