mirror of
https://gitee.com/openharmony/sensors_sensor
synced 2024-12-04 12:53:20 +00:00
cea23f1494
Signed-off-by: cff-gite <chenfeifei8@huawei.com> Change-Id: I78961cda5758d83867e790ed98a8c568e3198fcf
73 lines
2.1 KiB
JSON
73 lines
2.1 KiB
JSON
{
|
|
"name": "@ohos/sensor",
|
|
"description": "Obtaining sensor data",
|
|
"version": "3.1",
|
|
"license": "Apache License 2.0",
|
|
"segment": {
|
|
"destPath": "base/sensors/sensor"
|
|
},
|
|
"component": {
|
|
"name": "sensor",
|
|
"subsystem": "sensors",
|
|
"syscap": ["SystemCapability.Sensors.Sensor", "SystemCapability.Sensors.Sensor.Lite"],
|
|
"features": [],
|
|
"adapted_system_type": [ "standard" ],
|
|
"rom": "2048KB",
|
|
"ram": "~4096KB",
|
|
"hisysevent_config": [
|
|
"//base/sensors/sensor/hisysevent.yaml"
|
|
],
|
|
"deps": {
|
|
"components": [
|
|
"bundle_framework",
|
|
"c_utils",
|
|
"hilog",
|
|
"hisysevent",
|
|
"napi",
|
|
"drivers_interface_sensor",
|
|
"access_token",
|
|
"hitrace",
|
|
"ipc",
|
|
"memmgr",
|
|
"safwk",
|
|
"samgr",
|
|
"eventhandler"
|
|
],
|
|
"third_party": []
|
|
},
|
|
"build": {
|
|
"group_type": {
|
|
"base_group": [],
|
|
"fwk_group": [
|
|
"//base/sensors/sensor/frameworks/js/napi:sensor_js_target",
|
|
"//base/sensors/sensor/frameworks/native:sensor_target",
|
|
"//base/sensors/sensor/frameworks/native:ohsensor",
|
|
"//base/sensors/sensor/utils:sensor_utils_target"
|
|
],
|
|
"service_group": [
|
|
"//base/sensors/sensor/services:sensor_service_target",
|
|
"//base/sensors/sensor/sa_profile:sensors_sa_profiles"
|
|
]
|
|
},
|
|
"inner_kits": [
|
|
{
|
|
"name": "//base/sensors/sensor/frameworks/native:sensor_interface_native",
|
|
"header": {
|
|
"header_files": [
|
|
"sensor_agent_type.h",
|
|
"sensor_agent.h"
|
|
],
|
|
"header_base": "//base/sensors/sensor/interfaces/inner_api"
|
|
}
|
|
}
|
|
],
|
|
"test": [
|
|
"//base/sensors/sensor/test/unittest/interfaces/js:unittest",
|
|
"//base/sensors/sensor/test/unittest/interfaces/kits:unittest",
|
|
"//base/sensors/sensor/test/fuzztest/interfaces:fuzztest",
|
|
"//base/sensors/sensor/test/unittest/interfaces/inner_api:unittest",
|
|
"//base/sensors/sensor/test/fuzztest/services:fuzztest"
|
|
]
|
|
}
|
|
}
|
|
} |