964e1b41ed
* remove TBSystem::GetRoot. fix glew header * make runtime debug info an indepedent setting * fix IOS and macos high-dpi * fix win+sdl2 combo * try to auto detect what can be make-alld * rework resource file functions for android * fix android assets, actually runs now
49 lines
1.5 KiB
Groovy
49 lines
1.5 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 27
|
|
buildToolsVersion "28.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "org.hastybadger.demo"
|
|
minSdkVersion 14
|
|
targetSdkVersion 26
|
|
versionCode 19 // internal code, integer, must monotonically increase
|
|
versionName "1.0.0" // string shown to users
|
|
externalNativeBuild {
|
|
cmake {
|
|
arguments "-DANDROID_TOOLCHAIN=clang", "-DANDROID_STL=c++_static",
|
|
"-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON", "-DSKIP_INSTALL_ALL=ON",
|
|
"-DTB_RENDERER=GLES_1", "-DTB_ALWAYS_SHOW_EDIT_FOCUS:BOOL=ON",
|
|
"-DTB_BUILD_DEMO=ANDROID", "-DANDROID_ARM_MODE=arm",
|
|
'-DTB_RUNTIME_DEBUG_INFO:BOOL=ON'
|
|
targets "TurboBadger"
|
|
}
|
|
}
|
|
|
|
ndk {
|
|
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', "x86_64"
|
|
moduleName "libTurboBadger"
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path "../../CMakeLists.txt"
|
|
}
|
|
}
|
|
lintOptions {
|
|
//checkReleaseBuilds false
|
|
// Or, if you prefer, you can continue to check for errors in release builds,
|
|
// but continue the build even when errors are found:
|
|
abortOnError false
|
|
}
|
|
}
|