代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/dsoftbus 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 1e7842b01138c2313b2d8d8e736f461a9690c027 Mon Sep 17 00:00:00 2001
From: "beiling.xie" <[email protected]>
Date: Wed, 21 Sep 2022 11:57:27 +0800
Subject: [PATCH] Adaptation for dsoftbus
Signed-off-by: beiling.xie <[email protected]>
---
base/BUILD.gn | 37 ++++---------------------------------
base/src/parcel.cpp | 1 +
2 files changed, 5 insertions(+), 33 deletions(-)
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 883b1ec..723627b 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -38,24 +38,8 @@ config("static_utils_config") {
}
sources_utils = [
- "src/string_ex.cpp",
- "src/unicode_ex.cpp",
- "src/directory_ex.cpp",
- "src/datetime_ex.cpp",
"src/refbase.cpp",
"src/parcel.cpp",
- "src/semaphore_ex.cpp",
- "src/thread_pool.cpp",
- "src/file_ex.cpp",
- "src/observer.cpp",
- "src/thread_ex.cpp",
- "src/event_demultiplexer.cpp",
- "src/event_handler.cpp",
- "src/event_reactor.cpp",
- "src/timer.cpp",
- "src/timer_event_handler.cpp",
- "src/ashmem.cpp",
- "src/rwlock.cpp",
]
securec_sources = [
@@ -110,21 +94,18 @@ ohos_static_library("utilsbase") {
]
public_configs = [ ":static_utils_config" ]
defines = [ "CONFIG_HILOG" ]
- external_deps = [ "hilog_native:libhilog_base" ]
}
ohos_shared_library("utils") {
sources = sources_utils
- sources += securec_sources
configs = [
":utils_config",
":private_securec_config",
]
public_configs = [ ":static_utils_config" ]
- subsystem_name = "utils"
defines = [ "CONFIG_HILOG" ]
- external_deps = [ "hilog_native:libhilog_base" ]
- part_name = "utils_base"
+ deps = [ "//third_party/bounds_checking_function:libsec_shared" ]
+ deps += [ "//depend:libhilog" ]
install_images = [
"system",
"updater",
@@ -159,17 +140,7 @@ ohos_static_library("utilsecurec_ace_allplatforms") {
public_configs = [ ":static_utils_config" ]
}
-ohos_shared_library("utilsecurec_shared") {
- sources = securec_sources
- configs = [
- ":utils_config",
- ":private_securec_config",
- ]
- public_configs = [ ":utils_config" ]
- part_name = "utils_base"
- install_images = [
- "system",
- "updater",
- ]
+group("utilsecurec_shared") {
}
+
###############################################################################
diff --git a/base/src/parcel.cpp b/base/src/parcel.cpp
index 855f7cf..1abaec5 100755
--- a/base/src/parcel.cpp
+++ b/base/src/parcel.cpp
@@ -13,6 +13,7 @@
* limitations under the License.
*/
+#include <climits>
#include "parcel.h"
#include "securec.h"
#include "utils_log.h"
--
2.25.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。