修改门禁编译问题 修改点如下:修改src/main/cpp/boundscheck/CMakeLists.txt文件中的内容,修改src/main/cpp/util/DebugLog.h文件中hilog的大小写

Signed-off-by: sunao <sunao19@h-partners.com>
This commit is contained in:
sunao 2024-06-07 17:18:10 +08:00
parent 804049b36b
commit d6e3ebc253
4 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
## 1.0.4
- 修改门禁编译问题 修改点如下
- 修改src/main/cpp/boundscheck/CMakeLists.txt文件中的内容
- 修改src/main/cpp/util/DebugLog.h文件中hilog的大小写
## 1.0.3 ## 1.0.3
- 安全编译开启Strip和Ftrapv - 安全编译开启Strip和Ftrapv

View File

@ -14,7 +14,7 @@
"main": "index.ets", "main": "index.ets",
"repository": "https://gitee.com/openharmony-tpc/ImageKnife", "repository": "https://gitee.com/openharmony-tpc/ImageKnife",
"type": "module", "type": "module",
"version": "1.0.3", "version": "1.0.4",
"tags": [ "tags": [
"Tool" "Tool"
], ],

View File

@ -18,6 +18,8 @@ add_library(boundscheck
${TAGET_BOUNDSCHECK_SRC_PATH}/memset_s.c ${TAGET_BOUNDSCHECK_SRC_PATH}/memset_s.c
${TAGET_BOUNDSCHECK_SRC_PATH}/securecutil.c) ${TAGET_BOUNDSCHECK_SRC_PATH}/securecutil.c)
target_precompile_headers(boundscheck PUBLIC ${CMAKE_SYSROOT}/usr/include/stdint.h)
include_directories(${TAGET_BOUNDSCHECK_SRC_PATH} include_directories(${TAGET_BOUNDSCHECK_SRC_PATH}
${CMAKE_CURRENT_SOURCE_DIR}/third_party_bounds_checking_function/include ${CMAKE_CURRENT_SOURCE_DIR}/third_party_bounds_checking_function/include
) )

View File

@ -21,7 +21,7 @@
#ifndef GPU_ImageETS_DebugLog_H #ifndef GPU_ImageETS_DebugLog_H
#define GPU_ImageETS_DebugLog_H #define GPU_ImageETS_DebugLog_H
#include <Hilog/log.h> #include <hilog/log.h>
#define LOGI(...)((void)OH_LOG_Print(LOG_APP, LOG_INFO, LOG_DOMAIN, "OH_GPU_LOG", __VA_ARGS__)) #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__)) #define LOGD(...)((void)OH_LOG_Print(LOG_APP, LOG_DEBUG, LOG_DOMAIN, "OH_GPU_LOG", __VA_ARGS__))