From 87810b76cea1fab4ceb61cc00be3e66b0ad3e1f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BC=9E=E6=9C=A8=E5=B8=8C=E7=BE=8E?= Date: Tue, 25 Oct 2022 02:12:24 +0000 Subject: [PATCH] update security/huks_napi_BasicTest/BUILD.gn. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 伞木希美 --- security/huks_napi_BasicTest/BUILD.gn | 128 +++++++++++++------------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/security/huks_napi_BasicTest/BUILD.gn b/security/huks_napi_BasicTest/BUILD.gn index c980dd78c..c456ecfc2 100644 --- a/security/huks_napi_BasicTest/BUILD.gn +++ b/security/huks_napi_BasicTest/BUILD.gn @@ -14,72 +14,72 @@ import("//base/security/huks/huks.gni") import("//test/xts/tools/build/suite.gni") -config("module_private_config"){ - visibility = [":*"] - include_dirs=[ - "//commonlibrary/c_utils/base/include", - "//third_party/bounds_checking_function/include", - "include", - ] +config("module_private_config") { + visibility = [ ":*" ] + include_dirs = [ + "//commonlibrary/c_utils/base/include", + "//third_party/bounds_checking_function/include", + "include", + ] } -ohos_moduletest_suite("ActsHuksNAPITest"){ - configs = [":module_private_config"] - cflags_cc = ["-DHILOG_ENABLE"] - defines = [ - "_STANDARD_SYSTEM_", - "CONFIG_HUKS_STAGED", - "_USE_OPENSSL_" - ] - subsystem_name = "security" - part_name = "huks" +ohos_moduletest_suite("ActsHuksNAPITest") { + configs = [ ":module_private_config" ] + cflags_cc = [ "-DHILOG_ENABLE" ] + defines = [ + "_STANDARD_SYSTEM_", + "CONFIG_HUKS_STAGED", + "_USE_OPENSSL_", + ] + subsystem_name = "security" + part_name = "huks" - sources=[ - "src/huks_agree_dh_test.cpp", - "src/huks_agree_ecdh_test.cpp", - "src/huks_agree_ecdh_test_common.cpp", - "src/huks_agree_x25519_test.cpp", - "src/huks_attest_test.cpp", - "src/huks_attest_test_common.cpp", - "src/huks_cipher_aes_test.cpp", - "src/huks_cipher_aes_test_common.cpp", - "src/huks_cipher_rsa_test.cpp", - "src/huks_cipher_rsa_test_common.cpp", - "src/huks_cipher_sm4_test.cpp", - "src/huks_cipher_sm4_test_common.cpp", - "src/huks_derive_hkdf_test.cpp", - "src/huks_derive_hkdf_test_common.cpp", - "src/huks_derive_pbkdf_test.cpp", - "src/huks_derive_pbkdf_test_common.cpp", - "src/huks_hmac_test.cpp", - "src/huks_mem.cpp", - "src/huks_misc_test.cpp", - "src/huks_nullptr_test.cpp", - "src/huks_signverify_dsa_test.cpp", - "src/huks_signverify_ecc_test.cpp", - "src/huks_signverify_ecc_test_common.cpp", - "src/huks_signverify_ed25519_test.cpp", - "src/huks_signverify_rsa_test.cpp", - "src/huks_signverify_rsa_test_common.cpp", - "src/huks_signverify_sm2_test.cpp", - "src/huks_three_stage_test_common.cpp", - "src/huks_warpped_test.cpp", - ] + sources = [ + "src/huks_agree_dh_test.cpp", + "src/huks_agree_ecdh_test.cpp", + "src/huks_agree_ecdh_test_common.cpp", + "src/huks_agree_x25519_test.cpp", + "src/huks_attest_test.cpp", + "src/huks_attest_test_common.cpp", + "src/huks_cipher_aes_test.cpp", + "src/huks_cipher_aes_test_common.cpp", + "src/huks_cipher_rsa_test.cpp", + "src/huks_cipher_rsa_test_common.cpp", + "src/huks_cipher_sm4_test.cpp", + "src/huks_cipher_sm4_test_common.cpp", + "src/huks_derive_hkdf_test.cpp", + "src/huks_derive_hkdf_test_common.cpp", + "src/huks_derive_pbkdf_test.cpp", + "src/huks_derive_pbkdf_test_common.cpp", + "src/huks_hmac_test.cpp", + "src/huks_mem.cpp", + "src/huks_misc_test.cpp", + "src/huks_nullptr_test.cpp", + "src/huks_signverify_dsa_test.cpp", + "src/huks_signverify_ecc_test.cpp", + "src/huks_signverify_ecc_test_common.cpp", + "src/huks_signverify_ed25519_test.cpp", + "src/huks_signverify_rsa_test.cpp", + "src/huks_signverify_rsa_test_common.cpp", + "src/huks_signverify_sm2_test.cpp", + "src/huks_three_stage_test_common.cpp", + "src/huks_warpped_test.cpp", + ] - include_dirs=[ - "//test/xts/acts/security/security_huks_basic/huks_napi_BasicTest/include", - "include", - "//base/security/huks/interfaces/kits/c/include", - "commonlibrary/c_utils/base/include" - ] + include_dirs = [ + "//test/xts/acts/security/security_huks_basic/huks_napi_BasicTest/include", + "include", + "//base/security/huks/interfaces/kits/c/include", + "commonlibrary/c_utils/base/include", + ] - external_deps = ["c_utils:utils"] - deps = [ - "//base/security/huks/frameworks/huks_standard/main:huks_standard_frameworks", - "//base/security/huks/frameworks/huks_standard/main/common:libhuks_common_standard_static", - "//base/security/huks/interfaces/innerkits/huks_standard/main:libhukssdk", - "//third_party/bounds_checking_function:libsec_static", - "//third_party/openssl:libcrypto_shared", - "//base/security/huks/interfaces/kits/c:huks_ndk", - ] -} \ No newline at end of file + external_deps = [ "c_utils:utils" ] + deps = [ + "//base/security/huks/frameworks/huks_standard/main:huks_standard_frameworks", + "//base/security/huks/frameworks/huks_standard/main/common:libhuks_common_standard_static", + "//base/security/huks/interfaces/innerkits/huks_standard/main:libhukssdk", + "//base/security/huks/interfaces/kits/c:huks_ndk", + "//third_party/bounds_checking_function:libsec_static", + "//third_party/openssl:libcrypto_shared", + ] +} -- GitLab