diff --git a/BUILD.gn b/BUILD.gn index 034efc340a216ec5cb3b0eca40c095664ce2f974..6d1c1def984905ad0311ac060795d7f5949dc2a1 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 4dc584714f2b5edc61f09cd6a6067870d537284b..24ada92960d06f724ac8d4471f8f3dd518ca8ee7 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 dd1763feead5e4bf6ee80cbb169eeb7760c45f61..4c5c0a2fb0409d3497c2ef99e9f3138263df7051 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 31b92140bd7aedea6da8a2060772783ca1c3a89b..54561a44e376ce3ce0288b89388bb0d39e036a69 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",