summaryrefslogtreecommitdiffstats
path: root/Android.bp.in
diff options
context:
space:
mode:
authorRay Essick <essick@google.com>2018-11-29 14:14:00 -0800
committerRay Essick <essick@google.com>2018-12-06 15:47:44 -0800
commit247da04c9e8d2f838bb3df25250f6eca9a2c0f0b (patch)
treedd806e2205c0ba17568cc1d076a196127fe85782 /Android.bp.in
parentf8f51a858d4d7ff81127248b30a0cdaf167b0207 (diff)
downloadplatform_external_libaom-247da04c9e8d2f838bb3df25250f6eca9a2c0f0b.tar.gz
platform_external_libaom-247da04c9e8d2f838bb3df25250f6eca9a2c0f0b.tar.bz2
platform_external_libaom-247da04c9e8d2f838bb3df25250f6eca9a2c0f0b.zip
scripts to update local libaom
scripts reading in the upstream libaom, adding to our repo, creating the appropriate Android.bp and config information, and tracking what version of upstream libaom we have here. Bug: 111936705 Test: manual Change-Id: I3b22b034d73a86aa9042855e2953ad0aa011d7f4
Diffstat (limited to 'Android.bp.in')
-rw-r--r--Android.bp.in47
1 files changed, 47 insertions, 0 deletions
diff --git a/Android.bp.in b/Android.bp.in
new file mode 100644
index 0000000..387d55f
--- /dev/null
+++ b/Android.bp.in
@@ -0,0 +1,47 @@
+cc_library_static {
+ name: "libaom",
+ vendor_available: true,
+ cflags: [
+ "-O3",
+ ],
+
+ export_include_dirs: [
+ "libaom",
+ ],
+
+ local_include_dirs: [
+ "libaom/third_party/libwebm/",
+ ],
+
+ arch: {
+ arm64: {
+ local_include_dirs: [
+ "config/arm64/",
+ ],
+ srcs: libaom_arm64_c_srcs,
+ },
+
+ arm: {
+ local_include_dirs: [
+ "config/arm/",
+ ],
+ srcs: libaom_arm_c_srcs,
+ },
+
+ x86_64: {
+ local_include_dirs: [
+ "config/x86_64/",
+ ],
+ srcs: libaom_x86_c_srcs,
+ },
+
+ x86: {
+ local_include_dirs: [
+ "config/x86/",
+ ],
+ srcs: libaom_x86_64_c_srcs,
+ },
+
+ },
+
+}