From 48d61aafa2551ae2ee0a9484b590d64e10baeae3 Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期五, 07 四月 2017 16:04:43 +0800 Subject: [PATCH] --- VisitFace/RtspNativeCodec/app/build.gradle | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/VisitFace/RtspNativeCodec/app/build.gradle b/VisitFace/RtspNativeCodec/app/build.gradle new file mode 100644 index 0000000..14d0cff --- /dev/null +++ b/VisitFace/RtspNativeCodec/app/build.gradle @@ -0,0 +1,42 @@ +apply plugin: 'com.android.application' +android { + compileSdkVersion 22 + buildToolsVersion '25.0.2' + + defaultConfig { + applicationId 'com.example.nativecodec' + minSdkVersion 21 + targetSdkVersion 22 + ndk { + //abiFilters 'armeabi-v7a', 'x86' , 'x86_64', 'armeabi' , 'arm64-v8a' + abiFilters 'armeabi-v7a' + } + externalNativeBuild { + cmake { + arguments '-DANDROID_PLATFORM=android-22', + '-DANDROID_TOOLCHAIN=gcc', '-DANDROID_STL=gnustl_static' + } + } + } + buildTypes { + release { + minifyEnabled = false + proguardFiles getDefaultProguardFile('proguard-android.txt'), + 'proguard-rules.pro' + } + } + externalNativeBuild { + cmake { + path 'src/main/cpp/CMakeLists.txt' + } + } + + sourceSets { + main { + jniLibs.srcDirs = ['libs/opencv/lib', 'libs/protobuf/lib', 'libs/st_face/lib'] + } + } +} + +dependencies { +} \ No newline at end of file -- Gitblit v1.8.0