去掉没有调用的代码。
LOCAL_CPPFLAGS += -ffunction-sections -fdata-sections
LOCAL_CFLAGS += -ffunction-sections -fdata-sections
LOCAL_LDFLAGS += -Wl,--gc-sections
去掉符号表。
LOCAL_CFLAGS := \
'-fvisibility=hidden'
去掉没有调用的代码。
LOCAL_CPPFLAGS += -ffunction-sections -fdata-sections
LOCAL_CFLAGS += -ffunction-sections -fdata-sections
LOCAL_LDFLAGS += -Wl,--gc-sections
去掉符号表。
LOCAL_CFLAGS := \
'-fvisibility=hidden'