• 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.
13if ("${product_name}" == "ohcore") {
14  audio_gateway_path = "//foundation/multimedia/audio_framework"
15  audio_gateway_include_dirs =
16      [ "${audio_gateway_path}/frameworks/native/audiocompatibility/include" ]
17  audio_renderer_gateway_sources = [
18    "${audio_gateway_path}/frameworks/native/audiocompatibility/src/audio_container_base.cpp",
19    "${audio_gateway_path}/frameworks/native/audiocompatibility/src/audio_container_client_base.cpp",
20    "${audio_gateway_path}/frameworks/native/audiocompatibility/src/audio_container_stream_base.cpp",
21    "${audio_gateway_path}/frameworks/native/audiocompatibility/src/audio_renderer_gateway.cpp",
22    "${audio_gateway_path}/frameworks/native/audiocompatibility/src/audio_renderer_write_callback_stub.cpp",
23  ]
24  audio_renderer_gateway_deps = [ "${audio_gateway_path}/frameworks/native/audiocompatibility:audio_renderer_gateway" ]
25
26  audio_capturer_gateway_sources = [
27    "${audio_gateway_path}/frameworks/native/audiocompatibility/src/audio_capturer_gateway.cpp",
28    "${audio_gateway_path}/frameworks/native/audiocompatibility/src/audio_container_base.cpp",
29    "${audio_gateway_path}/frameworks/native/audiocompatibility/src/audio_container_client_base.cpp",
30    "${audio_gateway_path}/frameworks/native/audiocompatibility/src/audio_container_stream_base.cpp",
31    "${audio_gateway_path}/frameworks/native/audiocompatibility/src/audio_renderer_write_callback_stub.cpp",
32  ]
33  audio_capturer_gateway_deps = [ "${audio_gateway_path}/frameworks/native/audiocompatibility:audio_capturer_gateway" ]
34} else {
35  audio_gateway_include_dirs = []
36  audio_renderer_gateway_sources = []
37  audio_renderer_gateway_deps = []
38
39  audio_capturer_gateway_sources = []
40  audio_capturer_gateway_deps = []
41}
42