1# Copyright (c) 2022 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("//base/security/security_guard/security_guard.gni")
15import("//build/ohos.gni")
16
17ohos_prebuilt_etc("security_guard_cfg") {
18  source = "hos/security_guard.cfg"
19  module_install_dir = ""
20
21  subsystem_name = "security"
22  part_name = "security_guard"
23}
24
25ohos_prebuilt_etc("security_guard_model_cfg") {
26  source = security_guard_model_file_source
27  module_install_dir = ""
28
29  subsystem_name = "security"
30  part_name = "security_guard"
31}
32
33ohos_prebuilt_etc("security_guard_event_cfg") {
34  source = security_guard_event_file_source
35  module_install_dir = ""
36
37  subsystem_name = "security"
38  part_name = "security_guard"
39}
40
41ohos_prebuilt_etc("security_audit_cfg") {
42  source = "hos/security_audit.cfg"
43  module_install_dir = ""
44
45  subsystem_name = "security"
46  part_name = "security_guard"
47}
48
49ohos_prebuilt_etc("config_update_trust_list_cfg") {
50  source = "hos/config_update_trust_list.json"
51  module_install_dir = ""
52
53  subsystem_name = "security"
54  part_name = "security_guard"
55}
56