2017-12-04 08:16:41 +01:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
2020-04-03 12:33:39 +02:00
|
|
|
ndkVersion '0.0.0'
|
|
|
|
|
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.
|
2019-04-01 08:46:09 +02:00
|
|
|
arguments('B_MAGISK=1', 'B_INIT64=1', 'B_BOOT=1', 'B_TEST=1',
|
2019-02-12 11:17:02 +01:00
|
|
|
'MAGISK_DEBUG=1', 'MAGISK_VERSION=debug', 'MAGISK_VER_CODE=INT_MAX')
|
2017-12-04 08:16:41 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|