openharmony_ci 25e83acf8b !267 merge resource_table2 into master
ResourceTable中只保留har包资源

Created-by: leeduo
Commit-by: liduo
Merged-by: openharmony_ci
Description: ### 一、内容说明(相关的Issue)

ResourceTable中只保留har包资源

### 二、建议测试周期和提测地址  
  建议测试完成时间:xxxx.xx.xx  
  投产上线时间:xxxx.xx.xx  
  提测地址:CI环境/压测环境  
  测试账号:  

### 三、变更内容
  * 3.1 关联PR列表

  * 3.2 数据库和部署说明  
    1. 常规更新 
    2. 重启unicorn
    3. 重启sidekiq
    4. 迁移任务:是否有迁移任务,没有写 "无"
    5. rake脚本:`bundle exec xxx RAILS_ENV = production`;没有写 "无"

  * 3.4 其他技术优化内容(做了什么,变更了什么)
	不涉及


  * 3.5 废弃通知(什么字段、方法弃用?)
	不涉及


  * 3.6  后向不兼容变更(是否有无法向后兼容的变更?)
	不涉及

  
### 四、研发自测点(自测哪些?冒烟用例全部自测?)
  自测测试结论:Pass


### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方)
  检查点:不涉及

  接口测试:不涉及

  性能测试:不涉及

  并发测试:不涉及

  其他:不涉及



See merge request: openharmony/developtools_global_resource_tool!267
2025-10-20 10:05:45 +08:00
2025-10-17 17:19:13 +08:00
2022-03-17 11:58:13 +08:00
2025-08-21 09:27:44 +08:00
2025-01-09 13:53:51 +08:00
2025-08-21 09:27:44 +08:00
2022-03-26 16:31:04 +08:00
2022-03-16 12:36:03 +08:00
2024-02-22 15:26:39 +08:00
2025-08-21 09:27:44 +08:00
2022-02-28 10:59:39 +08:00

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

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
-f if output path exists,force override it
-m module name, can add more, split by ','(like entry1,entry2,...)
-j config.json path
-e start id mask, e.g 0x01000000, in [0x01000000, 0x06FFFFFF),[0x08000000, 0x41FFFFFF)

entry Directory Structure
|    |----resource
|    |----config.json or module.json

./restool -i entry1 -i entry2 -j xxx/module.json -p ohos.demo.xxx -o out -r out/ResourceTable.h

global_resource_tool

third_party_cJSON

third_party_libpng

third_party_bounds_checking_function

S
Description
暂无描述
Readme 2.6 MiB
Languages
C++ 99.4%
CMake 0.4%
Python 0.2%