代码拉取完成,页面将自动刷新
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//base/security/security_guard/security_guard.gni")
import("//build/ohos.gni")
import("//build/test.gni")
group("sg_classify_service_build_module") {
if (is_standard_system) {
deps = [
"${sg_root_dir}/interfaces/inner_api/classify:libsg_classify_sdk",
"${sg_root_dir}/services/risk_classify:sg_classify_service",
"${sg_root_dir}/services/risk_classify/model_library:security_guard_model",
]
}
}
group("sg_collect_service_build_module") {
if (is_standard_system) {
deps = [
"${sg_root_dir}/interfaces/inner_api/collect:libsg_collect_sdk",
"${sg_root_dir}/interfaces/inner_api/obtaindata:libsg_obtaindata_sdk",
"${sg_root_dir}/services/data_collect:sg_collect_service",
"${sg_root_dir}/services/data_collect:sg_collect_service_database",
]
}
}
group("security_guard_build_module_test") {
testonly = true
deps = []
if (is_standard_system) {
deps += [
"${sg_root_dir}/interfaces/inner_api/classify/test:unittest",
"${sg_root_dir}/interfaces/inner_api/collect/test:unittest",
"${sg_root_dir}/interfaces/inner_api/obtaindata/test:unittest",
]
}
}
group("security_guard_fuzz_test") {
testonly = true
deps = []
if (is_standard_system) {
deps += [
"${sg_root_dir}/test/fuzztest/classify:fuzztest",
"${sg_root_dir}/test/fuzztest/collect:fuzztest",
"${sg_root_dir}/test/fuzztest/obtaindata:fuzztest",
"${sg_root_dir}/test/fuzztest/ipc:fuzztest",
]
}
}
group("security_guard_napi") {
if (os_level == "standard") {
if (support_jsapi) {
deps = [ "${sg_root_dir}/frameworks/js/napi:securityguard_napi" ]
}
}
}
group("security_collector_service_build_module") {
if (is_standard_system) {
deps = [
"${sg_root_dir}/services/security_collector:security_collector_service",
]
}
}
group("collector_kernel_monitor_module") {
if (is_standard_system) {
deps = [
"${sg_root_dir}/services/collectors/kernel_monitor:kernel_monitor",
]
}
}
group("real_time_detect_service_build_module") {
if (is_standard_system) {
deps = [
"${sg_root_dir}/services/real_time_detect:real_time_detect_service",
]
}
}
group("collector_dns_event_module") {
if (is_standard_system) {
deps = [
"${sg_root_dir}/services/collectors/dns_event:dns_event",
]
}
}
group("security_collector_seccomp_filter_module") {
if (is_standard_system && build_seccomp) {
deps = [ "${sg_root_dir}/seccomp_policy:security_collector_seccomp_filter" ]
}
}
group("kernel_collector_build_module") {
if (is_standard_system) {
deps = [
"${sg_root_dir}/services/kernel_collector:kernel_collector_sg",
]
}
}
group("security_guard_unit_test") {
testonly = true
if (is_standard_system) {
deps = [
"${sg_root_dir}/test/unittest/data_collect:data_collect_test",
"${sg_root_dir}/test/unittest/collectors:collectors_test",
"${sg_root_dir}/test/unittest/security_collector:security_collector_test",
"${sg_root_dir}/test/unittest/security_collector:unittest",
"${sg_root_dir}/test/unittest/config_manager:unittest",
"${sg_root_dir}/test/unittest/data_collect:unittest",
"${sg_root_dir}/test/unittest/model_manager:unittest",
"${sg_root_dir}/test/unittest/risk_classify:unittest",
"${sg_root_dir}/test/unittest/risk_collect:unittest",
"${sg_root_dir}/test/unittest/kernel_collector:unittest",
]
}
}
group("safety_detect_napi") {
if (is_standard_system) {
deps = [
"${sg_root_dir}/safety_detect:safetydetect_napi",
]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。