powermgr_battery_manager/bundle.json
chenjunwu eed877622c fix: add macro for user dump
Signed-off-by: chenjunwu <chenjunwu4@huawei.com>
2024-09-25 10:18:42 +08:00

118 lines
4.3 KiB
JSON

{
"name": "@ohos/battery_manager",
"version": "3.1",
"description": "电池、充放电状态查询,状态上报",
"homePage": "https://gitee.com/openharmony",
"license": "Apache License 2.0",
"repository": "https://gitee.com/openharmony/powermgr_battery_manager",
"domain": "os",
"publishAs": "code-segment",
"scripts": {},
"dirs": [],
"segment": {
"destPath": "base/powermgr/battery_manager"
},
"component": {
"name": "battery_manager",
"subsystem": "powermgr",
"syscap": [
"SystemCapability.PowerManager.BatteryManager.Core",
"SystemCapability.PowerManager.BatteryManager.Extension"
],
"features": [
"battery_manager_feature_enable_charger",
"battery_manager_feature_set_low_capacity_threshold"
],
"adapted_system_type": [
"standard"
],
"rom": "1024KB",
"ram": "2048KB",
"hisysevent_config": [
"//base/powermgr/battery_manager/batterymgr.yaml"
],
"deps": {
"components": [
"ability_base",
"ability_runtime",
"bundle_framework",
"common_event_service",
"config_policy",
"cJSON",
"c_utils",
"drivers_interface_battery",
"drivers_interface_display",
"drivers_interface_input",
"drivers_interface_light",
"eventhandler",
"ffrt",
"graphic_surface",
"hdf_core",
"hicollie",
"hisysevent",
"hilog",
"ipc",
"init",
"json",
"jsoncpp",
"libdrm",
"libpng",
"miscdevice",
"napi",
"power_manager",
"safwk",
"samgr",
"ui_lite",
"input"
]
},
"build": {
"group_type": {
"base_group": [],
"fwk_group": [
"//base/powermgr/battery_manager/frameworks:battery_napi",
"//base/powermgr/battery_manager/frameworks:battery_capi",
"//base/powermgr/battery_manager/interfaces/inner_api:batterysrv_client"
],
"service_group": [
"//base/powermgr/battery_manager/sa_profile:batterymgr_sa_profile",
"//base/powermgr/battery_manager/services:service",
"//base/powermgr/battery_manager/charger:charger_group",
"//base/powermgr/battery_manager/charger:charger_animation",
"//base/powermgr/battery_manager/charger:resources_service"
]
},
"inner_kits": [
{
"name": "//base/powermgr/battery_manager/interfaces/inner_api:batterysrv_client",
"header": {
"header_files": [
"battery_info.h",
"battery_srv_client.h",
"ibattery_srv.h"
],
"header_base": "//base/powermgr/battery_manager/interfaces/inner_api/native/include"
}
},
{
"name": "//base/powermgr/battery_manager/frameworks/cj:cj_battery_info_ffi",
"header": {
"header_files": [
"battery_info_ffi.h"
],
"header_base": "//base/powermgr/battery_manager/frameworks/cj/include"
}
}
],
"test": [
"//base/powermgr/battery_manager/test:battery_frameworks_unittest",
"//base/powermgr/battery_manager/test:battery_unittest",
"//base/powermgr/battery_manager/test:battery_systemtest",
"//base/powermgr/battery_manager/test:battery_fuzzertest",
"//base/powermgr/battery_manager/test:battery_benchmarktest",
"//base/powermgr/battery_manager/test:battery_apitest"
]
}
}
}