整改BUILD.gn,修改依赖部件方式

Signed-off-by: 李延胜 <liyansheng4@huawei.com>
This commit is contained in:
李延胜
2025-08-04 11:16:29 +08:00
parent 0f038c7900
commit 44bb40c85b
3 changed files with 7 additions and 17 deletions
+3 -6
View File
@@ -21,11 +21,6 @@ config("wukong_common_config") {
}
accessibility_include_dirs = [
"//base/accessibility/interfaces",
"//foundation/bundlemanager/bundle_framework/common/log/include",
"//foundation/multimodalinput/input/interfaces",
"//base/hiviewdfx/hisysevent/interfaces",
"//utils/system/safwk/native/include",
"include",
]
@@ -93,7 +88,7 @@ ohos_executable("wukong") {
include_dirs += accessibility_include_dirs
deps = [ "//third_party/libpng:libpng" ]
deps = []
external_deps = [
"ability_base:want",
@@ -107,6 +102,7 @@ ohos_executable("wukong") {
"accessibility:accessibleability",
"bundle_framework:appexecfwk_base",
"bundle_framework:appexecfwk_core",
"bundle_framework:libappexecfwk_common",
"c_utils:utils",
"graphic_2d:librender_service_base",
"hidumper:lib_dump_usage",
@@ -120,6 +116,7 @@ ohos_executable("wukong") {
"samgr:samgr_proxy",
"window_manager:libdm",
"window_manager:libwm",
"libpng:libpng",
]
install_enable = true
+1 -3
View File
@@ -36,9 +36,7 @@
"image_framework",
"samgr",
"c_utils",
"window_manager"
],
"third_party": [
"window_manager",
"libpng"
]
},
+3 -8
View File
@@ -79,17 +79,9 @@ ohos_unittest("wukong_ut") {
"../report/include",
"../shell_command/include",
"../test_flow/include",
"//third_party/googletest/googletest/include/gtest",
"//base/accessibility/interfaces",
"//foundation/bundlemanager/bundle_framework/common/log/include",
"//foundation/multimodalinput/input/interfaces",
"//base/hiviewdfx/hisysevent/interfaces",
"//utils/system/safwk/native/include",
"include",
]
deps = [
"//third_party/googletest:gtest",
"//third_party/libpng:libpng",
]
external_deps = [
"ability_base:want",
@@ -103,6 +95,7 @@ ohos_unittest("wukong_ut") {
"accessibility:accessibleability",
"bundle_framework:appexecfwk_base",
"bundle_framework:appexecfwk_core",
"bundle_framework:libappexecfwk_common",
"c_utils:utils",
"graphic_2d:librender_service_base",
"hidumper:lib_dump_usage",
@@ -115,6 +108,8 @@ ohos_unittest("wukong_ut") {
"samgr:samgr_proxy",
"window_manager:libdm",
"window_manager:libwm",
"googletest:gtest",
"libpng:libpng",
]
subsystem_name = "ostest"
part_name = "wukong"