1cc_library_static { 2 name: "libFraunhoferAAC", 3 vendor_available: true, 4 srcs: [ 5 "libAACdec/src/*.cpp", 6 "libAACenc/src/*.cpp", 7 "libPCMutils/src/*.cpp", 8 "libFDK/src/*.cpp", 9 "libSYS/src/*.cpp", 10 "libMpegTPDec/src/*.cpp", 11 "libMpegTPEnc/src/*.cpp", 12 "libSBRdec/src/*.cpp", 13 "libSBRenc/src/*.cpp", 14 "libArithCoding/src/*.cpp", 15 "libDRCdec/src/*.cpp", 16 "libSACdec/src/*.cpp", 17 "libSACenc/src/*.cpp", 18 ], 19 cflags: [ 20 "-Werror", 21 "-Wno-unused-parameter", 22 "-Wno-#warnings", 23 "-Wuninitialized", 24 "-Wno-self-assign", 25 "-Wno-implicit-fallthrough", 26 ], 27 sanitize: { 28 misc_undefined:[ 29 "unsigned-integer-overflow", 30 "signed-integer-overflow", 31 "bounds", 32 ], 33 // Enable CFI if this becomes a shared library. 34 // cfi: true, 35 }, 36 shared_libs: [ 37 "liblog", 38 ], 39 export_include_dirs: [ 40 "libAACdec/include", 41 "libAACenc/include", 42 "libPCMutils/include", 43 "libFDK/include", 44 "libSYS/include", 45 "libMpegTPDec/include", 46 "libMpegTPEnc/include", 47 "libSBRdec/include", 48 "libSBRenc/include", 49 "libArithCoding/include", 50 "libDRCdec/include", 51 "libSACdec/include", 52 "libSACenc/include", 53 ], 54} 55