webrtc/third_party/libvpx/source/config/android/arm/vpx_config.c
leozwang@webrtc.org c734669dbf Re-create libvpx configuration files for Android
Message:
I decided to separate libvpx configuraton files for linux/arm and
Android/arm. I will continue maintaining linux/arm configuration files.

The reasons to change:
It will be two sets of configuration files for android, one is arm, the
other one is arm-neon. For "arm" configuration, I will enable
"cpu-auto-detection" which means that binary can run on any armv7 devices.
For "arm-neon" configuration, it will be used for "neon" enabled devices
only. "arm" configuration will be the default configuration which is as
same as what we have for webrtc.

Description:
This CL separates libvpx configuration files for linux/arm and
Android/arm. Configuration files for Android arm are added, also
"cpu-auto-detection" is enabled.

BUG=None
TEST=local
Review URL: https://webrtc-codereview.appspot.com/934013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3082 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-13 01:19:07 +00:00

13 lines
966 B
C

/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
/* */
/* Use of this source code is governed by a BSD-style license */
/* that can be found in the LICENSE file in the root of the source */
/* tree. An additional intellectual property rights grant can be found */
/* in the file PATENTS. All contributing project authors may */
/* be found in the AUTHORS file in the root of the source tree. */
// TODO(leozwang): Remove "--enable-postproc" flag, because
// current gyp cannot build without this flag.
static const char* const cfg = "--sdk-path=/usr/local/google/bin/android-ndk-r8b --target=armv7-android-gcc --enable-pic --enable-error-concealment --disable-install-docs --disable-install-srcs --disable-examples --disable-internal-stats --disable-install-libs --disable-install-bins --enable-realtime-only --enable-postproc --enable-multi-res-encoding --enable-runtime-cpu-detect";
const char *vpx_codec_build_config(void) {return cfg;}