Fix window_animation public_deps componentization issues

Replace public_deps to deps in the window_animation inner api.

Signed-off-by: Alexander Zharkov <zharkov.alexander@huawei-partners.com>
Change-Id: I0eb9aa8dd21d4a47e5662647b16aba090275e2cb
Signed-off-by: Alexander Zharkov <zharkov.alexander@huawei-partners.com>
This commit is contained in:
Alexander Zharkov 2024-05-20 18:35:20 +03:00
parent 28bce79e4b
commit 4ec9aeba76
3 changed files with 6 additions and 2 deletions

View File

@ -35,6 +35,7 @@ ohos_shared_library("windowanimationmanager_napi") {
deps = [ deps = [
"$graphic_2d_root/rosen/modules/animation/window_animation:window_animation", "$graphic_2d_root/rosen/modules/animation/window_animation:window_animation",
"$graphic_2d_root/rosen/modules/platform:eventhandler", "$graphic_2d_root/rosen/modules/platform:eventhandler",
"$graphic_2d_root/rosen/modules/render_service_client:librender_service_client",
] ]
external_deps = [ external_deps = [

View File

@ -12,6 +12,7 @@
# limitations under the License. # limitations under the License.
import("//build/ohos.gni") import("//build/ohos.gni")
import("../../../../graphic_config.gni")
config("window_animation_config") { config("window_animation_config") {
include_dirs = [ "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/include" ] include_dirs = [ "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/include" ]
@ -31,7 +32,7 @@ ohos_shared_library("window_animation") {
cflags_cc = [ "-std=c++17" ] cflags_cc = [ "-std=c++17" ]
public_deps = [ "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client" ] deps = [ "$graphic_2d_root/rosen/modules/render_service_client:librender_service_client" ]
external_deps = [ external_deps = [
"c_utils:utils", "c_utils:utils",

View File

@ -12,6 +12,7 @@
# limitations under the License. # limitations under the License.
import("//build/test.gni") import("//build/test.gni")
import("../../../../../../graphic_config.gni")
module_output_path = "graphic_2d/rosen/modules/animation/window_animation" module_output_path = "graphic_2d/rosen/modules/animation/window_animation"
ohos_unittest("RSWindowAnimationTest") { ohos_unittest("RSWindowAnimationTest") {
@ -27,8 +28,9 @@ ohos_unittest("RSWindowAnimationTest") {
configs = [ ":rs_window_animation_test_config" ] configs = [ ":rs_window_animation_test_config" ]
deps = [ deps = [
"$graphic_2d_root/rosen/modules/animation/window_animation:window_animation",
"$graphic_2d_root/rosen/modules/render_service_client:librender_service_client",
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
"//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation:window_animation",
"//foundation/window/window_manager/wm:libwm", "//foundation/window/window_manager/wm:libwm",
"//third_party/googletest:gtest_main", "//third_party/googletest:gtest_main",
] ]