Signed-off-by: ZhangLiang <zhangliang335@h-partners.com>
Change-Id: Id398e719c6589ddf50c6737c4653ed76f4d92bbc
This commit is contained in:
ZhangLiang
2025-06-28 04:00:12 +00:00
parent 1ec05b772c
commit e4704b3fb0
2 changed files with 5 additions and 10 deletions
+5 -6
View File
@@ -30,6 +30,8 @@ ohos_unittest("vk_bundle_mgr_helper_test") {
"bundle_framework:appexecfwk_core",
"c_utils:utils",
"ipc:ipc_core",
"vulkan-headers:vulkan_headers",
"vulkan-loader:vulkan_loader",
"samgr:samgr_proxy",
]
}
@@ -40,21 +42,18 @@ ohos_static_library("vk_bundle_mgr_helper_test_common") {
public_configs = [ ":vk_bundle_mgr_helper_test_common_public_config" ]
public_deps = [
"//third_party/googletest:gtest_main",
"//third_party/vulkan-loader:vulkan_loader",
]
external_deps = [
"c_utils:utils",
"googletest:gtest_main",
"hilog:libhilog",
]
subsystem_name = "bundle_info"
part_name = "vulkan-loader-bundle"
}
config("vk_bundle_mgr_helper_test_common_public_config") {
include_dirs = [ "vk_bundle_mgr_helper_tests.cpp" ]
include_dirs = [ "../../../bundle_mgr_helper" ]
cflags = [
"-Wall",
@@ -52,9 +52,5 @@ HWTEST_F(VkBundleMgrHelperTest, VkBundleMgrHelperTest, Level1)
ret = InitBundleInfo((const_cast<char*>(bundleInfo.name.c_str())));
EXPECT_EQ(ret, false);
char* path = GetDebugLayerLibPath();
EXPECT_NE(path, nullptr);
free(path);
}
}