From de568abfdbc15a2953efc764cb0dab51b6466a52 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 18 Nov 2016 19:19:13 -0800 Subject: [PATCH] Android.mk: use -fvisibility=hidden brings the final libwebp.so size down 16/20K with arm64/armv7 builds using ndk-r13 Change-Id: I20d8aba61d6b692b0fc32f4b271e2f9872f03c28 --- Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.mk b/Android.mk index 82bd3c7a..df871d51 100644 --- a/Android.mk +++ b/Android.mk @@ -1,6 +1,7 @@ LOCAL_PATH := $(call my-dir) WEBP_CFLAGS := -Wall -DANDROID -DHAVE_MALLOC_H -DHAVE_PTHREAD -DWEBP_USE_THREAD +WEBP_CFLAGS += -fvisibility=hidden ifeq ($(APP_OPTIM),release) WEBP_CFLAGS += -finline-functions -ffast-math \