Skip to content

Commit

Permalink
Just more fixing for Windows Eclipse build of libvpx.
Browse files Browse the repository at this point in the history
  • Loading branch information
avesus committed May 16, 2014
1 parent 7fc0490 commit ed528d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions android/jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ APP_PLATFORM := android-10
TARGET_PLATFORM := android-10

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../
include jni/libvpx/build/make/Android.mk
#include $(CLEAR_VARS)
#LOCAL_C_INCLUDES += $(LOCAL_PATH)/../
#include jni/libvpx/build/make/Android.mk

#LOCAL_PATH := $(call my-dir)
#include $(CLEAR_VARS)
Expand All @@ -13,10 +13,11 @@ include jni/libvpx/build/make/Android.mk
#MY_CLIENT_PATH := ../../../client/nclient



#LOCAL_MODULE := libvpx
#LOCAL_SRC_FILES := $(abspath jni/)/libvpx.a
#include $(PREBUILT_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libvpx
#TODO: add rule for call convigure & make
LOCAL_SRC_FILES := $(abspath jni/)/libvpx.a
include $(PREBUILT_STATIC_LIBRARY)

include $(CLEAR_VARS)
include $(abspath jni/)/../../thirdparty/libyuv/Android.mk
Expand All @@ -43,7 +44,7 @@ LOCAL_SRC_FILES := guruchat.cpp #$(LOCAL_PATH)/platform/android/guruchat/jni/gur
#../../../common/include/classlib.cpp

# for native audio
LOCAL_LDLIBS += -lOpenSLES -lvpx # -lm -llog -ljnigraphics -lGLESv1_CM -lz
LOCAL_STATIC_LIBRARIES := codec2 libyuv_static
LOCAL_LDLIBS += -lOpenSLES # -lm -llog -ljnigraphics -lGLESv1_CM -lz
LOCAL_STATIC_LIBRARIES := codec2 libvpx libyuv_static

include $(BUILD_SHARED_LIBRARY)
Binary file added android/jni/libvpx.a
Binary file not shown.

0 comments on commit ed528d0

Please sign in to comment.