mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 21:27:41 +02:00
Move config to buildSrc
This commit is contained in:
@ -2,8 +2,9 @@ plugins {
|
||||
id("com.android.library")
|
||||
}
|
||||
|
||||
android {
|
||||
setupCommon()
|
||||
|
||||
android {
|
||||
externalNativeBuild {
|
||||
ndkBuild {
|
||||
path("jni/Android.mk")
|
||||
@ -15,7 +16,7 @@ android {
|
||||
ndkBuild {
|
||||
// Pass arguments to ndk-build.
|
||||
arguments("B_MAGISK=1", "B_INIT=1", "B_BOOT=1", "B_TEST=1",
|
||||
"MAGISK_DEBUG=1", "MAGISK_VERSION=debug", "MAGISK_VER_CODE=INT_MAX")
|
||||
"MAGISK_DEBUG=1", "MAGISK_VERSION=debug", "MAGISK_VER_CODE=INT_MAX")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user