Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
build/ | 12-May-2024 | - | 1,667 | 988 | ||
include/ | 12-May-2024 | - | 2,318 | 1,492 | ||
src/ | 12-May-2024 | - | 6,924 | 5,695 | ||
test/ | 12-May-2024 | - | 92 | 75 | ||
BUILD.gn | D | 12-May-2024 | 2.6 KiB | 88 | 82 | |
CMakeLists.txt | D | 12-May-2024 | 1.6 KiB | 38 | 33 | |
LICENSE | D | 12-May-2024 | 9.9 KiB | 177 | 150 | |
OAT.xml | D | 12-May-2024 | 1.8 KiB | 40 | 21 | |
README.md | D | 12-May-2024 | 1 KiB | 51 | 34 | |
README_zh.md | D | 12-May-2024 | 1 KiB | 50 | 34 | |
bundle.json | D | 12-May-2024 | 812 | 34 | 33 | |
win32.cmake | D | 12-May-2024 | 409 | 11 | 9 |
README.md
1# OpenHarmony resource compile tool 2 3## Description 4resource tool is used in computer.In OpenHarmony SDK toolchain.Provide to IDE.Support Windows, Linux, MacOS platform. 5 6## Directory Structure 7 8``` 9/developtools 10|----global_resource_tool 11| |----include 12| |----src 13| |----test 14| |----build dependence third patry lib make script 15| |----CMakeLists.txt 16| |----BUILD.gn 17| |----win32.cmake Windows cross compile script 18``` 19 20## Instructions 21 22### SDK Build 23 24[SDK build refer](https://gitee.com/openharmony/build/blob/master/README_zh.md) 25 26### Test 27 28In PC, run `python test.py ./restool ./out` 29 30### Help 31 32resource tool usually integrate to IDE, OpenHarmony compile system. 33 34resource tool command e.g: 35 36-v version 37-i input resource path 38-o output resource path 39-r resource ID header file path 40-p package name 41 42`./restool -i main -o out -r out/ResourceTable.h -p ohos.demo` 43 44## Related to the storehouse 45 46third_party_libxml2 47third_party_jsoncpp 48third_party_sqlite 49third_party_bounds_checking_function 50 51
README_zh.md
1# OpenHarmony资源编译工具 2 3## 介绍 4资源编译工具属于PC端工具,在OpenHarmony SDK中toolchain目录下,提供给IDE使用,支持Windows, Linux, MacOS平台。 5 6## 目录 7 8``` 9/developtools 10|----global_resource_tool 11| |----include 12| |----src 13| |----test 14| |----build 依赖三方库编译脚本 15| |----BUILD.gn 16| |----CMakeLists.txt 17| |----win32.cmake Windows交叉编译脚本 18``` 19 20## 使用说明 21 22### SDK编译命令 23 24[SDK编译命令参考](https://gitee.com/openharmony/build/blob/master/README_zh.md) 25 26### 测试用例 27 28PC 上运行 `python test.py ./restool ./out` 29 30### 命令帮助 31 32本工具由IDE和OpenHarmony编译系统集成调用。 33 34支持的命令行参数,例如: 35 36-v 显示工具版本号 37-i 资源输入目录 38-o 资源输出目录 39-r 资源ID头文件 40-p 应用包名 41 42`./restool -i main -o out -r out/ResourceTable.h -p ohos.demo` 43 44## 相关仓 45 46third_party_libxml2 47third_party_jsoncpp 48third_party_sqlite 49third_party_bounds_checking_function 50