BUILD.gn 1.2 KB
Newer Older
M
mamingshuai 已提交
1 2 3 4 5 6 7 8 9 10 11 12
# Copyright (c) 2020-2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
W
wenjun 已提交
13

M
mamingshuai 已提交
14
import("//test/xts/tools/lite/build/suite_lite.gni")
A
aaronwangjun 已提交
15
import("//base/security/huks/build/config.gni")
W
wenjun 已提交
16 17

hctest_suite("ActsSecurityDataTest") {
M
mamingshuai 已提交
18 19 20 21 22 23 24 25
  suite_name = "acts"
  sources = [
    "src/security_data_huks_dec_test.c",
    "src/security_data_huks_enc_test.c",
    "src/security_data_huks_export_hash_random_test.c",
    "src/security_data_huks_gen_del_test.c",
    "src/security_data_huks_sign_verify_test.c",
  ]
A
aaronwangjun 已提交
26 27 28
  if (disable_authenticate == true) {
      defines = [ "_CUT_AUTHENTICATE_" ]
  }
M
mamingshuai 已提交
29 30 31 32 33
  include_dirs = [
    "src",
    "//base/security/huks/interfaces/innerkits/huks_lite/",
  ]
  cflags = [ "-Wno-error" ]
W
wenjun 已提交
34
}