Files
developtools_global_resourc…/README.md
T
chencheng31 4ed4ed2faf 修改readme
Signed-off-by: chencheng31 <chencheng8@huawei.com>
2022-03-11 14:32:21 +08:00

1.0 KiB

OpenHarmony resource compile tool

Description

resource tool is used in computer.In OpenHarmony SDK toolchain.Provide to IDE.Support Windows, Linux, MacOS platform.

Directory Structure

/developtools   
|----global_resource_tool
|    |----include  
|    |----src  
|    |----test
|    |----build dependence third patry lib make script  
|    |----CMakeLists.txt  
|    |----BUILD.gn  
|    |----win32.cmake Windows cross compile script

Instructions

SDK Build

SDK build refer

Test

In PC, run python test.py ./restool ./out

Help

resource tool usually integrate to IDE, OpenHarmony compile system.

resource tool command e.g:

-v version
-i input resource path
-o output resource path
-r resource ID header file path
-p package name

./restool -i main -o out -r out/ResourceTable.h -p ohos.demo

third_party_libxml2
third_party_jsoncpp
third_party_sqlite
third_party_bounds_checking_function