Skip to content

Commit

Permalink
更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
pirunxi committed May 21, 2024
1 parent b294798 commit 78bffe0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/basic/buildpipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@

## 优化的打包流程

:::tip

Unity 2019的Android平台,以及团结引擎的鸿蒙平台在第二步`导出工程`时会自动编译libil2cpp.a,导致虽然他们也可以使用优化的打包工作流,但效果不如其他平台好。

:::

`HybridCLR/Generate/All` 命令运行过程中会执行一次导出工程,以生成裁剪后的AOT dll。这一步对于大型项目来说可能非常耗时,几乎将打包时间增加了一倍。如果需要优化打包时间,可以按照如下流程一次出包。

- 运行 `HybridCLR/Generate/LinkXml`
Expand Down

0 comments on commit 78bffe0

Please sign in to comment.