1# Copyright (c) 2021-2023 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/hiviewdfx/faultloggerd/faultloggerd.gni") 15 16if (defined(ohos_lite)) { 17 import("//build/lite/config/test.gni") 18} else { 19 import("//build/test.gni") 20} 21 22group("faultloggerd_benchmarktest") { 23 if (!defined(ohos_lite)) { 24 testonly = true 25 } 26 deps = [ "benchmarktest:benchmarktest" ] 27} 28 29group("faultloggerd_moduletest") { 30 if (!defined(ohos_lite)) { 31 testonly = true 32 } 33 deps = [ "moduletest:moduletest" ] 34} 35 36group("faultloggerd_systemtest") { 37 if (!defined(ohos_lite)) { 38 testonly = true 39 } 40 deps = [ "systemtest:systemtest" ] 41} 42 43group("faultloggerd_funchook") { 44 if (!defined(ohos_lite)) { 45 testonly = true 46 } 47 deps = [ "funchook:dfxfunchook" ] 48} 49 50group("faultloggerd_fuzzertest") { 51 if (!defined(ohos_lite)) { 52 testonly = true 53 } 54 deps = [ "fuzztest:fuzztest" ] 55} 56 57group("faultloggerd_unittest") { 58 if (!defined(ohos_lite)) { 59 testonly = true 60 } 61 deps = [ "unittest:unittest" ] 62} 63