• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2020-2021 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/huks/build/config.gni")
15import("//test/xts/tools/lite/build/suite_lite.gni")
16
17hctest_suite("ActsSecurityDataTest") {
18  suite_name = "acts"
19  sources = [
20    "src/security_data_huks_dec_test.c",
21    "src/security_data_huks_enc_test.c",
22    "src/security_data_huks_export_hash_random_test.c",
23    "src/security_data_huks_gen_del_test.c",
24    "src/security_data_huks_sign_verify_test.c",
25  ]
26  if (disable_authenticate == true) {
27    defines = [ "_CUT_AUTHENTICATE_" ]
28  }
29  include_dirs = [
30    "src",
31    "//base/security/huks/interfaces/innerkits/huks_lite/",
32  ]
33  cflags = [ "-Wno-error" ]
34}
35