diff --git a/frameworks/core/components_ng/components.gni b/frameworks/core/components_ng/components.gni index f120d7d803de8a45998bd1d37a446bfff2a5d857..bbce6000ae4791611163cda00107d2bf1528ea90 100644 --- a/frameworks/core/components_ng/components.gni +++ b/frameworks/core/components_ng/components.gni @@ -102,6 +102,7 @@ template("build_component_ng") { "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src", "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter", "//third_party/bounds_checking_function/include", + "//foundation/appframework/window_manager/interfaces/innerkits/wm", ] if (!is_cross_platform_build && defined(config.enable_drag_framework) && diff --git a/frameworks/core/pipeline_ng/BUILD.gn b/frameworks/core/pipeline_ng/BUILD.gn index 3ad39407297fd8142fb46bf570b461e84e5ccf78..990b6d84e8dd2e64d9572537dc847b655ce94248 100644 --- a/frameworks/core/pipeline_ng/BUILD.gn +++ b/frameworks/core/pipeline_ng/BUILD.gn @@ -50,6 +50,7 @@ template("ace_core_pipeline_ng_source_set") { include_dirs = [ "//foundation/window/window_manager/interfaces/innerkits" ] } + include_dirs += [ "//foundation/appframework/window_manager/interfaces/innerkits/wm" ] if (platform == "ohos" && defined(config.enable_native_view) && config.enable_native_view) {