gyp pdfium

lyd@ubuntu:~/pdf/pdfium$ gyp --depth=.  pdfium.gyp -Dtarget_arch=x64 -Dclang=1 -Dos_posix=1 -Dcomponent=shared_library -Dv8_optimized_debug=1 -Dicu_gyp_path=.
lyd@ubuntu:~/pdf/pdfium$ ninja -C out/Debug

 

【chatgpt】

    1. 进入 PDFium 的源代码目录。
    2. 运行以下命令来生成构建文件:
      |
    3. python build/all.gyp
      
    4. 使用 GYP 工具生成构建系统相关的文件:
      |
    5. gyp --depth=. pdfium.gyp
      
    6. 构建 PDFium:
      |
ninja -C out/Debug
      或者,如果您想要构建发布版本,可以执行:

posted on 2024-04-13 10:31  lydstory  阅读(2)  评论(0编辑  收藏  举报

导航