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 184 185 186 187 188 189 190 191 192 193 194 195 196 197
|
# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
assert(is_chromeos)
static_library("boca") {
sources = [
"boca_app_client.cc",
"boca_app_client.h",
"boca_metrics_manager.cc",
"boca_metrics_manager.h",
"boca_metrics_util.cc",
"boca_metrics_util.h",
"boca_role_util.cc",
"boca_role_util.h",
"boca_session_manager.cc",
"boca_session_manager.h",
"boca_session_util.cc",
"boca_session_util.h",
"boca_window_observer.h",
"notifications/boca_notification_handler.cc",
"notifications/boca_notification_handler.h",
]
deps = [
# TODO(crbug.com/376673450):Clean up unused and unwanted dependencies.
"//ash/constants",
"//ash/public/cpp",
"//ash/resources/vector_icons",
"//base",
"//chromeos/ash/components/boca:spotlight_lib",
"//chromeos/ash/components/boca/babelorca:soda_installer",
"//chromeos/ash/components/boca/proto",
"//chromeos/ash/components/boca/session_api",
"//chromeos/ash/components/channel",
"//chromeos/ash/components/network",
"//chromeos/services/network_config/public/cpp",
"//chromeos/strings:strings_grit",
"//components/prefs",
"//components/session_manager/core",
"//components/sessions:session_id",
"//components/signin/public/identity_manager",
"//components/user_manager",
"//google_apis/common",
"//ui/base",
"//ui/message_center",
]
allow_circular_includes_from =
[ "//chromeos/ash/components/boca/session_api" ]
}
static_library("invalidations") {
sources = [
"invalidations/fcm_handler.cc",
"invalidations/fcm_handler.h",
"invalidations/invalidation_service_impl.cc",
"invalidations/invalidation_service_impl.h",
]
deps = [
":boca",
"//base",
"//chromeos/ash/components/boca/session_api",
"//components/account_id",
"//components/gcm_driver",
"//components/keyed_service/core",
"//google_apis/common:common",
"//net",
]
}
static_library("spotlight_notification_constants") {
sources = [ "spotlight/spotlight_notification_constants.h" ]
deps = [ "//base" ]
}
static_library("spotlight") {
sources = [
"spotlight/register_screen_request.cc",
"spotlight/register_screen_request.h",
"spotlight/spotlight_crd_manager.h",
"spotlight/spotlight_notification_handler.cc",
"spotlight/spotlight_notification_handler.h",
"spotlight/spotlight_service.cc",
"spotlight/spotlight_service.h",
"spotlight/spotlight_session_manager.cc",
"spotlight/spotlight_session_manager.h",
"spotlight/update_view_screen_state_request.cc",
"spotlight/update_view_screen_state_request.h",
"spotlight/view_screen_request.cc",
"spotlight/view_screen_request.h",
]
deps = [
":boca",
":spotlight_notification_constants",
"//ash/constants",
"//ash/public/cpp",
"//ash/resources/vector_icons",
"//base",
"//chromeos/ash/components/boca/proto",
"//chromeos/ash/components/boca/session_api",
"//chromeos/strings:strings_grit",
"//components/signin/public/identity_manager",
"//google_apis/common:common",
"//net",
"//ui/message_center",
]
}
static_library("spotlight_lib") {
sources = [
"spotlight/fake_spotlight_oauth_token_fetcher.cc",
"spotlight/fake_spotlight_oauth_token_fetcher.h",
"spotlight/remoting_client_io_proxy.cc",
"spotlight/remoting_client_io_proxy.h",
"spotlight/spotlight_constants.h",
"spotlight/spotlight_frame_consumer.cc",
"spotlight/spotlight_frame_consumer.h",
"spotlight/spotlight_oauth_token_fetcher.h",
"spotlight/spotlight_remoting_client_manager.cc",
"spotlight/spotlight_remoting_client_manager.h",
]
deps = [
"//ash/constants",
"//base",
"//remoting/client/common",
"//remoting/protocol",
"//services/network/public/cpp",
"//skia:skia_core_public_headers",
"//third_party/webrtc_overrides:webrtc_component",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"boca_metrics_manager_unittest.cc",
"boca_role_util_unittest.cc",
"boca_session_manager_unittest.cc",
"boca_session_util_unittest.cc",
"invalidations/fcm_handler_unittest.cc",
"invalidations/invalidation_service_impl_unittest.cc",
"notifications/boca_notification_handler_unittest.cc",
"spotlight/register_screen_request_unittest.cc",
"spotlight/spotlight_notification_handler_unittest.cc",
"spotlight/spotlight_service_unittest.cc",
"spotlight/spotlight_session_manager_unittest.cc",
"spotlight/update_view_screen_state_request_unittest.cc",
"spotlight/view_screen_request_unittest.cc",
]
deps = [
":boca",
":invalidations",
":spotlight",
":spotlight_notification_constants",
"//ash:test_support",
"//ash/constants",
"//base",
"//base/test:test_support",
"//chromeos/ash/components/boca:spotlight_lib",
"//chromeos/ash/components/boca/babelorca:soda_installer",
"//chromeos/ash/components/boca/babelorca:soda_test_support",
"//chromeos/ash/components/boca/proto",
"//chromeos/ash/components/boca/session_api",
"//chromeos/ash/components/network",
"//chromeos/ash/components/settings",
"//chromeos/ash/components/settings:test_support",
"//chromeos/ash/services/network_config/public/cpp:test_support",
"//chromeos/services/network_config/public/cpp",
"//chromeos/strings:strings_grit",
"//components/gcm_driver",
"//components/gcm_driver:test_support",
"//components/prefs",
"//components/prefs:test_support",
"//components/session_manager/core",
"//components/signin/public/identity_manager",
"//components/signin/public/identity_manager:test_support",
"//components/soda",
"//components/soda:constants",
"//components/user_manager",
"//components/user_manager:test_support",
"//content/test:test_support",
"//google_apis/common",
"//google_apis/common:test_support",
"//net",
"//services/network:test_support",
"//services/network/public/cpp/",
"//testing/gmock",
"//testing/gtest",
"//third_party/webrtc_overrides:webrtc_component",
"//ui/base",
"//ui/message_center",
"//ui/message_center:test_support",
]
}
|