1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "hardware_interfaces_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["hardware_interfaces_license"], 8} 9 10cc_library_shared { 11 name: "android.hardware.tv.cec@1.0-impl", 12 defaults: ["hidl_defaults"], 13 vendor: true, 14 relative_install_path: "hw", 15 srcs: ["HdmiCec.cpp"], 16 17 shared_libs: [ 18 "libhidlbase", 19 "liblog", 20 "libbase", 21 "libutils", 22 "libhardware", 23 "android.hardware.tv.cec@1.0", 24 ], 25 26} 27 28cc_binary { 29 name: "android.hardware.tv.cec@1.0-service", 30 defaults: ["hidl_defaults"], 31 relative_install_path: "hw", 32 vendor: true, 33 init_rc: ["android.hardware.tv.cec@1.0-service.rc"], 34 srcs: ["service.cpp"], 35 36 shared_libs: [ 37 "liblog", 38 "libcutils", 39 "libdl", 40 "libbase", 41 "libutils", 42 "libhardware_legacy", 43 "libhardware", 44 "libhidlbase", 45 "android.hardware.tv.cec@1.0", 46 ], 47 48} 49 50cc_binary { 51 name: "android.hardware.tv.cec@1.0-service.mock", 52 vintf_fragments: ["android.hardware.tv.cec@1.0-service.mock.xml"], 53 relative_install_path: "hw", 54 vendor: true, 55 init_rc: ["android.hardware.tv.cec@1.0-service.mock.rc"], 56 srcs: [ 57 "serviceMock.cpp", 58 "HdmiCecMock.cpp", 59 ], 60 61 shared_libs: [ 62 "liblog", 63 "libcutils", 64 "libbase", 65 "libutils", 66 "libhardware", 67 "libhidlbase", 68 "android.hardware.tv.cec@1.0", 69 ], 70} 71