2022-01-12 13:16:08 +00:00
|
|
|
{
|
2022-01-13 06:26:24 +00:00
|
|
|
"name": "@ohos/sensor",
|
2022-01-12 13:16:08 +00:00
|
|
|
"description": "Obtaining sensor data",
|
|
|
|
"version": "3.1",
|
|
|
|
"license": "Apache License 2.0",
|
2022-01-17 06:37:11 +00:00
|
|
|
"segment": {
|
|
|
|
"destPath": "base/sensors/sensor"
|
|
|
|
},
|
2022-01-12 13:16:08 +00:00
|
|
|
"component": {
|
|
|
|
"name": "sensor",
|
|
|
|
"subsystem": "sensors",
|
2023-06-21 09:24:18 +00:00
|
|
|
"syscap": ["SystemCapability.Sensors.Sensor", "SystemCapability.Sensors.Sensor.Lite"],
|
2022-01-12 13:16:08 +00:00
|
|
|
"features": [],
|
|
|
|
"adapted_system_type": [ "standard" ],
|
2022-01-14 06:23:37 +00:00
|
|
|
"rom": "2048KB",
|
|
|
|
"ram": "~4096KB",
|
2022-06-21 03:17:22 +00:00
|
|
|
"hisysevent_config": [
|
2022-06-25 07:12:16 +00:00
|
|
|
"//base/sensors/sensor/hisysevent.yaml"
|
|
|
|
],
|
2022-01-12 13:16:08 +00:00
|
|
|
"deps": {
|
|
|
|
"components": [
|
2024-07-27 14:00:58 +00:00
|
|
|
"bundle_framework",
|
2023-05-08 13:48:36 +00:00
|
|
|
"c_utils",
|
2023-07-17 07:10:32 +00:00
|
|
|
"hilog",
|
2023-06-19 02:43:45 +00:00
|
|
|
"hisysevent",
|
2022-06-29 10:39:42 +00:00
|
|
|
"napi",
|
|
|
|
"drivers_interface_sensor",
|
|
|
|
"access_token",
|
2023-06-19 02:43:45 +00:00
|
|
|
"hitrace",
|
2022-01-17 06:37:11 +00:00
|
|
|
"ipc",
|
2024-04-28 02:28:03 +00:00
|
|
|
"memmgr",
|
2023-05-12 02:25:20 +00:00
|
|
|
"safwk",
|
2022-07-21 12:01:46 +00:00
|
|
|
"samgr",
|
2024-07-28 03:43:46 +00:00
|
|
|
"eventhandler"
|
2022-01-12 13:16:08 +00:00
|
|
|
],
|
|
|
|
"third_party": []
|
|
|
|
},
|
|
|
|
"build": {
|
2022-07-20 06:07:37 +00:00
|
|
|
"group_type": {
|
|
|
|
"base_group": [],
|
|
|
|
"fwk_group": [
|
2023-10-10 10:29:04 +00:00
|
|
|
"//base/sensors/sensor/frameworks/js/napi:sensor_js_target",
|
2023-10-11 10:17:27 +00:00
|
|
|
"//base/sensors/sensor/frameworks/native:sensor_target",
|
2023-12-01 06:22:20 +00:00
|
|
|
"//base/sensors/sensor/frameworks/native:ohsensor",
|
2023-05-12 02:25:20 +00:00
|
|
|
"//base/sensors/sensor/utils:sensor_utils_target"
|
2022-07-20 06:07:37 +00:00
|
|
|
],
|
|
|
|
"service_group": [
|
2023-10-11 10:17:27 +00:00
|
|
|
"//base/sensors/sensor/services:sensor_service_target",
|
2022-01-12 13:16:08 +00:00
|
|
|
"//base/sensors/sensor/sa_profile:sensors_sa_profiles"
|
2022-07-20 06:07:37 +00:00
|
|
|
]
|
|
|
|
},
|
2022-01-12 13:16:08 +00:00
|
|
|
"inner_kits": [
|
|
|
|
{
|
2023-10-11 10:17:27 +00:00
|
|
|
"name": "//base/sensors/sensor/frameworks/native:sensor_interface_native",
|
2022-01-12 13:16:08 +00:00
|
|
|
"header": {
|
|
|
|
"header_files": [
|
|
|
|
"sensor_agent_type.h",
|
|
|
|
"sensor_agent.h"
|
|
|
|
],
|
2023-10-10 10:29:04 +00:00
|
|
|
"header_base": "//base/sensors/sensor/interfaces/inner_api"
|
2022-01-12 13:16:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"test": [
|
2023-10-11 10:17:27 +00:00
|
|
|
"//base/sensors/sensor/test/unittest/interfaces/js:unittest",
|
2023-11-28 07:50:58 +00:00
|
|
|
"//base/sensors/sensor/test/unittest/interfaces/kits:unittest",
|
2023-10-11 10:17:27 +00:00
|
|
|
"//base/sensors/sensor/test/fuzztest/interfaces:fuzztest",
|
|
|
|
"//base/sensors/sensor/test/unittest/interfaces/inner_api:unittest",
|
2023-10-10 10:29:04 +00:00
|
|
|
"//base/sensors/sensor/test/fuzztest/services:fuzztest"
|
2022-01-12 13:16:08 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|