commit | e762be91c3280d837b1d48455cba90459ced7511 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu May 09 16:26:45 2013 -0700 |
committer | Mathias Agopian <mathias@google.com> | Thu May 09 16:52:19 2013 -0700 |
tree | 38e44c614bea2a8f819a935527d4442a100741f8 | |
parent | dfb6ca555f3b77baa3f18c4dbbc20c644778e60f [diff] [blame] |
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
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 @@ LOCAL_CFLAGS += -DANDROID_SMP=0 endif +LOCAL_CFLAGS += -fvisibility=hidden + include $(BUILD_SHARED_LIBRARY) #