From dbdc24d495169f14a04080547465eeecc7ea7083 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 19 四月 2017 17:02:52 +0800
Subject: [PATCH]
---
VisitFace/RtspNativeCodec/app/build.gradle | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/VisitFace/RtspNativeCodec/app/build.gradle b/VisitFace/RtspNativeCodec/app/build.gradle
new file mode 100644
index 0000000..779f933
--- /dev/null
+++ b/VisitFace/RtspNativeCodec/app/build.gradle
@@ -0,0 +1,41 @@
+apply plugin: 'com.android.application'
+android {
+ compileSdkVersion 21
+ 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