diff --git a/interfaces/kits/packages/BUILD.gn b/interfaces/kits/packages/BUILD.gn index 79f3332259035d2ae51b2491e2ee2fffbaacfa28..df5576dd54bfeb9a556a1c96fec8b17e91d46296 100755 --- a/interfaces/kits/packages/BUILD.gn +++ b/interfaces/kits/packages/BUILD.gn @@ -79,6 +79,7 @@ ohos_static_library("libpackageExt") { "bounds_checking_function:libsec_static", "lz4:liblz4_static", "openssl:libcrypto_static", + "openssl:libssl_static", ] subsystem_name = "updater" part_name = "updater" diff --git a/services/flow_update/update_bin/BUILD.gn b/services/flow_update/update_bin/BUILD.gn index 83e3d6df06c77ba6f63f54c1d2ef0b610ecc16f4..070123b1dc5e489e35b5450a4171e61e5a6ad294 100644 --- a/services/flow_update/update_bin/BUILD.gn +++ b/services/flow_update/update_bin/BUILD.gn @@ -15,6 +15,12 @@ import("//base/update/updater/updater_default_cfg.gni") import("//build/ohos.gni") updater_path = rebase_path("${updater_absolutely_path}", ".") + +config("libprocess_exported_headers") { + visibility = [ ":*" ] + include_dirs = [ "${updater_path}/services/flow_update" ] +} + ohos_static_library("libBinFlowUpdate") { sources = [ "bin_flow_update.cpp", @@ -38,6 +44,8 @@ ohos_static_library("libBinFlowUpdate") { "${updater_path}/services/script", "${updater_path}/utils/include", ] + + public_configs = [ ":libprocess_exported_headers" ] deps = [ "${updater_path}/interfaces/kits/packages:libpackageExt", "${updater_path}/services/applypatch:libapplypatch", diff --git a/services/package/BUILD.gn b/services/package/BUILD.gn index e77a4707ab85a62895dbbf59135e132e172fac63..1acddbbc1c6e612a9e5f40004c15c62375a21ddd 100644 --- a/services/package/BUILD.gn +++ b/services/package/BUILD.gn @@ -47,8 +47,10 @@ config("libupdaterpackage_exported_headers") { "${updater_path}/services/include/package", "${updater_path}/services/include", "${updater_path}/services/package", + "${updater_path}/services/package/pkg_algorithm", "${updater_path}/services/package/pkg_manager", "${updater_path}/services/package/pkg_verify", + "${updater_path}/services/package/pkg_package", "${updater_path}/services/include/script", "${updater_path}/interfaces/kits/include", ]