1# Copyright (c) 2024 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("//build/ohos/sa_profile/sa_profile.gni") 15import("soc_perf.gni") 16 17group("base_group_soc_perf_all") { 18 if (soc_perf_device_enable) { 19 deps = [ "${socperf_path}/profile:socperf_config" ] 20 } 21} 22 23group("fwk_group_socperf_client_all") { 24 if (soc_perf_device_enable) { 25 deps = [ "${socperf_interfaces}/inner_api/socperf_client:socperf_client" ] 26 } 27} 28 29group("service_group_soc_perf_all") { 30 if (soc_perf_device_enable) { 31 deps = [ 32 "${socperf_path}/sa_profile:socperf_sa_profile", 33 "${socperf_services}:socperf_server", 34 ] 35 } 36} 37 38group("test_soc_perf_all") { 39 testonly = true 40 if (soc_perf_device_enable) { 41 deps = [ 42 "${socperf_test}/fuzztest:fuzztest", 43 "${socperf_test}/testutil:socperf_test", 44 "${socperf_test}/unittest:unittest", 45 ] 46 } 47} 48