mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2024-12-12 00:16:42 +01:00
6a39cdb6ee
Since libFraunhoferAAC is a static library, both CFI and non-CFI variants will be built and linked accordingly. If it is used as a shared library in the future, we'll need to explicitly re-enable CFI in the build file. Bug: 117994055 Change-Id: I825c53b5f895e00c1fb9357c573b6b5c2261c743
55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
cc_library_static {
|
|
name: "libFraunhoferAAC",
|
|
vendor_available: true,
|
|
srcs: [
|
|
"libAACdec/src/*.cpp",
|
|
"libAACenc/src/*.cpp",
|
|
"libPCMutils/src/*.cpp",
|
|
"libFDK/src/*.cpp",
|
|
"libSYS/src/*.cpp",
|
|
"libMpegTPDec/src/*.cpp",
|
|
"libMpegTPEnc/src/*.cpp",
|
|
"libSBRdec/src/*.cpp",
|
|
"libSBRenc/src/*.cpp",
|
|
"libArithCoding/src/*.cpp",
|
|
"libDRCdec/src/*.cpp",
|
|
"libSACdec/src/*.cpp",
|
|
"libSACenc/src/*.cpp",
|
|
],
|
|
cflags: [
|
|
"-Werror",
|
|
"-Wno-unused-parameter",
|
|
"-Wno-#warnings",
|
|
"-Wuninitialized",
|
|
"-Wno-self-assign",
|
|
"-Wno-implicit-fallthrough",
|
|
],
|
|
sanitize: {
|
|
misc_undefined:[
|
|
"unsigned-integer-overflow",
|
|
"signed-integer-overflow",
|
|
"bounds",
|
|
],
|
|
// Enable CFI if this becomes a shared library.
|
|
// cfi: true,
|
|
},
|
|
shared_libs: [
|
|
"liblog",
|
|
],
|
|
export_include_dirs: [
|
|
"libAACdec/include",
|
|
"libAACenc/include",
|
|
"libPCMutils/include",
|
|
"libFDK/include",
|
|
"libSYS/include",
|
|
"libMpegTPDec/include",
|
|
"libMpegTPEnc/include",
|
|
"libSBRdec/include",
|
|
"libSBRenc/include",
|
|
"libArithCoding/include",
|
|
"libDRCdec/include",
|
|
"libSACdec/include",
|
|
"libSACenc/include",
|
|
],
|
|
}
|