如何阻止Android版系统删除我预先构建的“.o”文件?
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := MyTestApp
LOCAL_SRC_FILES := main.cpp
LOCAL_C_INCLUDES :=
LOCAL_LDLIBS := -llog
LOCAL_CFLAGS :=
LOCAL_CPPFLAGS :=
LOCAL_LDFLAGS := -Wl,--format=binary -Wl,Resources/MyBinRsrc -Wl,--output=dependency/MyBinRsrc.o -Wl,--format=elf,dependency/MyBinRsrc.o -Wl,--format=default
COMMON_SRC_FILES := $(LOCAL_SRC_FILES)
LOCAL_OBJECTS += dependency/MyBinRsrc.o
include $(BUILD_EXECUTABLE)