diff options
author | Jaekyun Seok <jaekyun@google.com> | 2016-12-21 14:22:00 +0900 |
---|---|---|
committer | Jaekyun Seok <jaekyun@google.com> | 2016-12-22 07:03:26 +0900 |
commit | 86e80b9be0a1fc6070ffae08e4c99d6dd577eb2a (patch) | |
tree | f59fd6d6611d87b45ae99bbabf05172148f37e42 /libnativeloader | |
parent | 8a1c4b85303cd636f4920f99093063f57ecc8e73 (diff) | |
download | core-86e80b9be0a1fc6070ffae08e4c99d6dd577eb2a.tar.gz core-86e80b9be0a1fc6070ffae08e4c99d6dd577eb2a.tar.bz2 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.bp | 2 |
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"], |