提交 188c5a1b 编写于 作者: 戴伟琦

0630

Signed-off-by: N戴伟琦 <daiweiqi@huawei.com>
上级 96c2b2c8
......@@ -14,8 +14,6 @@
import("//build/config/ohos/config.gni")
import("//build/ohos.gni")
import("//foundation/arkui/napi/napi.gni")
AUDIO_ROOT_DIR = "//foundation/multimedia/audio_framework/"
config("config") {
visibility = [ ":*" ]
cflags = [
......@@ -26,27 +24,22 @@ config("config") {
]
}
ohos_shared_library("audioNdkTest") {
sources = [
"./napi/audioTest.cpp",
]
sources = [ "./napi/audioTest.cpp" ]
if (use_musl) {
libs = [ rebase_path(libcxx_ndk_shared_file) ]
}
include_dirs = [
"$AUDIO_ROOT_DIR/interfaces/kits/c/",
"$AUDIO_ROOT_DIR/interfaces/kits/c/common/",
"$AUDIO_ROOT_DIR/interfaces/kits/c/audio_renderer/",
"$AUDIO_ROOT_DIR/interfaces/kits/c/audio_capturer/",
"//foundation/multimedia/audio_framework/interfaces/kits/c/",
"//foundation/multimedia/audio_framework/interfaces/kits/c/common/",
"//foundation/multimedia/audio_framework/interfaces/kits/c/audio_renderer/",
"//foundation/multimedia/audio_framework/interfaces/kits/c/audio_capturer/",
]
configs = [ ":config" ]
deps = [
"$AUDIO_ROOT_DIR/frameworks/native/ohaudio:ohaudio"
]
external_deps = [
"napi:ace_napi",
"//foundation/multimedia/audio_framework/frameworks/native/ohaudio:ohaudio",
]
external_deps = [ "napi:ace_napi" ]
output_extension = "so"
part_name = "audio_framework"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册