1049e185fSopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
2049e185fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3049e185fSopenharmony_ci# you may not use this file except in compliance with the License.
4049e185fSopenharmony_ci# You may obtain a copy of the License at
5049e185fSopenharmony_ci#
6049e185fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0
7049e185fSopenharmony_ci#
8049e185fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9049e185fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10049e185fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11049e185fSopenharmony_ci# See the License for the specific language governing permissions and
12049e185fSopenharmony_ci# limitations under the License.
13049e185fSopenharmony_ci
14049e185fSopenharmony_ciimport(
15049e185fSopenharmony_ci    "//build/config/components/init/seccomp/scripts/seccomp_policy_fixer.gni")
16049e185fSopenharmony_ci
17049e185fSopenharmony_ciohos_prebuilt_seccomp("media_seccomp_filter") {
18049e185fSopenharmony_ci  sources = [ "media_service.seccomp.policy" ]
19049e185fSopenharmony_ci
20049e185fSopenharmony_ci  filtername = "media_service"
21049e185fSopenharmony_ci
22049e185fSopenharmony_ci  process_type = "system"
23049e185fSopenharmony_ci
24049e185fSopenharmony_ci  subsystem_name = "multimedia"
25049e185fSopenharmony_ci  part_name = "player_framework"
26049e185fSopenharmony_ci
27049e185fSopenharmony_ci  install_enable = true
28049e185fSopenharmony_ci  install_images = [ "system" ]
29049e185fSopenharmony_ci}
30