1cc_defaults { 2 name: "cas_service_defaults@1.1", 3 defaults: ["hidl_defaults"], 4 vendor: true, 5 relative_install_path: "hw", 6 srcs: [ 7 "CasImpl.cpp", 8 "DescramblerImpl.cpp", 9 "MediaCasService.cpp", 10 "service.cpp", 11 "SharedLibrary.cpp", 12 "TypeConvert.cpp", 13 ], 14 15 compile_multilib: "32", 16 17 shared_libs: [ 18 "android.hardware.cas@1.0", 19 "android.hardware.cas@1.1", 20 "android.hardware.cas.native@1.0", 21 "android.hidl.memory@1.0", 22 "libbinder", 23 "libhidlbase", 24 "libhidlmemory", 25 "libhidltransport", 26 "liblog", 27 "libutils", 28 ], 29 header_libs: [ 30 "libstagefright_foundation_headers", 31 "media_plugin_headers", 32 ], 33} 34 35cc_binary { 36 name: "android.hardware.cas@1.1-service", 37 vintf_fragments: ["android.hardware.cas@1.1-service.xml"], 38 defaults: ["cas_service_defaults@1.1"], 39 init_rc: ["android.hardware.cas@1.1-service.rc"], 40} 41 42cc_binary { 43 name: "android.hardware.cas@1.1-service-lazy", 44 vintf_fragments: ["android.hardware.cas@1.1-service-lazy.xml"], 45 overrides: ["android.hardware.cas@1.1-service"], 46 defaults: ["cas_service_defaults@1.1"], 47 init_rc: ["android.hardware.cas@1.1-service-lazy.rc"], 48 cflags: ["-DLAZY_SERVICE"], 49} 50