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