link libbase statically into libnetd_updatable - saves ~85 kB
Before (aosp_cf_x86_phone-userdebug): $ adbz shell ls -l /apex/com.android.tethering/lib -rw-r--r-- 1 system system 251404 1969-12-31 16:00 libbase.so -rw-r--r-- 1 system system 713636 1969-12-31 16:00 libc++.so -rw-r--r-- 1 system system 64560 1969-12-31 16:00 libcom_android_connectivity_com_android_net_module_util_jni.so -rw-r--r-- 1 system system 13596 1969-12-31 16:00 libframework-connectivity-jni.so -rw-r--r-- 1 system system 45776 1969-12-31 16:00 libnetd_updatable.so -rw-r--r-- 1 system system 948032 1969-12-31 16:00 libservice-connectivity.so After (aosp_cf_x86_phone-userdebug): $ adbz shell ls -l /apex/com.android.tethering/lib -rw-r--r-- 1 system system 713636 1969-12-31 16:00 libc++.so -rw-r--r-- 1 system system 64560 1969-12-31 16:00 libcom_android_connectivity_com_android_net_module_util_jni.so -rw-r--r-- 1 system system 13596 1969-12-31 16:00 libframework-connectivity-jni.so -rw-r--r-- 1 system system 212624 1969-12-31 16:00 libnetd_updatable.so -rw-r--r-- 1 system system 948032 1969-12-31 16:00 libservice-connectivity.so Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I19c9d73ba3555bbc1987fbdc0be19af1f0511948
This commit is contained in:
parent
76709a18e9
commit
f8943ea3bc
|
@ -32,10 +32,10 @@ cc_library {
|
|||
"NetdUpdatable.cpp",
|
||||
],
|
||||
static_libs: [
|
||||
"libbase",
|
||||
"libnetdutils",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
],
|
||||
export_include_dirs: ["include"],
|
||||
|
|
Loading…
Reference in New Issue