!29 音频框架组件独立编译(3/4)

Merge pull request !29 from MengLv/master
This commit is contained in:
openharmony_ci 2024-05-04 12:55:56 +00:00 committed by Gitee
commit c13c171cfb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 18 additions and 1 deletions

View File

@ -31,6 +31,10 @@ config("sndfile_config") {
]
}
config("export_include_config") {
include_dirs = [ "include" ]
}
ohos_source_set("sndfile_sources") {
sources = [
"src/ALAC/ALACBitUtilities.c",
@ -133,6 +137,8 @@ ohos_source_set("sndfile_sources") {
ohos_shared_library("sndfile") {
deps = [ ":sndfile_sources" ]
public_configs = [ ":export_include_config" ]
innerapi_tags = [ "platformsdk_indirect" ]
subsystem_name = "thirdparty"
part_name = "libsnd"

View File

@ -26,7 +26,18 @@
},
"build": {
"sub_component": [],
"inner_kits": [],
"inner_kits": [
{
"name" : "//third_party/libsnd:sndfile",
"header": {
"header_files": [
"config.h",
"sndfile.h"
],
"header_base": "//third_party/libsnd/include"
}
}
],
"test": []
}
}