[android] Reduced c++ libs size by removing unused code from them
This commit is contained in:
parent
021ea8d949
commit
2673070d0d
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,11 @@ LOCAL_SRC_FILES += \
|
|||
../../storage/distance.cpp \
|
||||
../../storage/storage.cpp \
|
||||
|
||||
LOCAL_CFLAGS += -fvisibility=hidden
|
||||
LOCAL_CPPFLAGS += -fvisibility-inlines-hidden
|
||||
|
||||
LOCAL_LDLIBS += -landroid
|
||||
|
||||
LOCAL_LDLIBS += -Wl,--gc-sections
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
|
Reference in a new issue