• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2022 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")
15
16ohos_shared_library("pulse_audio_service_adapter") {
17  install_enable = true
18  sources = [ "//foundation/multimedia/audio_standard/frameworks/native/audioadapter/src/pulse_audio_service_adapter_impl.cpp" ]
19  cflags = [ "-fPIC" ]
20  cflags += [ "-Wall" ]
21  cflags_cc = cflags
22
23  include_dirs = [
24    "//foundation/multimedia/audio_standard/frameworks/native/audioadapter/include",
25    "//foundation/multimedia/audio_standard/frameworks/native/pulseaudio/include",
26    "//foundation/multimedia/audio_standard/interfaces/inner_api/native/audiocommon/include",
27    "//third_party/libxml2/include",
28    "//third_party/pulseaudio/src",
29    "//third_party/pulseaudio/confgure/src",
30    "//third_party/pulseaudio/include",
31    "//utils/native/base/include",
32  ]
33
34  public_configs = [ ":audio_external_library_config" ]
35
36  deps = [
37    "//foundation/multimedia/audio_standard/frameworks/native/pulseaudio/src/pulse:pulse",
38    "//third_party/libxml2:xml2",
39    "//utils/native/base:utils",
40  ]
41
42  external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
43  part_name = "multimedia_audio_standard"
44  subsystem_name = "multimedia"
45}
46
47config("audio_external_library_config") {
48  include_dirs = [ "//foundation/multimedia/audio_standard/interfaces/inner_api/native/audiocommon/include" ]
49}
50