From b69ab507649197a3796613848542e6f00f106709 Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期日, 23 七月 2017 13:04:23 +0800 Subject: [PATCH] --- VisitFace/RtspNativeCodec/app/build.gradle | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/VisitFace/RtspNativeCodec/app/build.gradle b/VisitFace/RtspNativeCodec/app/build.gradle new file mode 100644 index 0000000..3186864 --- /dev/null +++ b/VisitFace/RtspNativeCodec/app/build.gradle @@ -0,0 +1,44 @@ +apply plugin: 'com.android.application' +android { + compileSdkVersion 22 + buildToolsVersion '25.0.2' + + defaultConfig { + applicationId 'com.example.nativecodec' + minSdkVersion 22 + targetSdkVersion 23 + 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' + } + debug { + jniDebuggable false + } + } + 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