aboutsummaryrefslogtreecommitdiffstats
path: root/fdk-aac/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'fdk-aac/Android.bp')
-rw-r--r--fdk-aac/Android.bp53
1 files changed, 53 insertions, 0 deletions
diff --git a/fdk-aac/Android.bp b/fdk-aac/Android.bp
new file mode 100644
index 0000000..dce6fdd
--- /dev/null
+++ b/fdk-aac/Android.bp
@@ -0,0 +1,53 @@
+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",
+ ],
+ 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",
+ ],
+}