diff --git a/BUILD.gn b/BUILD.gn index c59f4a439f22f65282c806741612f77e5e171f44..780041a96b077e56ef52dab568fde441b258d115 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -22,8 +22,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/appexecfwk_core/include/bundlemgr", - "${appexecfwk_path}/interfaces/innerkits/appexecfwk_base/include", "${appexecfwk_path}/interfaces/innerkits/libeventhandler/include", "${appexecfwk_path}/common/log/include", "${aafwk_path}/interfaces/innerkits/want/include/ohos/aafwk/content", @@ -78,8 +76,6 @@ ohos_static_library("appspawn_server") { ] external_deps = [ "ability_base:want", - "bundle_framework:appexecfwk_base", - "bundle_framework:appexecfwk_core", "hilog_native:libhilog", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", @@ -155,8 +151,6 @@ ohos_static_library("nwebspawn_server") { ] external_deps = [ "ability_base:want", - "bundle_framework:appexecfwk_base", - "bundle_framework:appexecfwk_core", "hilog_native:libhilog", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", diff --git a/src/appspawn_server.cpp b/src/appspawn_server.cpp index 0c6814d41a836a79f6e1da319268cacb8cd5ba93..5337f28f84677e0d3ca76e0732afa1ffee5fb865 100644 --- a/src/appspawn_server.cpp +++ b/src/appspawn_server.cpp @@ -35,7 +35,6 @@ #include "hilog/log.h" #include "main_thread.h" #include "securec.h" -#include "bundle_mgr_interface.h" #include "if_system_ability_manager.h" #include "iservice_registry.h" #include "system_ability_definition.h" diff --git a/test/BUILD.gn b/test/BUILD.gn index 8bc4665dabe3abbbfd749a6973986d91e60bba8a..366504d100a3bf5da863e726774c5e2d7d2df3b0 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -66,8 +66,6 @@ ohos_source_set("appspawn_test_source") { external_deps = [ "ability_base:want", - "bundle_framework:appexecfwk_base", - "bundle_framework:appexecfwk_core", "hiviewdfx_hilog_native:libhilog", ] } diff --git a/test/moduletest/BUILD.gn b/test/moduletest/BUILD.gn index d4fea666d2b88aab88c949a83cb9bb8a53fa91bd..edf05bef624e30090ee4da39dea567dedba5fd3f 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_server_test/BUILD.gn b/test/unittest/app_spawn_server_test/BUILD.gn index 83a07f4e460c9845231b0c329dfc9569dea90fb6..67eca2345282b5261eec69a18f65ad3895099b1b 100644 --- a/test/unittest/app_spawn_server_test/BUILD.gn +++ b/test/unittest/app_spawn_server_test/BUILD.gn @@ -46,8 +46,6 @@ ohos_unittest("AppSpawnServerOverrideTest") { external_deps = [ "ability_base:want", - "bundle_framework:appexecfwk_base", - "bundle_framework:appexecfwk_core", "hilog_native:libhilog", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", @@ -94,8 +92,6 @@ ohos_unittest("AppSpawnServerMockTest") { external_deps = [ "ability_base:want", - "bundle_framework:appexecfwk_base", - "bundle_framework:appexecfwk_core", "hilog_native:libhilog", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core",