diff --git a/BUILD.gn b/BUILD.gn index cd98b42319e671f91ec7f2426c78e4386bde3fad..9c138af04cc42b7450dca3532cf571df2d202dfd 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -70,8 +70,7 @@ ohos_static_library("appspawn_server") { "//utils/native/base:utils", ] external_deps = [ - "ability_runtime:app_manager", - "ability_runtime:want", + "ability_base:want", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", "hilog_native:libhilog", diff --git a/test/BUILD.gn b/test/BUILD.gn index 2df021e5127655add9ba7934d35546179b022c3a..2df1ee1582165a51f569d6e8d075eb426b7c9b8c 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -65,8 +65,7 @@ ohos_source_set("appspawn_test_source") { deps = [] external_deps = [ - "ability_runtime:app_manager", - "ability_runtime:want", + "ability_base:want", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", "hiviewdfx_hilog_native:libhilog", diff --git a/test/unittest/app_spawn_server_test/BUILD.gn b/test/unittest/app_spawn_server_test/BUILD.gn index 6bdeb3291f7efe7c8aefb33bdfb5aaeceab10367..6cb7329a8867c456f0e0a994b4e6b4d12ff1cd0f 100755 --- a/test/unittest/app_spawn_server_test/BUILD.gn +++ b/test/unittest/app_spawn_server_test/BUILD.gn @@ -39,8 +39,7 @@ ohos_unittest("AppSpawnServerOverrideTest") { ] external_deps = [ - "ability_runtime:app_manager", - "ability_runtime:want", + "ability_base:want", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", "hilog_native:libhilog", @@ -81,8 +80,7 @@ ohos_unittest("AppSpawnServerMockTest") { ] external_deps = [ - "ability_runtime:app_manager", - "ability_runtime:want", + "ability_base:want", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", "hilog_native:libhilog",