Signed-off-by: hellohyh001 <huiyuehong@huawei.com>
Change-Id: I6746a71899a5d5c5c18355bcb082633853c3858b
This commit is contained in:
hellohyh001 2023-11-23 14:10:04 +00:00
parent 867aa96ee9
commit 76c05897ab
2 changed files with 4 additions and 4 deletions

View File

@ -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"
}

View File

@ -24,7 +24,7 @@
* @file sensor.h
*
* @brief api
* @library libohsensor.z.so
* @library libsensor_native.z.so
* @syscap SystemCapability.Sensors.Sensor
* @since 11
*/