Fix sandhook build
This commit is contained in:
parent
2c709e4c65
commit
760c013b1d
|
|
@ -150,10 +150,6 @@ afterEvaluate {
|
|||
}
|
||||
def libPathRelease = "${buildDir}/intermediates/cmake/${variantLowered}/obj"
|
||||
def exclude_list = ["riru.sh"]
|
||||
if(backendLowered == "yahfa") {
|
||||
exclude_list.add("system/lib/libsandhook-native.so")
|
||||
exclude_list.add("system/lib64/libsandhook-native.so")
|
||||
}
|
||||
doLast {
|
||||
copy {
|
||||
from "${projectDir}/template_override"
|
||||
|
|
|
|||
|
|
@ -232,11 +232,11 @@ namespace edxp {
|
|||
skip_ = false;
|
||||
if (!ConfigManager::GetInstance()->IsAppNeedHook(0, "android")) {
|
||||
skip_ = true;
|
||||
LOGW("skip injecting xposed into android because it's whitelisted/blacklisted");
|
||||
LOGD("skip injecting xposed into android because it's whitelisted/blacklisted");
|
||||
}
|
||||
if (!skip_ && !ConfigManager::GetInstance()->UpdateAppModuleList(0, "android")) {
|
||||
skip_ = true;
|
||||
LOGW("skip injecting into android because no module hooks it");
|
||||
LOGD("skip injecting into android because no module hooks it");
|
||||
}
|
||||
PreLoadDex(env, kInjectDexPath);
|
||||
}
|
||||
|
|
@ -312,7 +312,7 @@ namespace edxp {
|
|||
|
||||
if (!skip && !ConfigManager::GetInstance()->UpdateAppModuleList(user, package_name)) {
|
||||
skip = true;
|
||||
LOGW("skip injecting xposed into %s because no module hooks it",
|
||||
LOGD("skip injecting xposed into %s because no module hooks it",
|
||||
package_name.c_str());
|
||||
}
|
||||
return skip;
|
||||
|
|
|
|||
|
|
@ -264,7 +264,7 @@ else
|
|||
ui_print "- Extracting arm64 libraries"
|
||||
extract "$ZIPFILE" 'system/lib64/libriru_edxp.so' "$MODPATH"
|
||||
if [[ "${VARIANTS}" == "SandHook" ]]; then
|
||||
extract "$ZIPFILE" 'system/lib/libsandhook-native.so' "$MODPATH"
|
||||
extract "$ZIPFILE" 'system/lib64/libsandhook-native.so' "$MODPATH"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue