mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 22:21:36 -04:00
feat: add an interface to fuse the dylink interface
Close #I78F4J Signed-off-by: wangchen <wangchen240@huawei.com>
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <atomic>
|
||||
#include <sys/epoll.h>
|
||||
#include <unistd.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "accesstoken_kit.h"
|
||||
#include "constants.h"
|
||||
@@ -649,6 +650,10 @@ void JsRuntime::SetAppLibPath(const AppLibPathMap& appLibPaths, const bool& isSy
|
||||
for (const auto &appLibPath : appLibPaths) {
|
||||
moduleManager->SetAppLibPath(appLibPath.first, appLibPath.second, isSystemApp);
|
||||
}
|
||||
|
||||
if (!isSystemApp) {
|
||||
dlns_disable();
|
||||
}
|
||||
}
|
||||
|
||||
void JsRuntime::InitSourceMap(const std::shared_ptr<JsEnv::SourceMapOperator> operatorObj)
|
||||
|
||||
Reference in New Issue
Block a user