| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor: napi部件public_external_deps整改,ace_engine补充显式依赖 napi部件将public_external_deps改为external_deps前,ace_engine需先行补充 ets_runtime/libuv/node的显式依赖,避免传染性依赖违反单框架编译构建规则。 按实际头文件依赖链分类补充(共96处): - Cat A(仅加node:node_header_notice):目标含 napi/native_api.h / native_node_api.h,经其引入 node_api.h / js_native_api.h - Cat B(加node+libuv+ets_runtime):目标含 native_engine.h / ark_native_engine.h 链,经 native_async_work.h / ark_idle_monitor.h 引入 uv.h,经 native_node_hybrid_api.h 引入 node 头 - components.gni 的 ark_sources 模板:覆盖 time_picker 等全部 pattern 桥接 验证: 1. rk3568 ace_engine 全量编译通过(rc=0, 0 error); 2. 翻转 napi 为 external_deps 后 -k0 编译,ace_engine 头文件缺失错误为 0; 3. 直编代表性 Cat A/B 文件(jsi_declarative_engine/ark_js_runtime/jsi_pa_engine/ curves/js_dialog/animator/js_inspector/drawable_descriptor等)在无传染依赖 状态下全部通过。 Signed-off-by: liuhui93 <liuhui160@huawei.com> Change-Id: I8c27ca737b5d52a42e058c3ba9e25ddb364c54a4 | 23 天前 | |
编译效率优化:减少头文件依赖,使用前向声明替代重include - container.h: 移除app_bar_view.h include,改为前向声明,构造/析构/SetAppBar/GetAppBar改为out-of-line实现 - 40+文件: 移除不必要的include或替换为前向声明 - 补充因依赖链变化缺失的include - 修复SDK编译ace_view_preview.cpp的FrameNode不完整类型错误 Issue: https://gitcode.com/openharmony/arkui_ace_engine/issues/75256 Signed-off-by: liuhui <liuhui160@huawei.com> Change-Id: I0614e4197c7e741c9634e840134c15c62731bae5 | 4 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 23 天前 | ||
| 4 个月前 |