summaryrefslogtreecommitdiffstats
path: root/media/libeffects/lvm/wrapper/Android.mk
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2012-10-25 16:05:57 -0700
committerMarco Nelissen <marcone@google.com>2012-10-25 16:05:57 -0700
commit7f16b197c76fbae9399242f055a7ee16dcd0fd6d (patch)
treec3ef4aac9bb7cedd1a694a50d4f9be0ec83cc817 /media/libeffects/lvm/wrapper/Android.mk
parent6035cb5a61a7606cc8e4ecddec32b2eb37a9fd56 (diff)
downloadframeworks_av-7f16b197c76fbae9399242f055a7ee16dcd0fd6d.zip
frameworks_av-7f16b197c76fbae9399242f055a7ee16dcd0fd6d.tar.gz
frameworks_av-7f16b197c76fbae9399242f055a7ee16dcd0fd6d.tar.bz2
Only export the symbols that need to be
The effects libraries were exporting many more symbols than needed. This reduces the exported symbols to just the needed ones (basically just "AELI"), which happens to also save about 28KB. Change-Id: I115077e52e8dc845282e6f62a522908d26dd72d6
Diffstat (limited to 'media/libeffects/lvm/wrapper/Android.mk')
-rw-r--r--media/libeffects/lvm/wrapper/Android.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/media/libeffects/lvm/wrapper/Android.mk b/media/libeffects/lvm/wrapper/Android.mk
index 4313424..f1af389 100644
--- a/media/libeffects/lvm/wrapper/Android.mk
+++ b/media/libeffects/lvm/wrapper/Android.mk
@@ -9,28 +9,27 @@ LOCAL_ARM_MODE := arm
LOCAL_SRC_FILES:= \
Bundle/EffectBundle.cpp
+LOCAL_CFLAGS += -fvisibility=hidden
+
LOCAL_MODULE:= libbundlewrapper
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx
-
-
LOCAL_STATIC_LIBRARIES += libmusicbundle
LOCAL_SHARED_LIBRARIES := \
libcutils \
libdl
-
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/Bundle \
$(LOCAL_PATH)/../lib/Common/lib/ \
$(LOCAL_PATH)/../lib/Bundle/lib/ \
$(call include-path-for, audio-effects)
-
include $(BUILD_SHARED_LIBRARY)
+
# reverb wrapper
include $(CLEAR_VARS)
@@ -39,12 +38,12 @@ LOCAL_ARM_MODE := arm
LOCAL_SRC_FILES:= \
Reverb/EffectReverb.cpp
+LOCAL_CFLAGS += -fvisibility=hidden
+
LOCAL_MODULE:= libreverbwrapper
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx
-
-
LOCAL_STATIC_LIBRARIES += libreverb
LOCAL_SHARED_LIBRARIES := \