# 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", "screen_presenter_factory.h", "shared_crd_session_wrapper.h", "student_screen_presenter.h", "teacher_screen_presenter.h", ] deps = [ # TODO(crbug.com/376673450):Clean up unused and unwanted dependencies. ":boca_request", ":invalidation_delegate", "//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/pref_registry", "//components/prefs", "//components/session_manager/core", "//components/sessions:session_id", "//components/signin/public/identity_manager", "//components/user_manager", "//google_apis/common", "//remoting/proto", "//services/network/public/mojom", "//ui/base", "//ui/message_center", "//url", ] } static_library("boca_request") { sources = [ "boca_request.cc", "boca_request.h", "retriable_request_sender.h", "util.cc", "util.h", ] deps = [ "//base", "//chromeos/ash/components/channel", "//google_apis/common", "//net", "//services/network/public/mojom", "//url", ] } static_library("invalidations") { sources = [ "invalidations/fcm_handler.cc", "invalidations/fcm_handler.h", "invalidations/invalidation_service_impl.cc", "invalidations/invalidation_service_impl.h", ] deps = [ ":boca", ":invalidation_delegate", "//base", "//components/account_id", "//components/gcm_driver", "//components/keyed_service/core", "//google_apis/common", "//net", ] } source_set("invalidation_delegate") { sources = [ "invalidations/invalidation_service_delegate.h" ] deps = [ "//base" ] } 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", "//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_audio_stream_consumer.cc", "spotlight/spotlight_audio_stream_consumer.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_request_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", "retriable_request_sender_unittest.cc", "spotlight/register_screen_request_unittest.cc", "spotlight/remoting_client_io_proxy_unittest.cc", "spotlight/spotlight_audio_stream_consumer_unittest.cc", "spotlight/spotlight_notification_handler_unittest.cc", "spotlight/spotlight_remoting_client_manager_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", ":boca_request", ":invalidation_delegate", ":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/pref_registry", "//components/prefs", "//components/prefs:test_support", "//components/session_manager/core", "//components/session_manager/core:test_support", "//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", "//remoting/base:authorization", "//remoting/client/common", "//remoting/proto", "//remoting/protocol", "//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", ] }