commit | 75dacc153f6fc6a6a23abd41f0ed44f5b2413942 | [log] [tgz] |
---|---|---|
author | Doug Kwan <dougkwan@google.com> | Tue Jul 20 16:54:58 2010 -0700 |
committer | Doug Kwan <dougkwan@google.com> | Tue Jul 20 16:54:58 2010 -0700 |
tree | 02104af6865bc9d9e0297937984b101e62c24af4 | |
parent | e405ef4f8a375b440b31fed16471f5b52e2357e3 [diff] [blame] |
Hide symbols in libbcc.so to save 800k space. Change-Id: I036428b42e8232ab306a9d6a322012849a7140ba
diff --git a/Android.mk b/Android.mk index a9f8794..d227e12 100644 --- a/Android.mk +++ b/Android.mk
@@ -79,6 +79,10 @@ $(LOCAL_STATIC_LIBRARIES) endif +# This hides most of the symbols in the shared library and reduces the size +# of libbcc.so by about 800k. +LOCAL_LDFLAGS += -Wl,--exclude-libs=ALL + include $(LLVM_ROOT_PATH)/llvm-device-build.mk include $(BUILD_SHARED_LIBRARY)