diff --git a/distributeddatamgr/udmf/BUILD.gn b/distributeddatamgr/udmf/BUILD.gn index 9dc8f7a62f4e2104f99c6c9302dc0e4f7b010eed..ac3a410b84c369f4920ea8f25d84032a80537b60 100644 --- a/distributeddatamgr/udmf/BUILD.gn +++ b/distributeddatamgr/udmf/BUILD.gn @@ -33,10 +33,10 @@ ohos_ndk_library("libudmf") { ndk_description_file = "./libudmf.ndk.json" min_compact_version = "12" system_capability_headers = [ - "$ndk_headers_out_dir/database/udmf/udmf_err_code.h", - "$ndk_headers_out_dir/database/udmf/udmf_meta.h", - "$ndk_headers_out_dir/database/udmf/udmf.h", - "$ndk_headers_out_dir/database/udmf/uds.h", - "$ndk_headers_out_dir/database/udmf/utd.h", + "database/udmf/udmf_err_code.h", + "database/udmf/udmf_meta.h", + "database/udmf/udmf.h", + "database/udmf/uds.h", + "database/udmf/utd.h", ] } diff --git a/hiviewdfx/hiappevent/BUILD.gn b/hiviewdfx/hiappevent/BUILD.gn index 9a0c41b0c7f44e1835d9a8d8f3ba241db39e7d75..a8d1119717722a7a6c65b0ac520c5b52747c6425 100644 --- a/hiviewdfx/hiappevent/BUILD.gn +++ b/hiviewdfx/hiappevent/BUILD.gn @@ -18,6 +18,9 @@ ohos_ndk_library("libhiappevent_ndk") { ndk_description_file = "./libhiappevent.ndk.json" min_compact_version = "1" system_capability = "SystemCapability.HiviewDFX.HiAppEvent" + system_capability_headers = { + "hiappevent/hiappevent.h", +} } ohos_ndk_headers("libhiappevent_header") {