mirror of
https://github.com/openharmony/third_party_libsnd.git
synced 2026-06-30 23:37:55 -04:00
IssueNo: NA : 音频框架组件独立编译(4/5)
Description: 音频框架组件独立编译 Sig: SIG_MultiMedia Feature or Bugfix: Feature Binary Source: No Signed-off-by: Meng.Lv <lvmeng123@huawei.com> Change-Id: Iea66b70cfb9735600737d6ce619b0bcc14895f4e
This commit is contained in:
@@ -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"
|
||||
|
||||
+12
-1
@@ -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": []
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user