
回复
UTILS组件中定义了图形子系统中的公共数据结构,并提供了一层轻薄的操作系统适配层(如锁、线程、文件系统)。
图 1 图形子系统组件间依赖关系
/foundation/graphic/utils
├── frameworks # 框架代码
│ ├── hals # 硬件适配层
│ ├── linux # linux平台适配层
│ ├── liteos # liteos平台适配层
│ └── windows # windows平台适配层
├── interfaces # 接口
│ ├── innerkits # 模块间接口
│ │ └── hals # 硬件适配层接口
│ └── kits # 对外接口
└── test # 单元测试
# 通过gn编译,在out目录下对应产品的文件夹中生成libgraphic_utils.so
hb build lite_graphic_utils
图形子系统
graphic_wms
graphic_surface
graphic_ui
graphic_utils