diff --git a/BUILD.gn b/BUILD.gn index 0800863..4a588da 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -62,7 +62,7 @@ config("vulkan_headers_config") { } # Vulkan headers only, no compiled sources. -source_set("vulkan_headers") { +ohos_static_library("vulkan_headers") { sources = [ "include/vk_video/vulkan_video_codec_h264std.h", "include/vk_video/vulkan_video_codec_h264std_decode.h", @@ -80,4 +80,6 @@ source_set("vulkan_headers") { "include/vulkan/vulkan_ohos.h", ] public_configs = [ ":vulkan_headers_config" ] + + license_file = "//third_party/vulkan-headers/LICENSE.txt" } diff --git a/bundle.json b/bundle.json index df051d5..cdb3004 100644 --- a/bundle.json +++ b/bundle.json @@ -26,9 +26,20 @@ "third_party": [] }, "build": { - "sub_component": [], - "inner_kits": [], - "test": [] + "sub_component": [ + "//third_party/vulkan-headers:vulkan_headers" + ], + "inner_kits": [ + { + "type": "none", + "name": "//third_party/vulkan-headers:vulkan_headers", + "header": { + "header_files": [ + ], + "header_base": "//third_party/vulkan-headers/include" + } + } + ] } } } \ No newline at end of file