From 921873b5f3a7240ffdb218a5c25da9e0c2e361f6 Mon Sep 17 00:00:00 2001 From: zhangwuf Date: Wed, 8 May 2024 16:20:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9libclang.so=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangwuf --- build-tools/capi_parser/src/coreImpl/parser/parser.py | 1 - build-tools/capi_parser/src/utils/constants.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build-tools/capi_parser/src/coreImpl/parser/parser.py b/build-tools/capi_parser/src/coreImpl/parser/parser.py index 5bcd2c4bb..a245de6eb 100644 --- a/build-tools/capi_parser/src/coreImpl/parser/parser.py +++ b/build-tools/capi_parser/src/coreImpl/parser/parser.py @@ -430,7 +430,6 @@ def parser_file_level(output_path): parser_path = os.path.abspath(os.path.join(current_file, r'../../../../..')) file_path_list = [] link_include_path = [] # 装链接头文件路径 - copy_std_lib(link_include_path) data_total = [] if not os.path.isdir(parser_path): return data_total diff --git a/build-tools/capi_parser/src/utils/constants.py b/build-tools/capi_parser/src/utils/constants.py index ee6e46948..aed1044ee 100644 --- a/build-tools/capi_parser/src/utils/constants.py +++ b/build-tools/capi_parser/src/utils/constants.py @@ -19,7 +19,7 @@ import enum class StringConstant(enum.Enum): - LIB_CLG_PATH = r'./home/tools/llvm/lib/libclang.so' # 共享库 + LIB_CLG_PATH = r'/home/tools/llvm/lib/libclang.so' # 共享库 FUNK_NAME = "ohos_ndk_headers" REPLACE_WAREHOUSE = '\\interface_sdk_c\\interface_sdk_c' # 拉到本地仓路径(去掉磁盘) # 拉到本地仓的三方库绝对路径 -- Gitee