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") 16import("//build/test.gni") 17 18group("sg_classify_service_build_module") { 19 if (is_standard_system) { 20 deps = [ 21 "${sg_root_dir}/interfaces/inner_api/classify:libsg_classify_sdk", 22 "${sg_root_dir}/services/risk_classify:sg_classify_service", 23 ] 24 } 25} 26 27group("sg_collect_service_build_module") { 28 if (is_standard_system) { 29 deps = [ 30 "${sg_root_dir}/interfaces/inner_api/collect:libsg_collect_sdk", 31 "${sg_root_dir}/interfaces/inner_api/obtaindata:libsg_obtaindata_sdk", 32 "${sg_root_dir}/services/data_collect:sg_collect_service", 33 "${sg_root_dir}/services/data_collect:sg_collect_service_database", 34 ] 35 } 36} 37 38group("security_guard_napi") { 39 if (os_level == "standard") { 40 if (support_jsapi) { 41 deps = [ "${sg_root_dir}/frameworks/js/napi:securityguard_napi" ] 42 } 43 } 44} 45 46group("security_collector_service_build_module") { 47 if (is_standard_system) { 48 deps = [ 49 "${sg_root_dir}/services/security_collector:security_collector_service", 50 ] 51 } 52} 53