- 在 entry 基础上新增 6 个 HAR:contracts/common/platform/domain_resource/feature_bridge/feature_capabilities(框架§4 工程结构) - 依赖单向向下、无环、无传递依赖(T-M0-02): contracts←common←platform←domain_resource;feature_bridge←(contracts,common); feature_capabilities←(全部下层);entry←(全部下层) - 各 HAR 含 build-profile/hvigorfile(harTasks)/module.json5(type:har)/Index.ets 导出入口 - devecocli build(debug) 全模块编译通过,entry 打包 HAP 成功 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
17 lines
519 B
Plaintext
17 lines
519 B
Plaintext
/**
|
|
* Use these variables when you tailor your ArkTS code. They must be of the const type.
|
|
*/
|
|
export const HAR_VERSION = '1.0.0';
|
|
export const BUILD_MODE_NAME = 'debug';
|
|
export const DEBUG = true;
|
|
export const TARGET_NAME = 'default';
|
|
|
|
/**
|
|
* BuildProfile Class is used only for compatibility purposes.
|
|
*/
|
|
export default class BuildProfile {
|
|
static readonly HAR_VERSION = HAR_VERSION;
|
|
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
|
|
static readonly DEBUG = DEBUG;
|
|
static readonly TARGET_NAME = TARGET_NAME;
|
|
} |