summaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorPavlin Radoslavov <pavlin@google.com>2017-01-20 02:02:27 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-01-20 02:02:27 +0000
commit2eba55c5a86ccd74a25e7df88d30c9a9c87cc396 (patch)
tree339b0ba2efbf15b29ef18e364b6998f3aa05edca /Android.bp
parent664e5f27946c3949e2f0aa87f48efe6bbce101c1 (diff)
parent8334e4b410f78a36ec8073f1ff788ab911335654 (diff)
downloadfdk-aac-2eba55c5a86ccd74a25e7df88d30c9a9c87cc396.tar.gz
fdk-aac-2eba55c5a86ccd74a25e7df88d30c9a9c87cc396.tar.bz2
fdk-aac-2eba55c5a86ccd74a25e7df88d30c9a9c87cc396.zip
Merge "Change build config of aac from Android.mk to Android.bp"
am: 8334e4b410 Change-Id: I770984561bf97b52e50c83844f4037fccabfdedc
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp32
1 files changed, 32 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..75fe8af
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,32 @@
+cc_library_static {
+ name: "libFraunhoferAAC",
+ 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",
+ ],
+ cflags: [
+ "-Wno-sequence-point",
+ "-Wno-extra",
+ "-Wno-#warnings",
+ "-Wno-constant-logical-operand",
+ "-Wno-self-assign",
+ ],
+ export_include_dirs: [
+ "libAACdec/include",
+ "libAACenc/include",
+ "libPCMutils/include",
+ "libFDK/include",
+ "libSYS/include",
+ "libMpegTPDec/include",
+ "libMpegTPEnc/include",
+ "libSBRdec/include",
+ "libSBRenc/include",
+ ],
+}