2 Star 0 Fork 0

yuzhenze/security_guard_sync

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.gn 4.09 KB
一键复制 编辑 原始数据 按行查看 历史
zhaoguojian 提交于 2024-05-23 19:41 . no message
# 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",
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yuzhenze9446/security_guard_sync.git
[email protected]:yuzhenze9446/security_guard_sync.git
yuzhenze9446
security_guard_sync
security_guard_sync
master

搜索帮助