1 # Copyright 2015 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/chromeos/ui_mode.gni")
6 import("//remoting/build/config/remoting_build.gni")
8 group("remoting_all") {
11 deps = [ ":remoting_unittests" ]
15 "//remoting/host/win:all",
16 "//remoting/tools:remoting_breakpad_tester",
19 if (is_chrome_branded) {
20 deps += [ "//remoting/host:remoting_host_installation" ]
26 "//remoting/android:remoting_apk",
27 "//remoting/android:remoting_test_apk",
34 "//remoting/ios:ios_remoting_unittests",
38 if (enable_remoting_host) {
40 ":remoting_perftests",
44 if (!is_chromeos_ash && !is_android) {
46 "//remoting/host:remoting_native_messaging_manifests",
47 "//remoting/host:remoting_start_host",
50 deps += [ "//remoting/host:remoting_native_messaging_host" ]
54 deps += [ "//remoting/host/it2me:remote_assistance_host" ]
56 deps += [ "//remoting/host/it2me:remote_assistance_host_uiaccess" ]
62 "//remoting/host/crash:remoting_crash_uploader",
63 "//remoting/host/linux:remoting_dev_me2me_host",
64 "//remoting/host/linux:remoting_user_session",
69 if (enable_me2me_host) {
70 deps += [ "//remoting/host:remoting_me2me_host" ]
71 if (is_chrome_branded) {
72 deps += [ "//remoting/host:remoting_me2me_host_archive" ]
77 group("test_support") {
83 "//remoting/base:test_support",
85 "//remoting/codec:decoder",
86 "//remoting/codec:encoder",
87 "//remoting/protocol:test_support",
88 "//remoting/resources",
89 "//remoting/signaling:test_support",
90 "//remoting/test:test_support",
96 deps += [ "//components/policy/core/browser:test_support" ]
99 if (enable_remoting_host) {
100 deps += [ "//remoting/host:test_support" ]
104 test("remoting_unittests") {
108 configs += [ "//remoting/build/config:version" ]
113 "//base/test:test_support",
115 "//remoting/base:unit_tests",
116 "//remoting/client:unit_tests",
117 "//remoting/client/audio:unit_tests",
118 "//remoting/client/input:unit_tests",
119 "//remoting/client/notification:unit_tests",
120 "//remoting/client/ui:unit_tests",
121 "//remoting/protocol:unit_tests",
122 "//remoting/signaling:unit_tests",
127 if (enable_remoting_host) {
129 "//remoting/codec:unit_tests",
130 "//remoting/host:unit_tests",
135 deps += [ "//third_party/webrtc_overrides:webrtc_component" ]
138 deps += [ "//net/android:net_java" ]
140 libs += [ "android" ]
144 defines += [ "_ALT_NO_EXCEPTIONS" ]
153 # TODO(crbug.com/1052397): Change to !is_chromeos once lacros-chrome is switched to target_os=chromeos.
155 deps += [ "//remoting/client/display:unit_tests" ]
159 if (enable_remoting_host) {
160 test("remoting_perftests") {
165 "test/codec_perftest.cc",
166 "test/protocol_perftest.cc",
169 configs += [ "//remoting/build/config:version" ]
174 "//base/test:run_all_unittests",
175 "//base/test:test_support",
176 "//components/webrtc:thread_wrapper",
177 "//net:test_support",
179 "//remoting/client:client",
180 "//remoting/client/audio:audio",
181 "//remoting/codec:encoder",
182 "//remoting/host:common",
183 "//remoting/host:test_support",
184 "//remoting/protocol:protocol",
185 "//remoting/signaling:test_support",
186 "//remoting/test:test_support",
188 "//third_party/webrtc_overrides:webrtc_component",
192 defines += [ "_ALT_NO_EXCEPTIONS" ]