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 "etc:media_service.cfg", 23 "services:media_service", 24 ] 25 if (multimedia_player_framework_support_seccomp) { 26 deps += [ "seccomp_policy:media_seccomp_filter" ] 27 } 28} 29 30ohos_prebuilt_etc("codec_caps") { 31 source = "etc/codec_caps.xml" 32 33 subsystem_name = "multimedia" 34 module_install_dir = "etc/codec" 35 part_name = "player_framework" 36} 37ohos_prebuilt_etc("recorder_configs") { 38 source = "etc/recorder_configs.xml" 39 40 subsystem_name = "multimedia" 41 module_install_dir = "etc/recorder" 42 part_name = "player_framework" 43} 44