diff --git a/BUILD.gn b/BUILD.gn index c175771a..07c197ce 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -42,11 +42,14 @@ foreach(font, notofonts_fonts_list) { } } -group("fonts_notofonts") { +ohos_shared_headers("fonts_notofonts") { + include_dirs = [] deps = [] foreach(dep, dep_list) { deps += [ ":${dep}" ] } + subsystem_name = "thirdparty" + part_name = "notofonts" } ohos_copy("copy_preview_fonts_notofonts") { diff --git a/bundle.json b/bundle.json index 4aa595a7..cf1a9f36 100644 --- a/bundle.json +++ b/bundle.json @@ -28,7 +28,16 @@ "sub_component": [ "//third_party/notofonts:fonts_notofonts" ], - "inner_kits": [], + "inner_kits": [ + { + "name":"//third_party/notofonts:fonts_notofonts", + "header":{ + "header_files":[ + ], + "header_base":"//third_party/notofonts" + } + } + ], "test": [] } }