From 5f6f70023a801c6c50d53e4385aec331b333cbd7 Mon Sep 17 00:00:00 2001 From: Kaido Kert Date: Wed, 4 Sep 2024 11:36:13 -0700 Subject: [PATCH] Remove gtest reverse deps from Starboard (#4087) Removes reverse dependency on Cobalt from test targets b/364421874 --- starboard/extension/BUILD.gn | 2 +- starboard/shared/ffmpeg/BUILD.gn | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/starboard/extension/BUILD.gn b/starboard/extension/BUILD.gn index 810ffdb88772..fd3dcebef07a 100644 --- a/starboard/extension/BUILD.gn +++ b/starboard/extension/BUILD.gn @@ -16,11 +16,11 @@ target(gtest_target_type, "extension_test") { testonly = true has_pedantic_warnings = true sources = [ + "//starboard/common/test_main.cc", "enhanced_audio_test.cc", "extension_test.cc", ] deps = [ - "//cobalt/test:run_all_unittests", "//starboard:starboard_group", "//testing/gmock", "//testing/gtest", diff --git a/starboard/shared/ffmpeg/BUILD.gn b/starboard/shared/ffmpeg/BUILD.gn index 6050196ac294..95578ba6a8a7 100644 --- a/starboard/shared/ffmpeg/BUILD.gn +++ b/starboard/shared/ffmpeg/BUILD.gn @@ -107,11 +107,13 @@ static_library("ffmpeg_dispatch_sources") { target(gtest_target_type, "ffmpeg_demuxer_test") { testonly = true - sources = [ "ffmpeg_demuxer_test.cc" ] + sources = [ + "//starboard/common/test_main.cc", + "ffmpeg_demuxer_test.cc", + ] configs += [ "//starboard/build/config:starboard_implementation" ] deps = [ ":ffmpeg_dispatch_sources", - "//cobalt/test:run_all_unittests", "//starboard:starboard_group", "//starboard/common", "//testing/gmock",