Build libyuv for webrtc

Review URL: http://webrtc-codereview.appspot.com/322012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1196 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
leozwang@webrtc.org 2011-12-14 20:03:26 +00:00
parent eda2da796e
commit 5fddbeb7e5
3 changed files with 14 additions and 3 deletions

View File

@ -13,12 +13,12 @@ include $(CLEAR_VARS)
include $(LOCAL_PATH)/../../../android-webrtc.mk
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
LOCAL_MODULE := libwebrtc_libyuv
LOCAL_MODULE := libwebrtc_yuv
LOCAL_MODULE_TAGS := optional
LOCAL_CPP_EXTENSION := .cc
LOCAL_SRC_FILES := \
libyuv.cc \
scaler.cc \
scaler.cc
# Flags passed to both C and C++ files.
LOCAL_CFLAGS := \
@ -26,7 +26,10 @@ LOCAL_CFLAGS := \
# Include paths placed before CFLAGS/CPPFLAGS
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/include
$(LOCAL_PATH)/../.. \
$(LOCAL_PATH)/../../../.. \
$(LOCAL_PATH)/../../../../libyuv/files/include
LOCAL_SHARED_LIBRARIES := \
libcutils \

View File

@ -13,7 +13,11 @@
#include <assert.h>
// LibYuv includes
#ifdef WEBRTC_ANDROID
#include "libyuv/files/include/libyuv.h"
#else
#include "third_party/libyuv/include/libyuv.h"
#endif
namespace webrtc {

View File

@ -11,7 +11,11 @@
#include "common_video/libyuv/include/scaler.h"
// LibYuv
#ifdef WEBRTC_ANDROID
#include "libyuv/files/include/libyuv.h"
#else
#include "third_party/libyuv/include/libyuv.h"
#endif
namespace webrtc {