1 Star 0 Fork 12

yukai/dsoftbus

forked from src-openEuler/dsoftbus 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
security-device-auth-0003-simplify-dependency-on-third-party-packages.patch 2.25 KB
一键复制 编辑 原始数据 按行查看 历史
beiling.xie 提交于 2022-12-16 17:43 . rename patch for each modules
From 382ff16702df5f06b96a76abd2b542ab00650487 Mon Sep 17 00:00:00 2001
From: "beiling.xie" <[email protected]>
Date: Thu, 10 Nov 2022 14:34:05 +0800
Subject: [PATCH] simplify dependency on third-party packages
Signed-off-by: beiling.xie <[email protected]>
---
deps_adapter/BUILD.gn | 4 ++--
services/BUILD.gn | 23 +++++++++--------------
2 files changed, 11 insertions(+), 16 deletions(-)
diff --git a/deps_adapter/BUILD.gn b/deps_adapter/BUILD.gn
index 906b8ca..722d974 100644
--- a/deps_adapter/BUILD.gn
+++ b/deps_adapter/BUILD.gn
@@ -120,10 +120,10 @@ if (defined(ohos_lite)) {
"//base/security/huks/interfaces/innerkits/huks_standard/main:libhukssdk",
"//depend:syspara",
"//third_party/cJSON:cjson_static",
- "//third_party/openssl:libcrypto_static",
"//utils/native/base:utils",
"//third_party/bounds_checking_function:libsec_shared",
]
- external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
+ deps += [ "//depend:libhilog" ]
+ libs = [ "crypto" ]
}
}
diff --git a/services/BUILD.gn b/services/BUILD.gn
index ce6e24b..0c37820 100644
--- a/services/BUILD.gn
+++ b/services/BUILD.gn
@@ -167,9 +167,9 @@ if (defined(ohos_lite)) {
"//foundation/communication/dsoftbus/sdk:softbus_client"
]
- external_deps = [
- "hiviewdfx_hilog_native:libhilog",
- "ipc:ipc_core",
+ deps += [
+ "//depend:libhilog",
+ "//depend/ipc:ipc_core",
]
if (support_jsapi) {
external_deps += [ "os_account_standard:os_account_innerkits" ]
@@ -217,12 +217,9 @@ if (defined(ohos_lite)) {
"//utils/native/base:utils",
]
- external_deps = [
- "access_token:libaccesstoken_sdk",
- "hiviewdfx_hilog_native:libhilog",
- "ipc:ipc_core",
- "safwk:system_ability_fwk",
- "samgr_standard:samgr_proxy",
+ deps += [
+ "//depend:libhilog",
+ "//depend/ipc:ipc_core",
]
}
@@ -268,11 +265,9 @@ if (defined(ohos_lite)) {
"//third_party/cJSON:cjson_static",
]
- external_deps = [
- "access_token:libaccesstoken_sdk",
- "hiviewdfx_hilog_native:libhilog",
- "ipc:ipc_core",
- "samgr_standard:samgr_proxy",
+ deps += [
+ "//depend:libhilog",
+ "//depend/ipc:ipc_core",
]
}
}
--
2.25.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yukaii/dsoftbus.git
[email protected]:yukaii/dsoftbus.git
yukaii
dsoftbus
dsoftbus
master

搜索帮助