summaryrefslogtreecommitdiffstats
path: root/libnativeloader
diff options
context:
space:
mode:
authorJaekyun Seok <jaekyun@google.com>2016-12-21 14:22:00 +0900
committerJaekyun Seok <jaekyun@google.com>2016-12-22 07:03:26 +0900
commit86e80b9be0a1fc6070ffae08e4c99d6dd577eb2a (patch)
treef59fd6d6611d87b45ae99bbabf05172148f37e42 /libnativeloader
parent8a1c4b85303cd636f4920f99093063f57ecc8e73 (diff)
downloadsystem_core-86e80b9be0a1fc6070ffae08e4c99d6dd577eb2a.tar.gz
system_core-86e80b9be0a1fc6070ffae08e4c99d6dd577eb2a.tar.bz2
system_core-86e80b9be0a1fc6070ffae08e4c99d6dd577eb2a.zip
Use shared lib of libutils, libz and libbase.
libutils, libz and libbase are being used as shared lib by many other modules. So using their shared lib will reduce total image size. Size diffs on angler build image are as follows. libziparchive.so : 103844 -> 41680 (-62164) libnativeloader.so: 50824 -> 25104 (-25720) total : (-87884) Test: building succeeded, and the image was tested on angler. Bug: 33056637 Change-Id: I015afe5b8f4d87d495b706e2e78d60f44a910e87
Diffstat (limited to 'libnativeloader')
-rw-r--r--libnativeloader/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnativeloader/Android.bp b/libnativeloader/Android.bp
index 9d3389958..c1133fbc1 100644
--- a/libnativeloader/Android.bp
+++ b/libnativeloader/Android.bp
@@ -9,8 +9,8 @@ cc_library {
"liblog",
"libcutils",
"libnativebridge",
+ "libbase",
],
- static_libs: ["libbase"],
target: {
android: {
shared_libs: ["libdl"],