From 339b76e56f99d82dda214139c2b0c49348b8cabb Mon Sep 17 00:00:00 2001 From: cff-gite Date: Tue, 16 Aug 2022 17:48:21 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9sensor=E9=83=A8=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cff-gite --- interfaces/plugin/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/plugin/BUILD.gn b/interfaces/plugin/BUILD.gn index e4d75127..e0574fa2 100644 --- a/interfaces/plugin/BUILD.gn +++ b/interfaces/plugin/BUILD.gn @@ -13,7 +13,7 @@ #import("//build/config/ohos/rules.gni") import("//build/ohos.gni") -ohos_shared_library("sensor") { +ohos_shared_library("libsensor_sensor") { include_dirs = [ "//third_party/node/src", "//native_engine", @@ -45,5 +45,5 @@ ohos_shared_library("sensor") { } group("sensor_js_target") { - deps = [ ":sensor" ] + deps = [ ":libsensor_sensor" ] } -- Gitee From 2ac0972c2d71e49359aa9805ab4b894ecdafd5ae Mon Sep 17 00:00:00 2001 From: cff-gite Date: Wed, 17 Aug 2022 10:22:11 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9sensor=E9=83=A8=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cff-gite --- interfaces/plugin/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/plugin/BUILD.gn b/interfaces/plugin/BUILD.gn index e0574fa2..88e2f32d 100644 --- a/interfaces/plugin/BUILD.gn +++ b/interfaces/plugin/BUILD.gn @@ -13,7 +13,7 @@ #import("//build/config/ohos/rules.gni") import("//build/ohos.gni") -ohos_shared_library("libsensor_sensor") { +ohos_shared_library("libsensor") { include_dirs = [ "//third_party/node/src", "//native_engine", @@ -45,5 +45,5 @@ ohos_shared_library("libsensor_sensor") { } group("sensor_js_target") { - deps = [ ":libsensor_sensor" ] + deps = [ ":libsensor" ] } -- Gitee From 04f3a350b222485445dd35ea3778c174af2ea908 Mon Sep 17 00:00:00 2001 From: cff-gite Date: Wed, 17 Aug 2022 11:27:13 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9sensor=E9=83=A8=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cff-gite --- interfaces/native/BUILD.gn | 2 +- interfaces/plugin/BUILD.gn | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interfaces/native/BUILD.gn b/interfaces/native/BUILD.gn index d4cc3c44..e802b4ba 100644 --- a/interfaces/native/BUILD.gn +++ b/interfaces/native/BUILD.gn @@ -17,7 +17,7 @@ SUBSYSTEM_DIR = "//base/sensors/sensor" ############################################## ohos_ndk_library("libsensor_ndk") { - output_name = "sensor" + output_name = "sensor_ndk" ndk_description_file = "./libsensor.json" min_compact_version = "6" } diff --git a/interfaces/plugin/BUILD.gn b/interfaces/plugin/BUILD.gn index 88e2f32d..e0574fa2 100644 --- a/interfaces/plugin/BUILD.gn +++ b/interfaces/plugin/BUILD.gn @@ -13,7 +13,7 @@ #import("//build/config/ohos/rules.gni") import("//build/ohos.gni") -ohos_shared_library("libsensor") { +ohos_shared_library("libsensor_sensor") { include_dirs = [ "//third_party/node/src", "//native_engine", @@ -45,5 +45,5 @@ ohos_shared_library("libsensor") { } group("sensor_js_target") { - deps = [ ":libsensor" ] + deps = [ ":libsensor_sensor" ] } -- Gitee From 810b2d6bc75b43daebf55eabcf5f55382b81ee3f Mon Sep 17 00:00:00 2001 From: cff-gite Date: Wed, 17 Aug 2022 11:30:04 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9sensor=E9=83=A8=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cff-gite --- interfaces/plugin/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/plugin/BUILD.gn b/interfaces/plugin/BUILD.gn index e0574fa2..88e2f32d 100644 --- a/interfaces/plugin/BUILD.gn +++ b/interfaces/plugin/BUILD.gn @@ -13,7 +13,7 @@ #import("//build/config/ohos/rules.gni") import("//build/ohos.gni") -ohos_shared_library("libsensor_sensor") { +ohos_shared_library("libsensor") { include_dirs = [ "//third_party/node/src", "//native_engine", @@ -45,5 +45,5 @@ ohos_shared_library("libsensor_sensor") { } group("sensor_js_target") { - deps = [ ":libsensor_sensor" ] + deps = [ ":libsensor" ] } -- Gitee