sasdk规范整改

Signed-off-by: 王毅 <wangyi201@huawei.com>
Change-Id: I5588f409a60e17b5d144faf5bd2e7b3971572452
This commit is contained in:
王毅 2024-10-24 09:29:19 +08:00
parent 9580d4ba56
commit e0815701b7
8 changed files with 7 additions and 8 deletions

View File

@ -17,18 +17,13 @@ import("//build/test.gni")
group("sg_classify_service_build_module") {
if (is_standard_system) {
deps = [
"${sg_root_dir}/frameworks/common/classify:libsg_classify_sdk",
"${sg_root_dir}/services/risk_classify:sg_classify_service",
]
deps = [ "${sg_root_dir}/services/risk_classify:sg_classify_service" ]
}
}
group("sg_collect_service_build_module") {
if (is_standard_system) {
deps = [
"${sg_root_dir}/frameworks/common/collect:libsg_collect_sdk",
"${sg_root_dir}/frameworks/common/data_collect_manager:libsg_data_collect_manager_sdk",
"${sg_root_dir}/services/data_collect:sg_collect_service",
"${sg_root_dir}/services/data_collect:sg_collect_service_database",
]

View File

@ -74,7 +74,11 @@
"//base/security/security_guard:security_guard_napi",
"//base/security/security_guard/sa_profile:security_collector_sa_profile_standard",
"//base/security/security_guard/sa_profile:security_collector.init",
"//base/security/security_guard:security_collector_service_build_module"
"//base/security/security_guard:security_collector_service_build_module",
"//base/security/security_guard/frameworks/common/classify:libsg_classify_sdk",
"//base/security/security_guard/frameworks/common/collect:libsg_collect_sdk",
"//base/security/security_guard/frameworks/common/collector:libsg_collector_sdk",
"//base/security/security_guard/frameworks/common/data_collect_manager:libsg_data_collect_manager_sdk"
],
"inner_kits": [
{

View File

@ -1414,7 +1414,7 @@ HWTEST_F(SecurityGuardDataCollectSaTest, ConfigUpdate03, TestSize.Level1)
HWTEST_F(SecurityGuardDataCollectSaTest, ConfigUpdate04, TestSize.Level1)
{
SecurityGuard::SecurityConfigUpdateInfo subscribeInfo(-1,
"local_app_attribute.json");
"security_guard_event.json");
sptr<MockRemoteObject> obj(new (std::nothrow) MockRemoteObject());
EXPECT_CALL(*(AccessToken::AccessTokenKit::GetInterface()), VerifyAccessToken)