blob: 569db1315756cc417f856de5a9410db1ab7e422f [file] [log] [blame]
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: "vendor.samsung_slsi.hardware.epic@1.0-impl",
relative_install_path: "hw",
// FIXME: this should be 'vendor: true' for modules that will eventually be
// on AOSP.
proprietary: true,
srcs: [
"EpicRequest.cpp",
"EpicHandle.cpp"
],
shared_libs: [
"libhidlbase",
"libutils",
"liblog",
"vendor.samsung_slsi.hardware.epic@1.0",
],
}
cc_binary {
name: "vendor.samsung_slsi.hardware.epic@1.0-service",
init_rc: ["vendor.samsung_slsi.hardware.epic@1.0-service.rc"],
relative_install_path: "hw",
proprietary: true,
srcs: ["EpicService.cpp"],
shared_libs: [
"libutils",
"libcutils",
"libhidlbase",
"liblog",
"libbinder",
"libsync",
"libhardware",
"libhidlmemory",
"android.hidl.memory@1.0",
"vendor.samsung_slsi.hardware.epic@1.0",
],
}