mirror of
https://gitee.com/openharmony/communication_bluetooth_service
synced 2024-12-27 09:35:56 +00:00
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
# Copyright (C) 2021 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.
|
|
|
|
declare_args() {
|
|
bluetooth_service_a2dp_sink_feature = false
|
|
bluetooth_service_a2dp_source_feature = true
|
|
bluetooth_service_avrcp_ct_feature = true
|
|
bluetooth_service_avrcp_tg_feature = false
|
|
|
|
if ((defined(global_parts_info) &&
|
|
!defined(global_parts_info.telephony_call_manager)) ||
|
|
!defined(global_parts_info.telephony_core_service) ||
|
|
!defined(global_parts_info.telephony_state_registry)) {
|
|
bluetooth_service_hfp_ag_feature = false
|
|
} else {
|
|
bluetooth_service_hfp_ag_feature = true
|
|
}
|
|
|
|
bluetooth_service_hfp_hf_feature = false
|
|
bluetooth_service_hid_host_feature = true
|
|
bluetooth_service_pan_feature = false
|
|
}
|