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_defaults { 11 name: "cas_service_defaults@1.2", 12 defaults: ["hidl_defaults"], 13 vendor: true, 14 relative_install_path: "hw", 15 srcs: [ 16 "CasImpl.cpp", 17 "DescramblerImpl.cpp", 18 "MediaCasService.cpp", 19 "service.cpp", 20 "SharedLibrary.cpp", 21 "TypeConvert.cpp", 22 ], 23 24 compile_multilib: "prefer32", 25 26 shared_libs: [ 27 "android.hardware.cas@1.0", 28 "android.hardware.cas@1.1", 29 "android.hardware.cas@1.2", 30 "android.hardware.cas.native@1.0", 31 "android.hidl.memory@1.0", 32 "libbinder", 33 "libhidlbase", 34 "libhidlmemory", 35 "liblog", 36 "libutils", 37 ], 38 header_libs: [ 39 "libstagefright_foundation_headers", 40 "media_plugin_headers", 41 ], 42} 43 44cc_binary { 45 name: "android.hardware.cas@1.2-service", 46 vintf_fragments: ["android.hardware.cas@1.2-service.xml"], 47 defaults: ["cas_service_defaults@1.2"], 48 init_rc: ["android.hardware.cas@1.2-service.rc"], 49} 50 51cc_binary { 52 name: "android.hardware.cas@1.2-service-lazy", 53 vintf_fragments: ["android.hardware.cas@1.2-service-lazy.xml"], 54 overrides: ["android.hardware.cas@1.2-service"], 55 defaults: ["cas_service_defaults@1.2"], 56 init_rc: ["android.hardware.cas@1.2-service-lazy.rc"], 57 cflags: ["-DLAZY_SERVICE"], 58} 59