From ba8d39b46454f76cc22ea09dd74a81519832e6f3 Mon Sep 17 00:00:00 2001 From: linxiangzhi Date: Thu, 28 Apr 2022 14:25:53 +0800 Subject: [PATCH] build: Remove useless dependencies on package management Signed-off-by: linxiangzhi Change-Id: I6959c7f272dd366f464afd51ef42606eb7769977 --- BUILD.gn | 5 +---- appspawn.gni | 1 - test/moduletest/BUILD.gn | 2 -- test/unittest/app_spawn_standard_test/BUILD.gn | 1 + 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 034efc34..6d1c1def 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -24,10 +24,6 @@ config("appspawn_config") { "//utils/native/base/include", "${aafwk_path}/frameworks/kits/appkit/native/app/include", "${aafwk_path}/interfaces/innerkits/app_manager/include/appmgr", - "${appexecfwk_path}/interfaces/innerkits/libeventhandler/include", - "${appexecfwk_path}/common/log/include", - "${appexecfwk_path}/interfaces/innerkits/appexecfwk_core/include/bundlemgr", - "${appexecfwk_path}/interfaces/innerkits/appexecfwk_base/include", "${aafwk_path}/interfaces/innerkits/want/include/ohos/aafwk/content", "${aafwk_path}/interfaces/innerkits/want/include", "${aafwk_path}/interfaces/innerkits/ability_manager/include", @@ -62,6 +58,7 @@ ohos_executable("appspawn") { external_deps = [ "ability_base:want", "ability_runtime:app_manager", + "eventhandler:libeventhandler", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "utils_base:utils", diff --git a/appspawn.gni b/appspawn.gni index 4dc58471..24ada929 100644 --- a/appspawn.gni +++ b/appspawn.gni @@ -12,7 +12,6 @@ # limitations under the License. appspawn_path = "//base/startup/appspawn_standard" -appexecfwk_path = "//foundation/appexecfwk/standard" aafwk_path = "//foundation/aafwk/standard" subsystem_name = "startup" part_name = "appspawn" diff --git a/test/moduletest/BUILD.gn b/test/moduletest/BUILD.gn index dd1763fe..4c5c0a2f 100644 --- a/test/moduletest/BUILD.gn +++ b/test/moduletest/BUILD.gn @@ -23,7 +23,6 @@ ohos_moduletest("AppSpawnModuleTest") { "//utils/native/base/include", "//third_party/zlib/contrib/minizip", "//third_party/zlib", - "${appexecfwk_path}/interfaces/innerkits/appexecfwk_base/include", ] configs = [ @@ -34,7 +33,6 @@ ohos_moduletest("AppSpawnModuleTest") { deps = [ "${aafwk_path}/interfaces/innerkits/app_manager:app_manager", "${aafwk_path}/services/appmgr:libams", - "${appexecfwk_path}/interfaces/innerkits/appexecfwk_core:appexecfwk_core", "${appspawn_path}/interfaces/innerkits:appspawn_socket_client", "//third_party/googletest:gtest_main", "//utils/native/base:utils", diff --git a/test/unittest/app_spawn_standard_test/BUILD.gn b/test/unittest/app_spawn_standard_test/BUILD.gn index 31b92140..54561a44 100644 --- a/test/unittest/app_spawn_standard_test/BUILD.gn +++ b/test/unittest/app_spawn_standard_test/BUILD.gn @@ -47,6 +47,7 @@ ohos_unittest("AppSpawnStandardTest") { external_deps = [ "ability_base:want", "ability_runtime:app_manager", + "eventhandler:libeventhandler", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "utils_base:utils", -- Gitee