diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn index 2ed3cbb1..86e12bd8 100644 --- a/content/test/BUILD.gn +++ b/content/test/BUILD.gn @@ -985,7 +985,7 @@ static_library("browsertest_support") { deps += [ "//content/public/browser" ] } - if (use_aura && toolkit_views && !is_chromecast) { + if (use_aura && toolkit_views && !is_castos) { deps += [ "//ui/views" ] } @@ -1701,7 +1701,7 @@ test("content_browsertests") { sources += [ "../browser/media/capture/mouse_cursor_overlay_controller_browsertest.cc" ] # For chromecast, content_browsertests does not provide a shell window. - if (use_aura && !is_chromecast) { + if (use_aura && !is_castos) { sources += [ "../browser/media/capture/aura_window_video_capture_device_browsertest.cc" ] } } @@ -1966,7 +1966,7 @@ test("content_browsertests") { ] } - if (is_chromecast) { + if (is_castos || is_cast_android) { sources -= [ # The cast shell media pipeline doesn't produce real video frames that we # can inspect. @@ -2266,6 +2266,9 @@ test("content_unittests") { "../browser/prerender/prerender_host_registry_unittest.cc", "../browser/prerender/prerender_host_unittest.cc", "../browser/presentation/presentation_service_impl_unittest.cc", + "../browser/private_aggregation/private_aggregation_budget_key_unittest.cc", + "../browser/private_aggregation/private_aggregation_budget_storage_unittest.cc", + "../browser/private_aggregation/private_aggregation_budgeter_unittest.cc", "../browser/quota/quota_change_dispatcher_unittest.cc", "../browser/renderer_host/ancestor_throttle_unittest.cc", "../browser/renderer_host/back_forward_cache_metrics_unittest.cc", @@ -2634,6 +2637,7 @@ test("content_unittests") { "//content/browser/devtools:devtools_background_services_proto", "//content/browser/download:proto", "//content/browser/notifications:notification_proto", + "//content/browser/private_aggregation/proto:private_aggregation_budgets_proto", "//content/child:for_content_tests", "//content/common:buildflags", "//content/gpu", @@ -2789,9 +2793,9 @@ test("content_unittests") { if (enable_library_cdms) { sources += [ - "../browser/media/cdm_storage_impl_unittest.cc", "../browser/media/key_system_support_impl_unittest.cc", "../browser/media/media_license_manager_unittest.cc", + "../browser/media/media_license_storage_host_unittest.cc", ] } @@ -3003,7 +3007,8 @@ test("content_unittests") { deps += [ "//device/vr:vr_fakes" ] } - if (is_chromecast) { + # TODO(crbug.com/1293538): Update to check is_cast_audio_only + if (is_castos || is_cast_android) { deps += [ "//chromecast:chromecast_buildflags" ] } }