android13/vendor/rockchip/hardware/interfaces/hdmi/1.0/default/Android.bp

52 lines
1.6 KiB
Plaintext
Executable File

// FIXME: your file license if you have one
cc_library_shared {
// FIXME: this should only be -impl for a passthrough hal.
// In most cases, to convert this to a binderized implementation, you should:
// - change '-impl' to '-service' here and make it a cc_binary instead of a
// cc_library_shared.
// - add a *.rc file for this module.
// - delete HIDL_FETCH_I* functions.
// - call configureRpcThreadpool and registerAsService on the instance.
// You may also want to append '-impl/-service' with a specific identifier like
// '-vendor' or '-<hardware identifier>' etc to distinguish it.
name: "rockchip.hardware.hdmi@1.0-impl",
relative_install_path: "hw",
// FIXME: this should be 'vendor: true' for modules that will eventually be
// on AOSP.
proprietary: true,
srcs: [
"Hdmi.cpp",
"HdmiCallback.cpp",
"DeviceV4L2Event.cpp",
],
shared_libs: [
"libhidlbase",
"libutils",
"liblog",
"rockchip.hardware.hdmi@1.0",
],
}
cc_binary {
name: "rockchip.hardware.hdmi@1.0-service",
init_rc: ["rockchip.hardware.hdmi@1.0-service.rc"],
vintf_fragments: ["rockchip.hardware.hdmi@1.0-service.xml"],
defaults: ["hidl_defaults"],
proprietary: true,
relative_install_path: "hw",
srcs: ["service.cpp",
],
cflags: ["-Werror", "-Wno-unused-parameter"],
shared_libs: [
"liblog",
"libhardware",
"libhidlbase",
"libutils",
"libcutils",
"rockchip.hardware.hdmi@1.0",
"libbinder",
"libhidlmemory",
],
}