loader component

Signed-off-by: shegangbin <shegangbin1@huawei.com>
This commit is contained in:
shegangbin 2024-02-05 19:55:57 +08:00
parent e62ea4e0f3
commit c2b5ae7783
2 changed files with 17 additions and 4 deletions

View File

@ -62,7 +62,7 @@ config("vulkan_headers_config") {
} }
# Vulkan headers only, no compiled sources. # Vulkan headers only, no compiled sources.
source_set("vulkan_headers") { ohos_static_library("vulkan_headers") {
sources = [ sources = [
"include/vk_video/vulkan_video_codec_h264std.h", "include/vk_video/vulkan_video_codec_h264std.h",
"include/vk_video/vulkan_video_codec_h264std_decode.h", "include/vk_video/vulkan_video_codec_h264std_decode.h",
@ -80,4 +80,6 @@ source_set("vulkan_headers") {
"include/vulkan/vulkan_ohos.h", "include/vulkan/vulkan_ohos.h",
] ]
public_configs = [ ":vulkan_headers_config" ] public_configs = [ ":vulkan_headers_config" ]
license_file = "//third_party/vulkan-headers/LICENSE.txt"
} }

View File

@ -26,9 +26,20 @@
"third_party": [] "third_party": []
}, },
"build": { "build": {
"sub_component": [], "sub_component": [
"inner_kits": [], "//third_party/vulkan-headers:vulkan_headers"
"test": [] ],
"inner_kits": [
{
"type": "none",
"name": "//third_party/vulkan-headers:vulkan_headers",
"header": {
"header_files": [
],
"header_base": "//third_party/vulkan-headers/include"
}
}
]
} }
} }
} }