Files
ai_intelligent_voice_framework/frameworks/native/BUILD.gn
T
2023-06-26 21:42:44 +08:00

53 lines
1.6 KiB
Plaintext
Executable File

# Copyright (c) 2023 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/ohos.gni")
ohos_shared_library("intellvoice_native") {
sources = [
"enroll_intell_voice_engine.cpp",
"intell_voice_manager.cpp",
"wakeup_intell_voice_engine.cpp",
]
include_dirs = [
"//foundation/ai/intelligent_voice_framework/interfaces/inner_api/native",
"//foundation/ai/intelligent_voice_framework/services/intell_voice_engine",
"//foundation/ai/intelligent_voice_framework/services/intell_voice_engine/proxy",
"//foundation/ai/intelligent_voice_framework/utils",
]
cflags_cc = [
"-Wno-error=unused-parameter",
"-DHILOG_ENABLE",
"-DENABLE_DEBUG",
]
deps = [
"//foundation/ai/intelligent_voice_framework/services:intell_voice_proxy",
]
external_deps = [
"ability_base:base",
"ability_base:want",
"c_utils:utils",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]
subsystem_name = "ai"
part_name = "intelligent_voice_framework"
}