• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022-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
14declare_args() {
15  audio_framework_feature_dtmf_tone = true
16  audio_framework_feature_opensl_es = true
17  if (!defined(global_parts_info) ||
18      defined(global_parts_info.distributedhardware_distributed_audio)) {
19    audio_framework_feature_daudio_enable = true
20  } else {
21    audio_framework_feature_daudio_enable = false
22  }
23
24  if (!defined(global_parts_info) ||
25      defined(global_parts_info.hiviewdfx_hitrace)) {
26    audio_framework_feature_hitrace_enable = true
27  } else {
28    audio_framework_feature_hitrace_enable = false
29  }
30
31  if (!defined(global_parts_info) ||
32      defined(global_parts_info.customization_config_policy)) {
33    audio_framework_config_policy_enable = true
34  } else {
35    audio_framework_config_policy_enable = false
36  }
37
38  multimedia_audio_framework_pulse_audio = "//third_party/pulseaudio/include"
39
40  multimedia_audio_framework_pulse_audio_src = "//third_party/pulseaudio/src"
41
42  multimedia_audio_framework_drivers =
43      "//drivers/peripheral/audio/interfaces/include/"
44}
45
46third_party_path = "//third_party"
47