mirror of
https://github.com/openharmony/ark_js_runtime.git
synced 2026-07-25 22:15:32 -04:00
b10928100b
Signed-off-by: songhao <songhonghao@huawei.com>
1.3 KiB
1.3 KiB
ark_build
介绍
方舟独立编译构建build
软件架构和目录
独立编译目录结构
/ark/
├── js_runtime
├── build
├── runtime_core
├── ts2abc
├── third_patry #从openharmony开源项目下载
安装教程
- 独立编译拉取ark_js_runtime、ark_runtime_core、ark_ts2abc,执行./build/prebuilts_download.sh 下载相关的编译所需工具。
- 之后执行./js_runtime/build/compile_script/gen.sh ark将.gn、.sh文件拿出来。
- 执行[./gen.sh]命令编译目前独立编译支持的所有目标,执行[./gen.sh abc]命令生成abc文件,执行[./gen.sh .]命令执行abc文件
使用说明
- 独立编译build目录放在ark_js_runtime仓下
- 所需三方库从openharmony开源项目下载,包含 : https://gitee.com/openharmony/third_party_bounds_checking_function, https://gitee.com/openharmony/third_party_icu, https://gitee.com/openharmony/third_party_jsoncpp, https://gitee.com/openharmony/third_party_zlib
- 编译时需拉取三方库到ark/third_party/xxx
参与贡献
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request