mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-24 07:09:59 +00:00
update
Signed-off-by: hellohyh001 <huiyuehong@huawei.com> Change-Id: I6746a71899a5d5c5c18355bcb082633853c3858b
This commit is contained in:
parent
867aa96ee9
commit
76c05897ab
@ -14,7 +14,7 @@
|
||||
import("//build/ohos.gni")
|
||||
import("//build/ohos/ndk/ndk.gni")
|
||||
|
||||
ohos_ndk_headers("oh_sensor_header") {
|
||||
ohos_ndk_headers("sensor_native") {
|
||||
dest_dir = "$ndk_headers_out_dir/sensors/sensor"
|
||||
sources = [
|
||||
"./native_sensor.h",
|
||||
@ -22,9 +22,9 @@ ohos_ndk_headers("oh_sensor_header") {
|
||||
]
|
||||
}
|
||||
|
||||
ohos_ndk_library("libsensor_capi_ndk") {
|
||||
ohos_ndk_library("libsensor_native") {
|
||||
ndk_description_file = "./libsensor.ndk.json"
|
||||
output_name = "ohsensor"
|
||||
output_name = "libsensor_native"
|
||||
output_extension = "z.so"
|
||||
min_compact_version = "11"
|
||||
}
|
@ -24,7 +24,7 @@
|
||||
* @file sensor.h
|
||||
*
|
||||
* @brief 声明操作传感器的常用api,用于获取传感器信息、订阅或取消订阅传感器数据等。
|
||||
* @library libohsensor.z.so
|
||||
* @library libsensor_native.z.so
|
||||
* @syscap SystemCapability.Sensors.Sensor
|
||||
* @since 11
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user