modify bms dep

Signed-off-by: changzheng6 <hanfeng6@huawei.com>
This commit is contained in:
changzheng6 2022-03-20 16:49:20 +08:00
parent d6d60cf95b
commit 1fad5fa5d6
2 changed files with 12 additions and 19 deletions

2
tools/zip/BUILD.gn Executable file → Normal file
View File

@ -53,7 +53,6 @@ ohos_shared_library("zlib") {
"${common_path}:libappexecfwk_common",
"//third_party/libuv:uv_static",
"//third_party/zlib:libz",
"//utils/native/base:utils",
]
external_deps = [
@ -62,6 +61,7 @@ ohos_shared_library("zlib") {
"hilog_native:libhilog_base",
"hiviewdfx_hilog_native:libhilog",
"napi:ace_napi",
"utils_base:utils",
]
install_enable = true

29
tools/zip/test/BUILD.gn Executable file → Normal file
View File

@ -28,45 +28,38 @@ config("module_private_config") {
ohos_unittest("zip_test") {
module_out_path = module_output_path
include_dirs = [ "//foundation/appexecfwk/standard/tools/zip/include" ]
sources = [
"//foundation/appexecfwk/standard/tools/zip/src/file_path.cpp",
"//foundation/appexecfwk/standard/tools/zip/src/zip.cpp",
"//foundation/appexecfwk/standard/tools/zip/src/zip_internal.cpp",
"//foundation/appexecfwk/standard/tools/zip/src/zip_reader.cpp",
"//foundation/appexecfwk/standard/tools/zip/src/zip_utils.cpp",
"//foundation/appexecfwk/standard/tools/zip/src/zip_writer.cpp",
"//foundation/appexecfwk/standard/tools/zip/test/unittest/zip_test.cpp",
"../src/file_path.cpp",
"../src/zip.cpp",
"../src/zip_internal.cpp",
"../src/zip_reader.cpp",
"../src/zip_utils.cpp",
"../src/zip_writer.cpp",
"unittest/zip_test.cpp",
]
configs = [
"//foundation/appexecfwk/standard/tools/zip:zip_config",
"../:zip_config",
":module_private_config",
]
deps = [
"${common_path}:libappexecfwk_common",
"//foundation/aafwk/standard/common/task_dispatcher:task_dispatcher",
"//foundation/aafwk/standard/interfaces/innerkits/want:want",
"//foundation/ace/napi:ace_napi",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libuv:uv_static",
"//third_party/zlib:libz",
"//utils/native/base:utils",
"//utils/native/base:utils",
]
external_deps = [
"ability_runtime:task_dispatcher",
"bundle_framework:appexecfwk_base",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"utils_base:utils",
]
}
group("unittest") {
testonly = true
deps = []
deps += [ ":zip_test" ]
deps = [ ":zip_test" ]
}