cc_library_shared {
    name: "android.hardware.tv.cec@1.0-impl",
    defaults: ["hidl_defaults"],
    vendor: true,
    relative_install_path: "hw",
    srcs: ["HdmiCec.cpp"],

    shared_libs: [
        "libhidlbase",
        "libhidltransport",
        "liblog",
        "libbase",
        "libutils",
        "libhardware",
        "android.hardware.tv.cec@1.0",
    ],

}

cc_binary {
    name: "android.hardware.tv.cec@1.0-service",
    defaults: ["hidl_defaults"],
    relative_install_path: "hw",
    vendor: true,
    init_rc: ["android.hardware.tv.cec@1.0-service.rc"],
    srcs: ["service.cpp"],

    shared_libs: [
        "liblog",
        "libcutils",
        "libdl",
        "libbase",
        "libutils",
        "libhardware_legacy",
        "libhardware",
        "libhidlbase",
        "libhidltransport",
        "android.hardware.tv.cec@1.0",
    ],

}