diff options
author | Jiyong Park <jiyong@google.com> | 2017-08-10 20:37:20 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2017-08-10 20:38:40 +0900 |
commit | 6fa614124bdf4b5b5cfe8bbd51ee95a6d4dadbb6 (patch) | |
tree | 50080c4ed8d66f9b5e6b5d6c8227cd1ca355609d /driver | |
parent | 996f52b4d3ff3f861245272a3f1599156b01b445 (diff) | |
download | rs-6fa614124bdf4b5b5cfe8bbd51ee95a6d4dadbb6.tar.gz |
Mark RS libs as VNDK-SP
The RS libs are used by RS HAL implementations which are Same-process
HALs. In order to make the RS libs available to the HALs, they are
marked as VNDK-SP.
Bug: 64425518
Test: BOARD_VNDK_VERSION=current m -j libRSDriver.vendor
Test: BOARD_VNDK_VERSION=current m -j libRS_internal.vendor
Test: BOARD_VNDK_VERSION=current m -j libRSCpuRef.vendor
Change-Id: Ia5c9d59b98b6a910a8cb76be1e823da542ca043a
Diffstat (limited to 'driver')
-rw-r--r-- | driver/rsdAllocation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/rsdAllocation.cpp b/driver/rsdAllocation.cpp index 8bdd75b7..6b59d1c7 100644 --- a/driver/rsdAllocation.cpp +++ b/driver/rsdAllocation.cpp @@ -30,6 +30,8 @@ #include <GLES/glext.h> #endif +#include <unistd.h> // for close() + using android::renderscript::Allocation; using android::renderscript::Context; using android::renderscript::Element; |