SubDir HAIKU_TOP src tests kits translation ;

SetSubDirSupportedPlatformsBeOSCompatible ;
AddSubDirSupportedPlatforms libbe_test ;

local libtranslation = translation ;

if $(TARGET_PLATFORM) = libbe_test {
	UsePublicHeaders translation ;
	libtranslation = <tests!unittests>libtranslation.so ;
}

UnitTestLib libtranslationtest.so
	: TranslationKitTestAddon.cpp
		TranslatorRosterTest.cpp
		BitmapStreamTest.cpp
		TranslationUtilsTest.cpp
		TranslatorTest.cpp
	: $(libtranslation) be $(TARGET_LIBSTDC++)
;
