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.
13import("//build/ohos.gni")
14
15group("moduletest") {
16  testonly = true
17  deps = []
18
19  deps += [ "moduletest/common:moduletest" ]
20}
21
22group("unittest") {
23  testonly = true
24  deps = []
25  if (support_jsapi) {
26    deps += [
27      "unittest/common/napi:HiSysEventJsTest",
28      "unittest/common/permission:HiSysEventPermissionJsTest",
29      "//base/hiviewdfx/hisysevent/frameworks/native:unittest",
30    ]
31  }
32  if (!use_clang_coverage) {
33    deps += [ "unittest/rust:rust_hisysevent_test" ]
34  }
35}
36
37group("fuzztest") {
38  testonly = true
39  deps = [
40    "fuzztest/common/hisysevent_fuzzer:HiSysEventFuzzTest",
41    "fuzztest/common/hisyseventmanager_fuzzer:HiSysEventManagerFuzzTest",
42  ]
43}
44