1# Copyright (c) 2021-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
14group("testcase_packages") {
15  testonly = true
16  if (os_level == "standard") {
17    deps = [
18      "//base/security/appverify/interfaces/innerkits/appverify/test:unittest",
19    ]
20  } else if (os_level == "small") {
21    deps = [ "//base/security/appverify/interfaces/innerkits/appverify_lite/unittest:unittest" ]
22  }
23}
24
25group("appverify_components") {
26  if (os_level == "standard") {
27    deps = [
28      "//base/security/appverify/interfaces/innerkits/appverify:libhapverify",
29      "//base/security/appverify/interfaces/innerkits/appverify/config:trusted_apps_sources",
30      "//base/security/appverify/interfaces/innerkits/appverify/config:trusted_apps_sources_test",
31      "//base/security/appverify/interfaces/innerkits/appverify/config:trusted_root_ca",
32      "//base/security/appverify/interfaces/innerkits/appverify/config:trusted_root_ca_test",
33      "//base/security/appverify/interfaces/innerkits/appverify/config:trusted_tickets_sources",
34    ]
35  } else {
36    if (ohos_kernel_type != "liteos_m") {
37      deps = [
38        "//base/security/appverify/interfaces/innerkits/appverify_lite:verify",
39      ]
40    }
41  }
42}
43