update test/moduletest/BUILD.gn.

Signed-off-by: flying <pengmengjie1@huawei.com>
This commit is contained in:
flying 2024-03-11 01:51:57 +00:00 committed by Gitee
parent 76c56d103f
commit 7592ae5a39
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -17,11 +17,7 @@ import("//build/test.gni")
ohos_executable("AppSpawnTest") { ohos_executable("AppSpawnTest") {
sources = [ "${appspawn_path}/test/moduletest/appspawn_test_cmd.cpp" ] sources = [ "${appspawn_path}/test/moduletest/appspawn_test_cmd.cpp" ]
include_dirs = [ include_dirs = [ "//commonlibrary/c_utils/base/include" ]
"//commonlibrary/c_utils/base/include",
"//third_party/zlib/contrib/minizip",
"//third_party/zlib",
]
configs = [ "${appspawn_path}:appspawn_config" ] configs = [ "${appspawn_path}:appspawn_config" ]
@ -31,6 +27,7 @@ ohos_executable("AppSpawnTest") {
"c_utils:utils", "c_utils:utils",
"hilog:libhilog", "hilog:libhilog",
"init:libbegetutil", "init:libbegetutil",
"zlib:libz",
] ]
} }