summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Android.mk
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-05-09 16:26:45 -0700
committerMathias Agopian <mathias@google.com>2013-05-09 16:52:19 -0700
commite762be91c3280d837b1d48455cba90459ced7511 (patch)
tree38e44c614bea2a8f819a935527d4442a100741f8 /services/audioflinger/Android.mk
parentdfb6ca555f3b77baa3f18c4dbbc20c644778e60f (diff)
downloadframeworks_av-e762be91c3280d837b1d48455cba90459ced7511.zip
frameworks_av-e762be91c3280d837b1d48455cba90459ced7511.tar.gz
frameworks_av-e762be91c3280d837b1d48455cba90459ced7511.tar.bz2
make libaudioflinger symbols visibility hidden
we export only symbols needed by clients of this library. this saves about 130KB (1/3rd of the lib size) Change-Id: Id81f3ecb299ee3abc0811915cf6efe87180bf15c
Diffstat (limited to 'services/audioflinger/Android.mk')
-rw-r--r--services/audioflinger/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/audioflinger/Android.mk b/services/audioflinger/Android.mk
index 061a079..714854e 100644
--- a/services/audioflinger/Android.mk
+++ b/services/audioflinger/Android.mk
@@ -81,6 +81,8 @@ else
LOCAL_CFLAGS += -DANDROID_SMP=0
endif
+LOCAL_CFLAGS += -fvisibility=hidden
+
include $(BUILD_SHARED_LIBRARY)
#