eden/externals/oboe/samples/hello-oboe/build.gradle
swurl 6c655321e6
Move dead submodules in-tree
Signed-off-by: swurl <swurl@swurl.xyz>
2025-05-31 02:33:02 -04:00

46 lines
1.4 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 35
defaultConfig {
applicationId 'com.google.oboe.samples.hellooboe'
minSdkVersion 21
targetSdkVersion 35
compileSdkVersion 35
versionCode 1
versionName '1.0'
externalNativeBuild {
cmake {
cppFlags "-std=c++17"
arguments '-DANDROID_STL=c++_static'
// armeabi and mips are deprecated in NDK r16 so we don't want to build for them
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_18
targetCompatibility JavaVersion.VERSION_18
}
externalNativeBuild {
cmake {
path 'src/main/cpp/CMakeLists.txt'
}
}
namespace 'com.google.oboe.samples.hellooboe'
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':audio-device')
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
}