summaryrefslogtreecommitdiffstats
path: root/config.mips64.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-03-12 17:49:58 -0700
committerYing Wang <wangying@google.com>2014-03-12 18:14:03 -0700
commit08af198bfad1a9027c9204e8af28e038ccf25dd0 (patch)
treeb35f4f22724214d7c8d3be09258de3b3b448d7a6 /config.mips64.mk
parent827804f7548aff661411066982275862b56d6296 (diff)
downloadandroid_external_libvpx-08af198bfad1a9027c9204e8af28e038ccf25dd0.tar.gz
android_external_libvpx-08af198bfad1a9027c9204e8af28e038ccf25dd0.tar.bz2
android_external_libvpx-08af198bfad1a9027c9204e8af28e038ccf25dd0.zip
Enable multilib build.
Change-Id: I3260814cbf10c54775bc33fe0b9d1a2dfaec1956
Diffstat (limited to 'config.mips64.mk')
-rw-r--r--config.mips64.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.mips64.mk b/config.mips64.mk
new file mode 100644
index 0000000..fa1f1d2
--- /dev/null
+++ b/config.mips64.mk
@@ -0,0 +1,16 @@
+# Output variables:
+# libvpx_config_dir_mips64
+# libvpx_codec_srcs_c_mips64
+# libvpx_codec_srcs_asm_mips64
+
+libvpx_target := generic
+
+libvpx_config_dir_mips64 := $(LOCAL_PATH)/$(libvpx_target)
+libvpx_codec_srcs := $(sort $(shell cat $(libvpx_config_dir_mips64)/libvpx_srcs.txt))
+
+# vpx_config.c is an auto-generated file in $(libvpx_target).
+libvpx_codec_srcs_c_mips64 := $(addprefix libvpx/, $(filter-out vpx_config.c, \
+ $(filter %.c, $(libvpx_codec_srcs)))) \
+ $(libvpx_target)/vpx_config.c
+
+libvpx_codec_srcs_asm_mips64 := $(filter %.asm.s, $(libvpx_codec_srcs))