• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 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")
15import("//build/ohos_var.gni")
16import("../../../distributedaudio.gni")
17
18ohos_shared_library("distributed_audio_transport_status") {
19  include_dirs = [
20    "${fwk_common_path}/utils/include",
21    "${mediastandard_path}/interfaces/innerkits/native/media/include",
22    "${mediastandardfwk_path}/audiocommon/include",
23    "//third_party/json/include",
24  ]
25
26  include_dirs += [
27    "include",
28    "interface",
29    "${common_path}/include",
30    "${audio_processor_path}/decoder/include",
31    "${audio_processor_path}/decodeprocessor/include",
32    "${audio_processor_path}/interface",
33    "${audio_transport_path}/audiochannel/interface",
34    "${audio_transport_path}/audiochannel/audiodatachannel/include",
35    "${audio_transport_path}/audiotransportstatus/include",
36    "${audio_transport_path}/audiotransportstatus/interface",
37    "${audio_transport_path}/audiotransportstatus/interface",
38    "${services_path}/common/audioparam",
39    "${services_path}/common/audiodata/include",
40  ]
41
42  sources = [
43    "${audio_transport_path}/audiotransportstatus/src/audio_transport_context.cpp",
44    "${audio_transport_path}/audiotransportstatus/src/audio_transport_pause_status.cpp",
45    "${audio_transport_path}/audiotransportstatus/src/audio_transport_start_status.cpp",
46    "${audio_transport_path}/audiotransportstatus/src/audio_transport_status_factory.cpp",
47    "${audio_transport_path}/audiotransportstatus/src/audio_transport_stop_status.cpp",
48  ]
49
50  deps = [
51    "${audio_transport_path}/audiochannel/audiodatachannel:distributed_audio_data_channel",
52    "${services_path}/common:distributed_audio_utils",
53  ]
54
55  external_deps = [
56    "c_utils:utils",
57    "dsoftbus:softbus_client",
58    "hisysevent:libhisysevent",
59    "hitrace:hitrace_meter",
60    "player_framework:media_client",
61  ]
62
63  defines = [
64    "HI_LOG_ENABLE",
65    "LOG_DOMAIN=0xD004100",
66  ]
67
68  subsystem_name = "distributedhardware"
69
70  part_name = "distributed_audio"
71}
72