Skip to content

openharmony/global_resource_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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         #Header file
|    |----src             #source code file
|    |----test            #Test case
|    |----build           #Depending on the third-party library compilation script
|    |----BUILD.gn        #Compile script
|    |----CMakeLists.txt  #CMake file
|    |----win32.cmake     #Windows cross compilation 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

Related to the storehouse

global_resource_tool

third_party_libxml2

third_party_jsoncpp

third_party_sqlite

third_party_bounds_checking_function

About

OpenHarmony资源编译工具,提供给IDE使用。

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors