mirror of
https://github.com/openharmony/third_party_vulkan-loader.git
synced 2026-07-01 21:54:05 -04:00
undps
Signed-off-by: ZhangLiang <zhangliang335@h-partners.com> Change-Id: Id398e719c6589ddf50c6737c4653ed76f4d92bbc
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user