16ea96550Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
26ea96550Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
36ea96550Sopenharmony_ci# you may not use this file except in compliance with the License.
46ea96550Sopenharmony_ci# You may obtain a copy of the License at
56ea96550Sopenharmony_ci#
66ea96550Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
76ea96550Sopenharmony_ci#
86ea96550Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
96ea96550Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
106ea96550Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
116ea96550Sopenharmony_ci# See the License for the specific language governing permissions and
126ea96550Sopenharmony_ci# limitations under the License.
136ea96550Sopenharmony_ci
146ea96550Sopenharmony_ciimport("//build/ohos.gni")
156ea96550Sopenharmony_ciimport("//build/ohos/sa_profile/sa_profile.gni")
166ea96550Sopenharmony_ci
176ea96550Sopenharmony_ciohos_sa_profile("sg_sa_profile_standard") {
186ea96550Sopenharmony_ci  sources = [
196ea96550Sopenharmony_ci    "3523.json",
206ea96550Sopenharmony_ci    "3524.json",
216ea96550Sopenharmony_ci    "3526.json",
226ea96550Sopenharmony_ci  ]
236ea96550Sopenharmony_ci  part_name = "security_guard"
246ea96550Sopenharmony_ci}
256ea96550Sopenharmony_ci
266ea96550Sopenharmony_ciohos_prebuilt_etc("security_guard.init") {
276ea96550Sopenharmony_ci  source = "security_guard.cfg"
286ea96550Sopenharmony_ci  relative_install_dir = "init"
296ea96550Sopenharmony_ci  subsystem_name = "security"
306ea96550Sopenharmony_ci  part_name = "security_guard"
316ea96550Sopenharmony_ci}
326ea96550Sopenharmony_ci
336ea96550Sopenharmony_ciohos_sa_profile("security_collector_sa_profile_standard") {
346ea96550Sopenharmony_ci  sources = [ "3525.json" ]
356ea96550Sopenharmony_ci  part_name = "security_guard"
366ea96550Sopenharmony_ci}
376ea96550Sopenharmony_ci
386ea96550Sopenharmony_ciohos_prebuilt_etc("security_collector.init") {
396ea96550Sopenharmony_ci  source = "security_collector.cfg"
406ea96550Sopenharmony_ci  relative_install_dir = "init"
416ea96550Sopenharmony_ci  subsystem_name = "security"
426ea96550Sopenharmony_ci  part_name = "security_guard"
436ea96550Sopenharmony_ci}
44