Magisk/native/build.gradle

21 lines
468 B
Groovy
Raw Normal View History

2017-12-04 15:16:41 +08:00
apply plugin: 'com.android.library'
android {
externalNativeBuild {
ndkBuild {
path 'jni/Android.mk'
}
}
defaultConfig {
externalNativeBuild {
ndkBuild {
2018-05-13 03:04:40 +08:00
// Pass arguments to ndk-build.
arguments('B_MAGISK=1', 'B_INIT64=1', 'B_BOOT=1', 'B_TEST=1',
2019-02-12 05:17:02 -05:00
'MAGISK_DEBUG=1', 'MAGISK_VERSION=debug', 'MAGISK_VER_CODE=INT_MAX')
2017-12-04 15:16:41 +08:00
}
}
}
}