Files
hardware_interfaces/graphics/allocator/2.0/default/Android.bp
Chia-I Wu 4c0d397f1c graphics: add IAllocator service daemon
Bug: 32021161
Test: builds and boots
Change-Id: I2752559c4e168a4ea7cbd9223ef3692cdeda96f6
2016-10-19 11:57:47 +08:00

40 lines
991 B
Plaintext

cc_library_shared {
name: "android.hardware.graphics.allocator@2.0-impl",
relative_install_path: "hw",
srcs: ["Gralloc.cpp"],
cppflags: ["-Wall", "-Wextra"],
shared_libs: [
"android.hardware.graphics.allocator@2.0",
"libbase",
"libcutils",
"libhardware",
"libhidl",
"libhwbinder",
"liblog",
"libutils",
],
}
cc_binary {
name: "android.hardware.graphics.allocator@2.0-service",
relative_install_path: "hw",
srcs: ["service.cpp"],
init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"],
shared_libs: [
"android.hardware.graphics.allocator@2.0",
"libhidl",
"libhwbinder",
"liblog",
"libutils",
],
}
cc_library_static {
name: "libgralloc1-adapter",
srcs: ["gralloc1-adapter.c"],
include_dirs: ["system/core/libsync/include"],
cflags: ["-Wall", "-Wextra", "-Wno-unused-parameter"],
export_include_dirs: ["."],
}