代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/distributed-build 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 536f71e3670ad6c821b980f6336c614dcf693d3e Mon Sep 17 00:00:00 2001
From: zxstty <zhaojiaqi18@huawei.com>
Date: Wed, 8 Nov 2023 18:36:59 +0800
Subject: [PATCH] add openssl
---
.../compiler_gn/third_party/openssl/BUILD.gn | 39 +++++++++++++++++++
.../third_party/openssl/include/openssl | 1 +
2 files changed, 40 insertions(+)
create mode 100644 openeuler/compiler_gn/third_party/openssl/BUILD.gn
create mode 120000 openeuler/compiler_gn/third_party/openssl/include/openssl
diff --git a/openeuler/compiler_gn/third_party/openssl/BUILD.gn b/openeuler/compiler_gn/third_party/openssl/BUILD.gn
new file mode 100644
index 0000000..7b953eb
--- /dev/null
+++ b/openeuler/compiler_gn/third_party/openssl/BUILD.gn
@@ -0,0 +1,39 @@
+# Copyright (c) 2020-2022 Huawei Device Co., Ltd.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+import("//build/ohos.gni")
+
+# Only use this to set/unset some cflags, use "platform" variable in gn template to add
+# source code for Windows.
+
+config("libcrypto_config") {
+ include_dirs = [ "/usr/include/openssl" ]
+ libs = [ "crypto" ]
+}
+
+group("libcrypto_static") {
+ public_configs = [ ":libcrypto_config" ]
+}
+
+group("libcrypto_shared") {
+ public_configs = [ ":libcrypto_config" ]
+}
+
+config("libssl_config") {
+ include_dirs = [ "/usr/include/openssl" ]
+ libs = [ "ssl" ]
+}
+
+group("libssl_shared") {
+ public_configs = [ ":libssl_config" ]
+}
diff --git a/openeuler/compiler_gn/third_party/openssl/include/openssl b/openeuler/compiler_gn/third_party/openssl/include/openssl
new file mode 120000
index 0000000..6c29d44
--- /dev/null
+++ b/openeuler/compiler_gn/third_party/openssl/include/openssl
@@ -0,0 +1 @@
+/usr/include/openssl
\ No newline at end of file
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。