Skip to content

Commit b404bfc

Browse files
author
chenyouwei
committed
feat:新增配置
1 parent baacdbd commit b404bfc

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

libsoundtouch/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cmake_minimum_required(VERSION 3.4.1)
2+

libsoundtouch/build.gradle

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ android {
1212

1313
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1414
consumerProguardFiles 'consumer-rules.pro'
15+
16+
externalNativeBuild {
17+
cmake {
18+
cppFlags "-std=c++11"
19+
}
20+
}
21+
22+
ndk {
23+
abiFilters "armeabi-v7a"
24+
}
1525
}
1626

1727
buildTypes {
@@ -21,6 +31,12 @@ android {
2131
}
2232
}
2333

34+
35+
externalNativeBuild {
36+
cmake {
37+
path "CMakeLists.txt"
38+
}
39+
}
2440
}
2541

2642
dependencies {

0 commit comments

Comments
 (0)