From c58ad726607f73f9bf8dac0efb04b73cace41855 Mon Sep 17 00:00:00 2001 From: junyi233 Date: Mon, 25 Apr 2022 16:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E4=BB=B6=E5=8C=965.0=E9=9C=80?= =?UTF-8?q?=E6=B1=82=E5=8C=85=E7=AE=A1=E7=90=86=E4=BE=9D=E8=B5=96=E6=95=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: junyi233 --- wm/test/systemtest/BUILD.gn | 6 +++++- wm/test/unittest/BUILD.gn | 6 ++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/wm/test/systemtest/BUILD.gn b/wm/test/systemtest/BUILD.gn index 330840ce..fdc90545 100644 --- a/wm/test/systemtest/BUILD.gn +++ b/wm/test/systemtest/BUILD.gn @@ -77,6 +77,8 @@ ohos_systemtest("wm_window_subwindow_test") { sources = [ "window_subwindow_test.cpp" ] deps = [ ":wm_systemtest_common" ] + + external_deps = [ "bundle_framework:appexecfwk_base" ] } ## SystemTest wm_window_subwindow_test }}} @@ -132,6 +134,8 @@ ohos_systemtest("wm_window_move_drag_test") { sources = [ "window_move_drag_test.cpp" ] deps = [ ":wm_systemtest_common" ] + + external_deps = [ "bundle_framework:appexecfwk_base" ] } ## SystemTest wm_window_move_drag_test }}} @@ -216,7 +220,6 @@ config("wm_systemtest_common_public_config") { # for abilityContext "//foundation/aafwk/standard/frameworks/kits/ability/ability_runtime/include", - "//foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_base/include", "//foundation/aafwk/standard/frameworks/kits/appkit/native/ability_runtime/context", "//base/global/resmgr_standard/interfaces/innerkits/include", "//third_party/node/deps/icu-small/source/common", @@ -264,5 +267,6 @@ ohos_static_library("wm_systemtest_common") { "//third_party/googletest:gtest_main", "//utils/native/base:utils", ] + external_deps = [ "bundle_framework:appexecfwk_base" ] } ## Build wm_systemtest_common.a }}} diff --git a/wm/test/unittest/BUILD.gn b/wm/test/unittest/BUILD.gn index c98fdeeb..75eccf1d 100644 --- a/wm/test/unittest/BUILD.gn +++ b/wm/test/unittest/BUILD.gn @@ -144,7 +144,6 @@ config("wm_unittest_common_public_config") { # for abilityContext "//foundation/aafwk/standard/frameworks/kits/ability/ability_runtime/include", - "//foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_base/include", "//foundation/aafwk/standard/frameworks/kits/appkit/native/ability_runtime/context", "//base/global/resmgr_standard/interfaces/innerkits/include", "//third_party/node/deps/icu-small/source/common", @@ -192,6 +191,9 @@ ohos_static_library("wm_unittest_common") { "//utils/native/base:utils", ] - external_deps = [ "ability_runtime:ability_context_native" ] + external_deps = [ + "ability_runtime:ability_context_native", + "bundle_framework:appexecfwk_base", + ] } ## Build wm_unittest_common.a }}}