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:
parent
eda2da796e
commit
5fddbeb7e5
@ -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 \
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user