122736c2fSopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd. 222736c2fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 322736c2fSopenharmony_ci# you may not use this file except in compliance with the License. 422736c2fSopenharmony_ci# You may obtain a copy of the License at 522736c2fSopenharmony_ci# 622736c2fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 722736c2fSopenharmony_ci# 822736c2fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 922736c2fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1022736c2fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1122736c2fSopenharmony_ci# See the License for the specific language governing permissions and 1222736c2fSopenharmony_ci# limitations under the License. 1322736c2fSopenharmony_ciimport("//base/inputmethod/imf/inputmethod.gni") 1422736c2fSopenharmony_ciimport( 1522736c2fSopenharmony_ci "${startup_init_path}/services/modules/seccomp/scripts/seccomp_policy_fixer.gni") 1622736c2fSopenharmony_ci 1722736c2fSopenharmony_ciohos_prebuilt_seccomp("imf_ext_secure_filter") { 1822736c2fSopenharmony_ci sources = [ "imf_ext_secure_mode.seccomp.policy" ] 1922736c2fSopenharmony_ci 2022736c2fSopenharmony_ci filtername = "imf_secure_mode" 2122736c2fSopenharmony_ci 2222736c2fSopenharmony_ci process_type = "app" 2322736c2fSopenharmony_ci 2422736c2fSopenharmony_ci subsystem_name = "inputmethod" 2522736c2fSopenharmony_ci part_name = "imf" 2622736c2fSopenharmony_ci 2722736c2fSopenharmony_ci install_enable = true 2822736c2fSopenharmony_ci install_images = [ "system" ] 2922736c2fSopenharmony_ci} 30