diff --git a/README.md b/README.md index 039980439eb17eb91727998c95f8bc5e512e6e54..b9da2af63e57a32e238c7b091a755c4713914053 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ For more infomation, see: [ARK Runtime Subsystem](https://gitee.com/openharmony/ ts2abc uses the command line interaction mode and converts JS code into ARK bytecode files that can be run on an ARK runtime system. ts2abc supports Windows, Linux, and macOS. Front-end tools, converting JS source code into ARK bytecode, can be built by specifing the `--build-target` with `ark_ts2abc` on Linux. ``` -$ ./build.sh --product-name Hi3516DV300 --build-target ark_ts2abc +$ ./build.sh --product-name Hi3516DV300 --build-target ark_ts2abc_build ``` ### Usage Guidelines diff --git a/README_zh.md b/README_zh.md index aa611664131b3d5b5971f85cc2547c4df86b771c..b1cc5b1be2e0765130c128fe14197280446f13d5 100644 --- a/README_zh.md +++ b/README_zh.md @@ -34,7 +34,7 @@ ts2abc组件是方舟运行时子系统的前端工具,支持将JavaScript文 ts2abc组件采用命令行交互方式,支持将JavaScript代码转换为方舟字节码文件,使其能够在方舟运行时上运行。支持Windows/Linux/MacOS平台。方舟前端工具在linux平台上可通过全量编译或指定编译前端工具链获取。 ``` -$ ./build.sh --product-name Hi3516DV300 --build-target ark_ts2abc +$ ./build.sh --product-name Hi3516DV300 --build-target ark_ts2abc_build ``` ### 使用说明 diff --git a/ts2panda/ts2abc/BUILD.gn b/ts2panda/ts2abc/BUILD.gn index 01cd95db88d571cce7b45f8bedb7fd7ac7eefe15..803df05e5bba9b484750e1f33ee9983565900b1e 100755 --- a/ts2panda/ts2abc/BUILD.gn +++ b/ts2panda/ts2abc/BUILD.gn @@ -110,4 +110,6 @@ ohos_static_library("jsoncpp_static") { "$jsoncpp_root/include", "$jsoncpp_root/include/json/", ] + subsystem_name = "ark" + part_name = "ark_frontend_tool" }