From d6e3ebc25380d16f0ae7a7e821da8bae84c9f85e Mon Sep 17 00:00:00 2001 From: sunao Date: Fri, 7 Jun 2024 17:18:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=A8=E7=A6=81=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=97=AE=E9=A2=98=20=E4=BF=AE=E6=94=B9=E7=82=B9?= =?UTF-8?q?=E5=A6=82=E4=B8=8B=EF=BC=9A=E4=BF=AE=E6=94=B9src/main/cpp/bound?= =?UTF-8?q?scheck/CMakeLists.txt=E6=96=87=E4=BB=B6=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E5=86=85=E5=AE=B9=EF=BC=8C=E4=BF=AE=E6=94=B9src/main/cpp/util/?= =?UTF-8?q?DebugLog.h=E6=96=87=E4=BB=B6=E4=B8=ADhilog=E7=9A=84=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: sunao --- gpu_transform/CHANGELOG.md | 5 +++++ gpu_transform/oh-package.json5 | 2 +- gpu_transform/src/main/cpp/boundscheck/CMakeLists.txt | 2 ++ gpu_transform/src/main/cpp/util/DebugLog.h | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gpu_transform/CHANGELOG.md b/gpu_transform/CHANGELOG.md index 32abf4a..8898f8d 100644 --- a/gpu_transform/CHANGELOG.md +++ b/gpu_transform/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.0.4 +- 修改门禁编译问题 修改点如下 +- 修改src/main/cpp/boundscheck/CMakeLists.txt文件中的内容 +- 修改src/main/cpp/util/DebugLog.h文件中hilog的大小写 + ## 1.0.3 - 安全编译开启Strip和Ftrapv diff --git a/gpu_transform/oh-package.json5 b/gpu_transform/oh-package.json5 index 1eb6bf3..1526ae0 100644 --- a/gpu_transform/oh-package.json5 +++ b/gpu_transform/oh-package.json5 @@ -14,7 +14,7 @@ "main": "index.ets", "repository": "https://gitee.com/openharmony-tpc/ImageKnife", "type": "module", - "version": "1.0.3", + "version": "1.0.4", "tags": [ "Tool" ], diff --git a/gpu_transform/src/main/cpp/boundscheck/CMakeLists.txt b/gpu_transform/src/main/cpp/boundscheck/CMakeLists.txt index 6cd48c8..c1bb6a6 100644 --- a/gpu_transform/src/main/cpp/boundscheck/CMakeLists.txt +++ b/gpu_transform/src/main/cpp/boundscheck/CMakeLists.txt @@ -18,6 +18,8 @@ add_library(boundscheck ${TAGET_BOUNDSCHECK_SRC_PATH}/memset_s.c ${TAGET_BOUNDSCHECK_SRC_PATH}/securecutil.c) +target_precompile_headers(boundscheck PUBLIC ${CMAKE_SYSROOT}/usr/include/stdint.h) + include_directories(${TAGET_BOUNDSCHECK_SRC_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/third_party_bounds_checking_function/include ) diff --git a/gpu_transform/src/main/cpp/util/DebugLog.h b/gpu_transform/src/main/cpp/util/DebugLog.h index d3fea9c..66f1dba 100644 --- a/gpu_transform/src/main/cpp/util/DebugLog.h +++ b/gpu_transform/src/main/cpp/util/DebugLog.h @@ -21,7 +21,7 @@ #ifndef GPU_ImageETS_DebugLog_H #define GPU_ImageETS_DebugLog_H -#include +#include #define LOGI(...)((void)OH_LOG_Print(LOG_APP, LOG_INFO, LOG_DOMAIN, "OH_GPU_LOG", __VA_ARGS__)) #define LOGD(...)((void)OH_LOG_Print(LOG_APP, LOG_DEBUG, LOG_DOMAIN, "OH_GPU_LOG", __VA_ARGS__))