diff --git a/build-tools/capi_parser/src/coreImpl/parser/parser.py b/build-tools/capi_parser/src/coreImpl/parser/parser.py index 5bcd2c4bb1481073e59e3863bd7e52b48236e16d..a245de6eb03eaf958bb00a161cfe381926c8bc29 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 ee6e46948eb228d0964b7e35161b1f5311b62d34..aed1044ee046f6afb37109f39bdb0c85750a5ea4 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' # 拉到本地仓路径(去掉磁盘) # 拉到本地仓的三方库绝对路径