1
mirror of https://github.com/topjohnwu/Magisk synced 2024-11-14 22:28:37 +01:00
Magisk/native/build.gradle

23 lines
588 B
Groovy
Raw Normal View History

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