mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-01-23 20:30:43 +01:00
71c477bae4
Modules contributing mainline modules (APK/APEX) should set
min_sdk_version as well as apex_available.
For now setting min_sdk_version doesn't change build outputs.
But build-time checks will be added soon.
Exempt-From-Owner-Approval: cherry-pick from aosp
Bug: 152655956
Test: m
Merged-In: I662ad951a3221f967b53e7af65cb203a4b4a5e5d
Change-Id: I662ad951a3221f967b53e7af65cb203a4b4a5e5d
(cherry picked from commit d40f05a618
)
70 lines
1.7 KiB
Plaintext
70 lines
1.7 KiB
Plaintext
cc_library_static {
|
|
name: "libFraunhoferAAC",
|
|
vendor_available: true,
|
|
host_supported: 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",
|
|
"-DSUPPRESS_BUILD_DATE_INFO",
|
|
],
|
|
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",
|
|
],
|
|
|
|
target: {
|
|
darwin: {
|
|
enabled: false,
|
|
},
|
|
},
|
|
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"com.android.bluetooth.updatable",
|
|
"com.android.media.swcodec",
|
|
],
|
|
min_sdk_version: "29",
|
|
}
|