mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
Android.mk: use -fvisibility=hidden
brings the final libwebp.so size down 16/20K with arm64/armv7 builds
using ndk-r13
Change-Id: I20d8aba61d6b692b0fc32f4b271e2f9872f03c28
(cherry picked from commit de568abfdb
)
This commit is contained in:
parent
bd63a31aab
commit
4fe5d588bf
@ -1,6 +1,7 @@
|
|||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
WEBP_CFLAGS := -Wall -DANDROID -DHAVE_MALLOC_H -DHAVE_PTHREAD -DWEBP_USE_THREAD
|
WEBP_CFLAGS := -Wall -DANDROID -DHAVE_MALLOC_H -DHAVE_PTHREAD -DWEBP_USE_THREAD
|
||||||
|
WEBP_CFLAGS += -fvisibility=hidden
|
||||||
|
|
||||||
ifeq ($(APP_OPTIM),release)
|
ifeq ($(APP_OPTIM),release)
|
||||||
WEBP_CFLAGS += -finline-functions -ffast-math \
|
WEBP_CFLAGS += -finline-functions -ffast-math \
|
||||||
|
Loading…
Reference in New Issue
Block a user