1# Copyright (c) 2023 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/ohos.gni") 15import("../intell_voice_service.gni") 16 17ohos_shared_library("intell_voice_proxy") { 18 sources = [ 19 "intell_voice_engine/proxy/engine_callback_inner.cpp", 20 "intell_voice_engine/proxy/intell_voice_engine_callback_stub.cpp", 21 "intell_voice_engine/proxy/intell_voice_engine_proxy.cpp", 22 "intell_voice_engine/proxy/intell_voice_service_proxy.cpp", 23 "intell_voice_engine/proxy/intell_voice_update_callback_stub.cpp", 24 "intell_voice_engine/proxy/update_callback_inner.cpp", 25 ] 26 27 include_dirs = [ 28 "intell_voice_service/inc", 29 "intell_voice_engine/proxy", 30 "../utils", 31 ] 32 33 cflags_cc = [ 34 "-Wno-error=unused-parameter", 35 "-DHILOG_ENABLE", 36 "-DENABLE_DEBUG", 37 ] 38 39 external_deps = [ 40 "c_utils:utils", 41 "drivers_interface_intelligent_voice:libintell_voice_engine_proxy_1.0", 42 "drivers_interface_intelligent_voice:libintell_voice_engine_proxy_1.1", 43 "drivers_interface_intelligent_voice:libintell_voice_engine_proxy_1.2", 44 "hdf_core:libhdf_ipc_adapter", 45 "hdf_core:libhdf_utils", 46 "hdf_core:libhdi", 47 "hilog:libhilog", 48 "ipc:ipc_core", 49 "safwk:system_ability_fwk", 50 "samgr:samgr_proxy", 51 ] 52 53 innerapi_tags = [ "platformsdk" ] 54 subsystem_name = "ai" 55 part_name = "intelligent_voice_framework" 56} 57