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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
|
# Copyright 2016 The Chromium Authors
# 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")
source_set("chromeos") {
sources = [
"ash_mojom_video_consumer.cc",
"ash_mojom_video_consumer.h",
"ash_proxy.cc",
"ash_proxy.h",
"clipboard_aura.cc",
"clipboard_aura.h",
"frame_sink_desktop_capturer.cc",
"frame_sink_desktop_capturer.h",
"message_box.cc",
"message_box.h",
"mouse_cursor_monitor_aura.cc",
"mouse_cursor_monitor_aura.h",
"point_transformer.cc",
"point_transformer.h",
"skia_bitmap_desktop_frame.cc",
"skia_bitmap_desktop_frame.h",
]
public_deps = [
"//ash",
"//cc",
"//components/prefs",
"//components/viz/host",
"//gpu/command_buffer/common",
"//remoting/protocol",
"//services/viz/privileged/mojom/compositing",
"//skia",
"//third_party/webrtc_overrides:webrtc_component",
"//ui/aura",
"//ui/base/cursor",
"//ui/compositor",
"//ui/events",
"//ui/views",
]
deps = [
":features",
"//remoting/base:base",
"//remoting/host:clipboard",
"//ui/base/cursor/mojom:cursor_type",
"//ui/display/manager",
"//ui/wm",
]
}
# browser_interop can't explicitly depend on //chrome/browser since they form
# a dependency circle
# (chrome/browser->remote_command->browser_interop->chrome/browser).
# Targets depending on browser_interop must have //chrome/browser in their
# dependency tree.
source_set("browser_interop") {
sources = [
"browser_interop.cc",
"browser_interop.h",
]
deps = [
"//base",
"//chrome/browser:browser_process",
"//chrome/browser:browser_public_dependencies",
"//content/public/browser:browser",
"//net",
"//remoting/base:base",
"//remoting/host",
]
}
source_set("remoting_service") {
sources = [
"file_session_storage.cc",
"file_session_storage.h",
"remote_support_host_ash.cc",
"remote_support_host_ash.h",
"remoting_service.cc",
"remoting_service.h",
"session_id.h",
"session_storage.h",
]
public_deps = [
"//remoting/host:enterprise_params",
"//remoting/host/it2me:chrome_os_host",
"//remoting/host/it2me:common",
]
configs += [ "//remoting/build/config:version" ]
deps = [
":browser_interop",
":features",
"//chrome/common:constants",
"//mojo/public/cpp/bindings",
"//remoting/base:base",
"//remoting/host",
"//remoting/host/mojom:mojom",
]
}
static_library("host_event_reporter_impl") {
sources = [
"host_event_reporter_impl.cc",
"host_event_reporter_impl.h",
]
public_deps = [
"//base",
"//chrome/browser/policy/messaging_layer/proto:crd_event_proto",
"//components/reporting/proto:record_constants",
"//remoting/host:common",
"//remoting/protocol",
]
}
# All unit tests are built as part of the //remoting/host:unit_tests target
# and must be one target named "unit_tests".
source_set("reporter_unit_tests") {
testonly = true
sources = [ "host_event_reporter_impl_unittest.cc" ]
deps = [
":host_event_reporter_impl",
"//base",
"//base/test:test_support",
"//remoting/host:common",
"//testing/gmock",
"//testing/gtest",
]
}
# The host portions of the remoting unit tests.
source_set("unit_tests") {
testonly = true
sources = [
"clipboard_aura_unittest.cc",
"file_session_storage_unittest.cc",
"frame_sink_desktop_capturer_unittest.cc",
"remote_support_host_ash_unittest.cc",
"remoting_service_unittest.cc",
"scoped_fake_ash_proxy.cc",
"scoped_fake_ash_proxy.h",
]
configs += [ "//remoting/build/config:version" ]
deps = [
":browser_interop",
":chromeos",
":features",
":remoting_service",
"//base/test:test_support",
"//chrome/browser", # Required for browser_interop
"//components/policy/core/common:test_support",
"//components/viz/service",
"//content/public/browser",
"//remoting/host:common",
"//remoting/host:test_support",
"//remoting/host/it2me:common",
"//remoting/proto",
"//remoting/resources",
"//services/network:test_support",
"//skia",
"//testing/gmock",
"//testing/gtest",
"//ui/display/manager",
]
public_deps = [ "//services/viz/privileged/mojom/compositing" ]
}
source_set("features") {
sources = [
"features.cc",
"features.h",
]
deps = [ "//base" ]
}
|