From b4b0d0f1dba2177b41d48548450ec8ea8d937ce4 Mon Sep 17 00:00:00 2001 From: xionglei6 Date: Sat, 26 Mar 2022 16:26:24 +0800 Subject: [PATCH 1/3] fix: remove appspawn deps Signed-off-by: xionglei6 --- BUILD.gn | 12 ------------ src/appspawn_server.cpp | 1 - 2 files changed, 13 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 400c068e..2723e013 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -76,14 +76,8 @@ ohos_static_library("appspawn_server") { "//utils/native/base:utils", ] external_deps = [ - "ability_base:want", - "bundle_framework:appexecfwk_base", - "bundle_framework:appexecfwk_core", "hilog_native:libhilog", "hiviewdfx_hilog_native:libhilog", - "ipc:ipc_core", - "safwk:system_ability_fwk", - "samgr_standard:samgr_proxy", ] if (build_selinux) { @@ -153,14 +147,8 @@ ohos_static_library("nwebspawn_server") { "//utils/native/base:utils", ] external_deps = [ - "ability_base:want", - "bundle_framework:appexecfwk_base", - "bundle_framework:appexecfwk_core", "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 7660efe9..f8e20890 100644 --- a/src/appspawn_server.cpp +++ b/src/appspawn_server.cpp @@ -33,7 +33,6 @@ #include "errors.h" #include "hilog/log.h" -#include "main_thread.h" #include "securec.h" #include "bundle_mgr_interface.h" #include "if_system_ability_manager.h" -- Gitee From 05c62d3ea81a7fbdd26d09579c3c09d111e6ed4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E7=A3=8A?= Date: Sat, 26 Mar 2022 08:49:00 +0000 Subject: [PATCH 2/3] update BUILD.gn. Signed-off-by: xionglei Signed-off-by: xionglei --- BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index e0847fda..b9f0d077 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -74,6 +74,7 @@ ohos_static_library("appspawn_server") { "//utils/native/base:utils", ] external_deps = [ + "ability_base:want", "hilog_native:libhilog", "hiviewdfx_hilog_native:libhilog", ] @@ -145,6 +146,7 @@ ohos_static_library("nwebspawn_server") { "//utils/native/base:utils", ] external_deps = [ + "ability_base:want", "hilog_native:libhilog", "hiviewdfx_hilog_native:libhilog", ] -- Gitee From d6622fd7ffd24eef1b91b79c328b1f7030253ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E7=A3=8A?= Date: Sat, 26 Mar 2022 08:53:04 +0000 Subject: [PATCH 3/3] update src/appspawn_server.cpp. Signed-off-by: xionglei Signed-off-by: xionglei --- src/appspawn_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/appspawn_server.cpp b/src/appspawn_server.cpp index 59f5b0bc..d69f4ed3 100644 --- a/src/appspawn_server.cpp +++ b/src/appspawn_server.cpp @@ -33,6 +33,7 @@ #include "errors.h" #include "hilog/log.h" +#include "main_thread.h" #include "securec.h" #include "if_system_ability_manager.h" #include "iservice_registry.h" -- Gitee