提交 5a8dd69b 编写于 作者: C code4lala

add ios select platform

Signed-off-by: Ncode4lala <fengziteng2@huawei.com>
Change-Id: Ib34b9b5d1bfa9edf4a312988ff9a5c9e1732cde8
上级 74b2809c
......@@ -28,10 +28,13 @@ if (current_cpu == "arm" && !(current_os == "linux" || host_os == "mac")) {
print("openssl selected linux-aarch64")
openssl_selected_platform = "linux-aarch64"
} else if ((current_cpu == "x64" || current_cpu == "x86_64") &&
current_os == "mac") {
(current_os == "mac" || current_os == "ios")) {
# compilation for ios depends the platform
print("openssl selected darwin64-x86_64-cc")
openssl_selected_platform = "darwin64-x86_64-cc"
} else if (current_cpu == "arm64" && current_os == "mac") {
} else if (current_cpu == "arm64" &&
(current_os == "mac" || current_os == "ios")) {
# ios and macos both use the platform
print("openssl selected darwin64-arm64-cc")
openssl_selected_platform = "darwin64-arm64-cc"
} else if ((current_cpu == "x64" || current_cpu == "x86_64") &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册