• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2021 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")
16
17group("media_services_package") {
18  deps = [
19    ":codec_caps",
20    ":recorder_configs",
21    "engine:media_engine_package",
22    "services:media_service",
23  ]
24  if (player_framework_support_seccomp) {
25    deps += [ "seccomp_policy:media_seccomp_filter" ]
26  }
27  if (player_framework_support_screen_capture_controller) {
28    deps += [
29      "etc:screen_capture_capsule_image",
30      "etc:screen_capture_capsule_stop_image",
31      "etc:screen_capture_mic_image",
32      "etc:screen_capture_mic_off_image",
33      "etc:screen_capture_notification_image",
34      "etc:screen_capture_stop_dark_image",
35      "etc:screen_capture_stop_image",
36      "etc:screen_capture_capsule_stop_live2_image",
37      "etc:screen_capture_light_image",
38    ]
39  }
40  if (player_framework_support_screen_capture) {
41    deps += [
42      "etc:screencapture_config",
43      "etc:screencapture_config_dac",
44    ]
45  }
46}
47
48ohos_prebuilt_etc("codec_caps") {
49  source = "etc/codec_caps.xml"
50
51  subsystem_name = "multimedia"
52  module_install_dir = "etc/codec"
53  part_name = "player_framework"
54}
55ohos_prebuilt_etc("recorder_configs") {
56  source = "etc/recorder_configs.xml"
57
58  subsystem_name = "multimedia"
59  module_install_dir = "etc/recorder"
60  part_name = "player_framework"
61}
62