android_system_core/libnativeloader
Jiyong Park 9837d6be1f Don't install unnecessary VNDK libs
vndk_package is a phony module that includes ALL VNDK libs found in the
source code. As a result, VNDK libs that were actually not needed for
the device have been installed consuming storage. For example,
/system/lib/vndk/android.hardware.automotive*.so files were installed
even though walleye/taimen do not have automotive HALs.

VNDK libs are now installed by their link time dependencies (i.e. if a
vendor module uses libcutils, then /system/lib[64]/vndk-sp/libcutils.so
is automatically installed.).

By the way, there is a few number of VNDK libs that do not have any
link time dependency from vendor modules. They are always opened via
dlopen. In such cases, the vndk modules are added to `required`
or `LOCAL_REQUIRED_MODULES` of the module that dlopens them.

Bug: 67002788
Test: walleye builds and boots to the UI
Test: basic functionalities work (sound, camera, camcorder, slow-mo,
youtube, wifi, bluetooth)

Change-Id: I321256b9d20f20a9062c6d13b1745d8727eda558
2017-12-18 21:21:02 +09:00
..
include/nativeloader vendor apk is unbundled 2017-09-07 20:26:10 +09:00
.clang-format Set libnativeloader style to clang-format-2 2017-03-29 17:33:12 -07:00
Android.bp Don't install unnecessary VNDK libs 2017-12-18 21:21:02 +09:00
native_loader.cpp Load versioned llndk.libraries.txt and vndksp.libraries.txt 2017-12-13 10:27:28 +09:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00