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-09-28 08:05:55 +02:00
|
|
|
arguments('B_MAGISK=1', 'B_INIT=1', 'B_BOOT=1', 'B_BXZ=1', 'MAGISK_DEBUG=1')
|
2017-12-04 08:16:41 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|