1SubDir HAIKU_TOP src tests kits translation ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4AddSubDirSupportedPlatforms libbe_test ; 5 6local libtranslation = translation ; 7 8if $(TARGET_PLATFORM) = libbe_test { 9 UsePublicHeaders translation ; 10 libtranslation = <tests!unittests>libtranslation.so ; 11} 12 13UnitTestLib libtranslationtest.so 14 : TranslationKitTestAddon.cpp 15 TranslatorRosterTest.cpp 16 BitmapStreamTest.cpp 17 TranslationUtilsTest.cpp 18 TranslatorTest.cpp 19 : $(libtranslation) be $(TARGET_LIBSTDC++) 20; 21