• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 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
14import("//build/ohos.gni")
15import("//foundation/multimedia/player_framework/config.gni")
16import("./../../../multimedia_player_framework_aafwk.gni")
17
18ohos_shared_library("audio_ringtone_client") {
19  install_enable = true
20  sources = [ "audio_ringtone_manager.cpp" ]
21
22  include_dirs = [
23    "${multimedia_player_framework_path}/interfaces/inner_api/native/audio_ringtone/include",
24    "${multimedia_player_framework_path}/services/utils/include",
25    "${multimedia_audio_framework_path}/frameworks/native/ringtoneplayer/include",
26    "${multimedia_audio_framework_path}/services/audio_service/client/include",
27    "${multimedia_audio_framework_path}/interfaces/inner_api/native/audiocommon/include",
28    "${multimedia_audio_framework_path}/interfaces/inner_api/native/audiomanager/include",
29    "${multimedia_media_library_path}/interfaces/inner_api/media_library_helper/include",
30    "${multimedia_media_library_path}/frameworks/utils/include",
31  ]
32
33  deps = [ "./../../../interfaces/inner_api/native:media_client" ]
34
35  external_deps = [
36    "ability_base:want",
37    "ability_base:zuri",
38    "ability_runtime:ability_manager",
39    "ability_runtime:abilitykit_native",
40    "ability_runtime:appkit_native",
41    "ability_runtime:data_ability_helper",
42    "audio_framework:audio_client",
43    "bundle_framework:appexecfwk_base",
44    "graphic_2d:surface",
45    "hilog:libhilog",
46    "relational_store:native_dataability",
47    "relational_store:native_rdb",
48  ]
49
50  cflags = [
51    "-Wall",
52    "-Werror",
53  ]
54
55  defines = []
56  defines += player_framework_defines
57  innerapi_tags = [ "platformsdk" ]
58  subsystem_name = "multimedia"
59  part_name = "player_framework"
60}
61