graphics: move libgralloc1-adapter am: d6695d5bdc am: a3c036bd37

am: 719bc97bff

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

View file

@ -36,13 +36,3 @@ cc_binary {
"libutils", "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 <sync/sync.h>
#include <inttypes.h> #include <inttypes.h>
#include <unistd.h>
template <typename PFN, typename T> template <typename PFN, typename T>
static gralloc1_function_pointer_t asFP(T function) static gralloc1_function_pointer_t asFP(T function)