graphics: move libgralloc1-adapter am: d6695d5bdc
am: a3c036bd37
am: 719bc97bff
Change-Id: I770edfe2ea29dfbce8c42a79e435c5519aae238e
This commit is contained in:
commit
7c19ef13d7
7 changed files with 15 additions and 10 deletions
|
@ -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"],
|
|
||||||
}
|
|
||||||
|
|
4
graphics/allocator/2.0/utils/OWNERS
Normal file
4
graphics/allocator/2.0/utils/OWNERS
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Graphics team
|
||||||
|
jessehall@google.com
|
||||||
|
olv@google.com
|
||||||
|
stoza@google.com
|
10
graphics/allocator/2.0/utils/gralloc1-adapter/Android.bp
Normal file
10
graphics/allocator/2.0/utils/gralloc1-adapter/Android.bp
Normal 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"],
|
||||||
|
}
|
|
@ -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)
|
Loading…
Reference in a new issue