device_auth 构建在不支持 jsapi 的平台(如 taihe 环境)上失败, 原因是 napi 构建组缺少 support_jsapi 条件判断。
support_jsapi
device_auth 应该能够在不支持 jsapi 的平台上正常构建, 通过条件编译自动排除依赖 jsapi 的 napi 组件。
构建失败,提示缺少 jsapi 相关的依赖组件。
在 BUILD.gn 中添加 support_jsapi 条件判断:
deviceauth_napi_build
&& support_jsapi
Medium - Affects build capability on platforms without jsapi
This issue will be resolved by the corresponding PR
Problem Description
device_auth 构建在不支持 jsapi 的平台(如 taihe 环境)上失败,
原因是 napi 构建组缺少
support_jsapi条件判断。Environment Information
Expected Behavior
device_auth 应该能够在不支持 jsapi 的平台上正常构建,
通过条件编译自动排除依赖 jsapi 的 napi 组件。
Actual Behavior
构建失败,提示缺少 jsapi 相关的依赖组件。
Suggested Solution
在 BUILD.gn 中添加
support_jsapi条件判断:deviceauth_napi_build组中添加&& support_jsapi条件Priority
Medium - Affects build capability on platforms without jsapi
Related Components
Related PR
This issue will be resolved by the corresponding PR