libdmabufheap: Add libdmabufheap to vndk-sp

Set libdmabufheap as a vndk-sp library for vendor users like
gralloc.

Without this, we see sepolicy errors and crashes on boot:
01-01 03:28:00.827   362   362 W Binder:362_2: type=1400 audit(0.0:110): avc: denied { read } for name="libdmabufheap.so" dev="sdd11" ino=570 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
01-01 03:28:00.832   362   402 E vndksupport: Could not load /vendor/lib64/hw/gralloc.hikey960.so from sphal namespace: dlopen failed: library "libdmabufheap.so" not found: needed by /vendor/lib64/hw/gralloc.hikey960.so in namespace sphal.
01-01 03:28:00.832   362   402 E HAL     : load: module=/vendor/lib64/hw/gralloc.hikey960.so
01-01 03:28:00.832   362   402 E HAL     : unknown
01-01 03:28:00.832   362   402 E MapperHal: failed to get gralloc module

libion is vndk-sp, so as libdmabufheap is an alternative, it
will also need to be vndk-sp.

NOTE: This patch needs update-vndk-list.sh to be run after
applying it.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: If9688ac55e53520decb975e40e99b2b408da7b57
1 file changed
tree: 985e79e6fb371113d63426127d6ad27ad890e792
  1. include/
  2. tests/
  3. Android.bp
  4. BufferAllocator.cpp
  5. BufferAllocatorWrapper.cpp