graphics: move libgralloc1-adapter am: d6695d5bdc

am: a3c036bd37

Change-Id: I25f42dcd297350e8eb5cc9fc1eb6992e9f9dc9d5
This commit is contained in:
Chia-I Wu
2018-01-16 18:19:12 +00:00
committed by android-build-merger
7 changed files with 15 additions and 10 deletions

View File

@@ -36,13 +36,3 @@ cc_binary {
"libutils",
],
}
cc_library_static {
name: "libgralloc1-adapter",
defaults: ["hidl_defaults"],
srcs: ["gralloc1-adapter.cpp", "Gralloc1On0Adapter.cpp"],
include_dirs: ["system/core/libsync/include"],
cflags: ["-Wall", "-Wextra"],
export_include_dirs: ["."],
whole_static_libs: ["libgrallocusage"],
}

View File

@@ -0,0 +1,4 @@
# Graphics team
jessehall@google.com
olv@google.com
stoza@google.com

View File

@@ -0,0 +1,10 @@
cc_library_static {
name: "libgralloc1-adapter",
defaults: ["hidl_defaults"],
vendor: true,
srcs: ["gralloc1-adapter.cpp", "Gralloc1On0Adapter.cpp"],
include_dirs: ["system/core/libsync/include"],
export_include_dirs: ["."],
whole_static_libs: ["libgrallocusage"],
shared_libs: ["libhardware", "liblog"],
}

View File

@@ -29,6 +29,7 @@
#include <sync/sync.h>
#include <inttypes.h>
#include <unistd.h>
template <typename PFN, typename T>
static gralloc1_function_pointer_t asFP(T function)