Update Android.mk for test binary

Make Android Studio happy
This commit is contained in:
topjohnwu 2021-01-05 00:01:02 -08:00
parent 5f2e22a259
commit 18b86e4fd2

View File

@ -140,15 +140,16 @@ include $(BUILD_EXECUTABLE)
endif
ifdef B_TEST
ifneq (,$(wildcard jni/test.cpp))
include $(CLEAR_VARS)
LOCAL_MODULE := test
LOCAL_STATIC_LIBRARIES := libutils
LOCAL_C_INCLUDES := jni/include
LOCAL_SRC_FILES := test.cpp
LOCAL_LDFLAGS := -static
include $(BUILD_EXECUTABLE)
endif
endif
ifdef B_BB