mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-23 06:39:54 +00:00
算法库NDK支持头文件kit化
Signed-off-by: lanming <lanming@huawei.com>
This commit is contained in:
parent
7c06c1ffb1
commit
d003efb951
@ -17,6 +17,7 @@ import("//build/ohos/ndk/ndk.gni")
|
|||||||
ohos_ndk_headers("crypto_capi_header") {
|
ohos_ndk_headers("crypto_capi_header") {
|
||||||
dest_dir = "$ndk_headers_out_dir/CryptoArchitectureKit"
|
dest_dir = "$ndk_headers_out_dir/CryptoArchitectureKit"
|
||||||
sources = [
|
sources = [
|
||||||
|
"./crypto_architecture_kit.h",
|
||||||
"./crypto_asym_key.h",
|
"./crypto_asym_key.h",
|
||||||
"./crypto_common.h",
|
"./crypto_common.h",
|
||||||
"./crypto_digest.h",
|
"./crypto_digest.h",
|
||||||
@ -32,6 +33,7 @@ ohos_ndk_library("libohcrypto") {
|
|||||||
ndk_description_file = "./libcrypto.ndk.json"
|
ndk_description_file = "./libcrypto.ndk.json"
|
||||||
system_capability = "SystemCapability.Security.CryptoFramework"
|
system_capability = "SystemCapability.Security.CryptoFramework"
|
||||||
system_capability_headers = [
|
system_capability_headers = [
|
||||||
|
"CryptoArchitectureKit/crypto_architecture_kit.h",
|
||||||
"CryptoArchitectureKit/crypto_asym_key.h",
|
"CryptoArchitectureKit/crypto_asym_key.h",
|
||||||
"CryptoArchitectureKit/crypto_common.h",
|
"CryptoArchitectureKit/crypto_common.h",
|
||||||
"CryptoArchitectureKit/crypto_digest.h",
|
"CryptoArchitectureKit/crypto_digest.h",
|
||||||
|
@ -37,8 +37,8 @@
|
|||||||
#ifndef CRYPTO_ARCHITECTURE_KIT_H
|
#ifndef CRYPTO_ARCHITECTURE_KIT_H
|
||||||
#define CRYPTO_ARCHITECTURE_KIT_H
|
#define CRYPTO_ARCHITECTURE_KIT_H
|
||||||
|
|
||||||
#include "crypto_asym_key.h"
|
|
||||||
#include "crypto_common.h"
|
#include "crypto_common.h"
|
||||||
|
#include "crypto_asym_key.h"
|
||||||
#include "crypto_digest.h"
|
#include "crypto_digest.h"
|
||||||
#include "crypto_signature.h"
|
#include "crypto_signature.h"
|
||||||
#include "crypto_sym_cipher.h"
|
#include "crypto_sym_cipher.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user