aboutsummaryrefslogtreecommitdiff
path: root/Android.bp.in
diff options
context:
space:
mode:
authorJorge Moreira Broche <jemoreira@google.com>2020-01-02 18:45:22 +0000
committerJorge Moreira Broche <jemoreira@google.com>2020-01-02 19:48:07 +0000
commitbded9f1fc6f6697e27e1e5ab1e0984a13609bea6 (patch)
tree287331fd16963259c3966714feb0126e25b9ab87 /Android.bp.in
parent1c062ca8703625b6495ed039f907789ffbf131b3 (diff)
downloadlibvpx-bded9f1fc6f6697e27e1e5ab1e0984a13609bea6.tar.gz
Re-enable building libvpx on the host, but not for mac
This reverts commit 7cd23aaa16eddac520b5a9c628af83b1729872a3. Reason for revert: Original build failure fixed Change-Id: I6371f6ed9ba07e2a48b8a2d822b80cbc8158af71
Diffstat (limited to 'Android.bp.in')
-rw-r--r--Android.bp.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/Android.bp.in b/Android.bp.in
index 7cead74e7..91a0ec645 100644
--- a/Android.bp.in
+++ b/Android.bp.in
@@ -1,8 +1,15 @@
cc_library {
name: "libvpx",
vendor_available: true,
+ host_supported: true,
version_script: "exports.lds",
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ },
+
arch: {
// configured to require the neon unit
arm: {
@@ -23,11 +30,17 @@ cc_library {
x86: {
srcs: libvpx_x86_c_srcs + libvpx_x86_asm_srcs,
local_include_dirs: ["config/x86"],
+ cflags: [
+ "-mssse3",
+ ],
},
x86_64: {
srcs: libvpx_x86_64_c_srcs + libvpx_x86_64_asm_srcs,
local_include_dirs: ["config/x86_64"],
+ cflags: [
+ "-mssse3",
+ ],
},
},