diff --git a/BUILD.gn b/BUILD.gn index f60902998ef923731c86a7f49326c7731920436c..38c1dd78ee5d4155f83b264ce08a45682b1feebd 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -51,12 +51,35 @@ ohos_source_set("astc_encoder_static") { } ohos_shared_library("astc_encoder_shared") { - deps = [ - ":astc_encoder_static", + public_configs = [":astc_encoder_config"] + sources = [ + "//third_party/astc-encoder/Source/astcenc_averages_and_directions.cpp", + "//third_party/astc-encoder/Source/astcenc_block_sizes.cpp", + "//third_party/astc-encoder/Source/astcenc_color_quantize.cpp", + "//third_party/astc-encoder/Source/astcenc_color_unquantize.cpp", + "//third_party/astc-encoder/Source/astcenc_compress_symbolic.cpp", + "//third_party/astc-encoder/Source/astcenc_compute_variance.cpp", + "//third_party/astc-encoder/Source/astcenc_decompress_symbolic.cpp", + "//third_party/astc-encoder/Source/astcenc_diagnostic_trace.cpp", + "//third_party/astc-encoder/Source/astcenc_entry.cpp", + "//third_party/astc-encoder/Source/astcenc_find_best_partitioning.cpp", + "//third_party/astc-encoder/Source/astcenc_ideal_endpoints_and_weights.cpp", + "//third_party/astc-encoder/Source/astcenc_image.cpp", + "//third_party/astc-encoder/Source/astcenc_integer_sequence.cpp", + "//third_party/astc-encoder/Source/astcenc_mathlib_softfloat.cpp", + "//third_party/astc-encoder/Source/astcenc_mathlib.cpp", + "//third_party/astc-encoder/Source/astcenc_partition_tables.cpp", + "//third_party/astc-encoder/Source/astcenc_percentile_tables.cpp", + "//third_party/astc-encoder/Source/astcenc_pick_best_endpoint_format.cpp", + "//third_party/astc-encoder/Source/astcenc_platform_isa_detection.cpp", + "//third_party/astc-encoder/Source/astcenc_quantization.cpp", + "//third_party/astc-encoder/Source/astcenc_symbolic_physical.cpp", + "//third_party/astc-encoder/Source/astcenc_weight_align.cpp", + "//third_party/astc-encoder/Source/astcenc_weight_quant_xfer_tables.cpp", ] output_extension = "so" - install_enable = true + # install_enable = true part_name = "astc-encoder" subsystem_name = "thirdparty" - install_images = ["system"] + # install_images = ["system"] } diff --git a/README_zh.md b/README_zh.md index 551a33b9d55fa33a188d82f4c1e57a8acb90ddaa..5262ff328b445d3fd2867f0d2eeba57eeab92867 100644 --- a/README_zh.md +++ b/README_zh.md @@ -28,6 +28,6 @@ astc-encoder编译框架时编译,使用BUILD.gn进行配置编译。 ## OpenHarmony使用方法 -提供生成ASTC码流的能力,码流可以直接由GPU解码显示 +提供生成ASTC码流的能力,码流可以直接由GPU解码显示。 diff --git a/patches/patches.json b/patches/patches.json index 83db518587c9d62b0a021c25a75f49f4dc9da606..fcd206d95be595af14f2c5ad10dc8c2ec83f9e2c 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -1,7 +1,7 @@ { "patches":[ { - "project":"image_framework", + "project":"multimedia_image_framework", "patch":"foundation/multimedia/image_framework", "pr_url":"https://gitee.com/openharmony/multimedia_image_framework/pulls/1034" }