Magisk/native/build.gradle

23 lines
588 B
Groovy
Raw Normal View History

2017-12-04 15:16:41 +08:00
apply plugin: 'com.android.library'
android {
2018-03-26 03:53:06 +08:00
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
2017-12-04 15:16:41 +08:00
externalNativeBuild {
ndkBuild {
path 'jni/Android.mk'
}
}
defaultConfig {
externalNativeBuild {
ndkBuild {
2018-05-13 03:04:40 +08:00
// Pass arguments to ndk-build.
2018-08-10 04:37:38 +08:00
arguments('B_MAGISK=1', 'B_INIT=1', 'B_BOOT=1', 'B_BXZ=1', 'MAGISK_VERSION=debug',
2018-05-13 03:04:40 +08:00
'MAGISK_VER_CODE=99999', 'MAGISK_DEBUG=-DMAGISK_DEBUG')
2017-12-04 15:16:41 +08:00
}
}
}
}