[feat] add HarmonyOS mobile trusted device authentication

This commit is contained in:
dijunkun committed 2026-11-13 11:07:00 +08:00
1 parent 8a1e58d62d
commit dec9e445c4
9 files changed
+121 -3

No files matched your search

+3 -1
View File
@@ -5,13 +5,15 @@ add_rules("mode.release", "mode.debug")
set_policy("package.precompiled", false)
add_cxflags("-fPIC")
includes("../../../deps/submodules/minirtc")
add_requires("openssl3 3.3.2", {system = false, configs = {shared = false}})
target("crossdesk_harmony_mobile")
set_kind("shared")
set_default(false)
add_deps("minirtc")
add_packages("nlohmann_json", "libyuv")
add_packages("nlohmann_json", "libyuv", "openssl3")
add_files("mobile_session.cpp", "media.cpp", "audio.cpp", "../../../libs/wire/src/remote_action.cpp", "../../../libs/wire/src/file_transfer.cpp", "../../../libs/wire/src/app_version.cpp")
add_files("../../../libs/controller/src/mobile_device_trust.cpp")
-- Export only the bridge API; bundled static dependencies are internal.
add_cxflags("-fvisibility=hidden", "-fvisibility-inlines-hidden")
add_shflags("-Wl,--exclude-libs,ALL", {force = true})