mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-26 19:40:24 +00:00
commit
c13c171cfb
6
BUILD.gn
6
BUILD.gn
@ -31,6 +31,10 @@ config("sndfile_config") {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
config("export_include_config") {
|
||||||
|
include_dirs = [ "include" ]
|
||||||
|
}
|
||||||
|
|
||||||
ohos_source_set("sndfile_sources") {
|
ohos_source_set("sndfile_sources") {
|
||||||
sources = [
|
sources = [
|
||||||
"src/ALAC/ALACBitUtilities.c",
|
"src/ALAC/ALACBitUtilities.c",
|
||||||
@ -133,6 +137,8 @@ ohos_source_set("sndfile_sources") {
|
|||||||
ohos_shared_library("sndfile") {
|
ohos_shared_library("sndfile") {
|
||||||
deps = [ ":sndfile_sources" ]
|
deps = [ ":sndfile_sources" ]
|
||||||
|
|
||||||
|
public_configs = [ ":export_include_config" ]
|
||||||
|
|
||||||
innerapi_tags = [ "platformsdk_indirect" ]
|
innerapi_tags = [ "platformsdk_indirect" ]
|
||||||
subsystem_name = "thirdparty"
|
subsystem_name = "thirdparty"
|
||||||
part_name = "libsnd"
|
part_name = "libsnd"
|
||||||
|
13
bundle.json
13
bundle.json
@ -26,7 +26,18 @@
|
|||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"sub_component": [],
|
"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": []
|
"test": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user