From 180b1e40010ace0b8142b9d217815a20ea283235 Mon Sep 17 00:00:00 2001 From: code4lala Date: Tue, 23 May 2023 19:16:30 +0800 Subject: [PATCH] fixed 04868d2 from https://gitee.com/lixingchi1/third_party_openssl/pulls/108 build openssl for cpu->arm,os->android cpu->arm64,os->android Signed-off-by: code4lala --- BUILD.gn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index f97df9b57c..52a3053d72 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -44,6 +44,12 @@ if (current_cpu == "arm" && !(current_os == "linux" || host_os == "mac")) { } else if (is_mingw) { print("openssl selected mingw64") openssl_selected_platform = "mingw64" +} else if (current_cpu == "arm" && current_os == "android") { + print("openssl selected linux-armv4") + openssl_selected_platform = "linux-armv4" +} else if (current_cpu == "arm64" && current_os == "android") { + print("openssl selected linux-aarch64") + openssl_selected_platform = "linux-aarch64" } print( "openssl detecting os done. openssl_selected_platform = ${openssl_selected_platform}") -- GitLab