• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 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("crypto_framework_lib") {
15  if (os_level == "standard") {
16    deps =
17        [ "//base/security/crypto_framework/frameworks:crypto_framework_lib" ]
18  }
19}
20
21group("crypto_openssl_plugin_lib") {
22  if (os_level == "standard") {
23    deps =
24        [ "//base/security/crypto_framework/plugin:crypto_openssl_plugin_lib" ]
25  }
26}
27
28group("cryptoframework_napi") {
29  if (os_level == "standard") {
30    deps = [
31      "//base/security/crypto_framework/frameworks/js/napi/certificate:cert_napi",
32      "//base/security/crypto_framework/frameworks/js/napi/crypto:cryptoframework_napi",
33    ]
34  }
35}
36
37group("crypto_framework_test") {
38  testonly = true
39  if (os_level == "standard") {
40    deps = [
41      "//base/security/crypto_framework/test/unittest:crypto_framework_test",
42    ]
43  }
44}
45
46group("crypto_framework_fuzztest") {
47  testonly = true
48  deps = []
49  if (os_level == "standard") {
50    deps += [
51      "test/fuzztest/certificate/x509certificate_fuzzer:fuzztest",
52      "test/fuzztest/certificate/x509crl_fuzzer:fuzztest",
53      "test/fuzztest/crypto_operation/hcfciphercreate_fuzzer:fuzztest",
54      "test/fuzztest/crypto_operation/hcfkeyagreementcreate_fuzzer:fuzztest",
55      "test/fuzztest/crypto_operation/hcfmaccreate_fuzzer:fuzztest",
56      "test/fuzztest/crypto_operation/hcfmdcreate_fuzzer:fuzztest",
57      "test/fuzztest/crypto_operation/hcfsigncreate_fuzzer:fuzztest",
58      "test/fuzztest/crypto_operation/hcfverifycreate_fuzzer:fuzztest",
59      "test/fuzztest/key/asykeygenerator_fuzzer:fuzztest",
60      "test/fuzztest/key/symkeygenerator_fuzzer:fuzztest",
61      "test/fuzztest/rand/hcfrandcreate_fuzzer:fuzztest",
62    ]
63  }
64}
65