summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhkuang <hkuang@google.com>2013-10-24 15:07:19 -0700
committerhkuang <hkuang@google.com>2013-10-24 15:40:14 -0700
commit60f286339b17c89a358efbc94fb18d322faf4552 (patch)
treeeeb6407932046530ac1aa2ce87b099db8ea12217
parent71212ed7a3f067d8052e737452ebe4dec2460ba1 (diff)
downloadandroid_external_libvpx-60f286339b17c89a358efbc94fb18d322faf4552.tar.gz
android_external_libvpx-60f286339b17c89a358efbc94fb18d322faf4552.tar.bz2
android_external_libvpx-60f286339b17c89a358efbc94fb18d322faf4552.zip
Build the libvpx in arm mode and -O3 to get best performance.
Change-Id: I85f23a016494a0f99ef8b633eac01588f5a317c7
-rw-r--r--libvpx.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvpx.mk b/libvpx.mk
index ec8e69a..83d7476 100644
--- a/libvpx.mk
+++ b/libvpx.mk
@@ -36,6 +36,10 @@ libvpx_codec_srcs := $(shell cat $(libvpx_config_dir)/libvpx_srcs.txt)
LOCAL_CFLAGS := -DHAVE_CONFIG_H=vpx_config.h
+# Want arm, not thumb, optimized
+LOCAL_ARM_MODE := arm
+LOCAL_CFLAGS += -O3
+
LOCAL_MODULE := libvpx
LOCAL_MODULE_CLASS := STATIC_LIBRARIES