1 cc_library_shared { 2 name: "libaudiohal", 3 4 srcs: [ 5 "DevicesFactoryHalInterface.cpp", 6 "EffectsFactoryHalInterface.cpp", 7 ], 8 9 cflags: [ 10 "-Wall", 11 "-Werror", 12 ], 13 14 shared_libs: [ 15 "android.hardware.audio.effect (a] 2.0", 16 "android.hardware.audio.effect (a] 4.0", 17 "android.hardware.audio (a] 2.0", 18 "android.hardware.audio (a] 4.0", 19 "libaudiohal (a] 2.0", 20 "libaudiohal (a] 4.0", 21 "libutils", 22 ], 23 24 header_libs: [ 25 "libaudiohal_headers" 26 ] 27 } 28 29 cc_library_shared { 30 name: "libaudiohal_deathhandler", 31 32 srcs: [ 33 "HalDeathHandlerHidl.cpp", 34 ], 35 36 cflags: [ 37 "-Wall", 38 "-Werror", 39 ], 40 41 shared_libs: [ 42 "libhidlbase", 43 "libutils", 44 "liblog", 45 ], 46 47 header_libs: [ 48 "libaudiohal_headers" 49 ] 50 } 51 52 cc_library_headers { 53 name: "libaudiohal_headers", 54 55 export_include_dirs: ["include"], 56 } 57