1cc_library_headers { 2 name: "libaudiofoundation_headers", 3 vendor_available: true, 4 min_sdk_version: "29", 5 6 export_include_dirs: ["include"], 7 header_libs: [ 8 "libaudio_system_headers", 9 "libmedia_helper_headers", 10 ], 11 export_header_lib_headers: [ 12 "libaudio_system_headers", 13 "libmedia_helper_headers", 14 ], 15} 16 17cc_library { 18 name: "libaudiofoundation", 19 vendor_available: true, 20 double_loadable: true, 21 22 srcs: [ 23 "AudioContainers.cpp", 24 "AudioDeviceTypeAddr.cpp", 25 "AudioGain.cpp", 26 "AudioPort.cpp", 27 "AudioProfile.cpp", 28 "DeviceDescriptorBase.cpp", 29 ], 30 31 shared_libs: [ 32 "libaudioutils", 33 "libbase", 34 "libbinder", 35 "liblog", 36 "libmedia_helper", 37 "libutils", 38 ], 39 40 header_libs: [ 41 "libaudiofoundation_headers", 42 ], 43 44 export_header_lib_headers: [ 45 "libaudiofoundation_headers", 46 ], 47 48 cflags: [ 49 "-Werror", 50 "-Wall", 51 ], 52} 53