1# Copyright (C) 2022-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. 13 14group("crypto_framework_component") { 15 if (os_level == "standard") { 16 deps = [ 17 "frameworks:crypto_framework_lib", 18 "frameworks/js/napi/crypto:cryptoframework_napi", 19 "plugin:crypto_openssl_plugin_lib", 20 ] 21 } 22} 23 24group("crypto_framework_test") { 25 testonly = true 26 if (os_level == "standard") { 27 deps = [ "test/unittest:crypto_framework_test" ] 28 } 29} 30 31group("crypto_framework_fuzztest") { 32 testonly = true 33 deps = [] 34 if (os_level == "standard") { 35 deps += [ 36 "test/fuzztest/crypto_operation/hcfciphercreate_fuzzer:fuzztest", 37 "test/fuzztest/crypto_operation/hcfkeyagreementcreate_fuzzer:fuzztest", 38 "test/fuzztest/crypto_operation/hcfmaccreate_fuzzer:fuzztest", 39 "test/fuzztest/crypto_operation/hcfmdcreate_fuzzer:fuzztest", 40 "test/fuzztest/crypto_operation/hcfsigncreate_fuzzer:fuzztest", 41 "test/fuzztest/crypto_operation/hcfverifycreate_fuzzer:fuzztest", 42 "test/fuzztest/key/asykeygenerator_fuzzer:fuzztest", 43 "test/fuzztest/key/symkeygenerator_fuzzer:fuzztest", 44 "test/fuzztest/rand/hcfrandcreate_fuzzer:fuzztest", 45 ] 46 } 47} 48