diff --git a/BUILD.gn b/BUILD.gn index b7beb49781e953e98709003e5619a5a5cdc28638..046f7df953cc2ea14a0421c0d30630f2a24e3db1 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -78,8 +78,6 @@ ohos_static_library("appspawn_server") { "hilog_native:libhilog", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", - "safwk:system_ability_fwk", - "samgr_standard:samgr_proxy", ] if (build_selinux) { @@ -153,8 +151,6 @@ ohos_static_library("nwebspawn_server") { "hilog_native:libhilog", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", - "safwk:system_ability_fwk", - "samgr_standard:samgr_proxy", ] if (build_selinux) { diff --git a/src/appspawn_server.cpp b/src/appspawn_server.cpp index d69f4ed3b4962dca193247554919825b62c388fc..78eed350dbfafb916efb331fc246561c5ee01f19 100644 --- a/src/appspawn_server.cpp +++ b/src/appspawn_server.cpp @@ -35,9 +35,6 @@ #include "hilog/log.h" #include "main_thread.h" #include "securec.h" -#include "if_system_ability_manager.h" -#include "iservice_registry.h" -#include "system_ability_definition.h" #include "token_setproc.h" #include "parameter.h" #include "parameters.h"