shithub: openh264

Download patch

ref: 7447980e2b27631e260469ec1c25211cee27909e
parent: 158b6945fd43ae5b0c4881734446ed9b70c865bc
author: zhuling13 <[email protected]>
date: Mon May 19 19:31:04 EDT 2014

not need

--- a/test/build/android/jni/Android.mk.264SO
+++ /dev/null
@@ -1,44 +1,0 @@
-# Generate the libwelsdecdemo.so file
-LOCAL_PATH := $(call my-dir)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE    := libUT 
-LOCAL_SRC_FILES := libut.so
-include $(PREBUILT_SHARED_LIBRARY)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE    := wels 
-LOCAL_SRC_FILES := libopenh264.so
-include $(PREBUILT_SHARED_LIBRARY)
-
-
-include $(CLEAR_VARS)
-
-#
-# Module Settings
-#
-LOCAL_MODULE := UTdemo
-
-#
-# Source Files
-#
-
-LOCAL_SRC_FILES := \
-codec_unittest.cpp 
-#
-# Header Includes
-#
-LOCAL_C_INCLUDES := \
-#
-# Compile Flags and Link Libraries
-#
-LOCAL_CFLAGS := -O3 -DANDROID_NDK
-
-ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
-LOCAL_ARM_MODE := arm
-endif
-
-LOCAL_LDLIBS := -llog
-LOCAL_SHARED_LIBRARIES := libUT wels
-
-include $(BUILD_SHARED_LIBRARY)
--- a/test/build/android/jni/codec_unittest.cpp.dec
+++ /dev/null
@@ -1,26 +1,0 @@
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <jni.h>
-#include <android/log.h>
-
-#define LOG_TAG "welsdec"
-#define LOGI(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)
-
-int CodecUtMain(int argc, char** argv); 
-extern "C"
-JNIEXPORT void JNICALL JNICALL Java_com_cisco_codec_unittest_MainActivity_DoUnittest 
-(JNIEnv* env, jobject thiz,jstring jspath) {
-  /**************** Add the native codes/API *****************/
-  char* argv[2];
-  int  argc = 2;
-  argv[0] = (char*) ("codec_unittest.exe");
-  
-  argv[1] = (char*) ((*env).GetStringUTFChars (jspath,NULL));
-  LOGI ("PATH:\n",argv[1]);  
-  LOGI ("Start to run JNI module!+++");
- CodecUtMain(argc,argv);
-  LOGI ("End to run JNI module!+++");
-}
-
-