mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
Update Android.mk for test binary
Make Android Studio happy
This commit is contained in:
parent
5f2e22a259
commit
18b86e4fd2
@ -140,15 +140,16 @@ include $(BUILD_EXECUTABLE)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef B_TEST
|
ifdef B_TEST
|
||||||
|
ifneq (,$(wildcard jni/test.cpp))
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_MODULE := test
|
LOCAL_MODULE := test
|
||||||
LOCAL_STATIC_LIBRARIES := libutils
|
LOCAL_STATIC_LIBRARIES := libutils
|
||||||
LOCAL_C_INCLUDES := jni/include
|
LOCAL_C_INCLUDES := jni/include
|
||||||
LOCAL_SRC_FILES := test.cpp
|
LOCAL_SRC_FILES := test.cpp
|
||||||
LOCAL_LDFLAGS := -static
|
|
||||||
include $(BUILD_EXECUTABLE)
|
include $(BUILD_EXECUTABLE)
|
||||||
|
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef B_BB
|
ifdef B_BB
|
||||||
|
Loading…
Reference in New Issue
Block a user