From 13a0ddc2bdb60e757f3d149e6283989b238ba784 Mon Sep 17 00:00:00 2001 From: chengfeng27 Date: Fri, 2 Feb 2024 16:32:02 +0800 Subject: [PATCH] update syscap SystemCapability.AI.MindSporeLite Signed-off-by: chengfeng27 --- third_party/mindspore/kits/BUILD.gn | 74 +++++++++++++------------- third_party/mindspore/kits/context.h | 2 +- third_party/mindspore/kits/data_type.h | 2 +- third_party/mindspore/kits/format.h | 2 +- third_party/mindspore/kits/model.h | 2 +- third_party/mindspore/kits/status.h | 2 +- third_party/mindspore/kits/tensor.h | 2 +- third_party/mindspore/kits/types.h | 2 +- 8 files changed, 44 insertions(+), 44 deletions(-) diff --git a/third_party/mindspore/kits/BUILD.gn b/third_party/mindspore/kits/BUILD.gn index 294ac2da5..18a4ba872 100644 --- a/third_party/mindspore/kits/BUILD.gn +++ b/third_party/mindspore/kits/BUILD.gn @@ -1,37 +1,37 @@ -# Copyright 2022 Huawei Technologies Co., Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ============================================================================ - -import("//build/ohos.gni") - -ohos_ndk_headers("mindspore_header") { - dest_dir = "$ndk_headers_out_dir/mindspore" - sources = [ - "context.h", - "data_type.h", - "format.h", - "model.h", - "status.h", - "tensor.h", - "types.h", - ] -} - -ohos_ndk_library("mindspore_lib") { - output_name = "mindspore_lite_ndk" - output_extension = "so" - ndk_description_file = "./mindspore_lib.ndk.json" - system_capability = "SystemCapability.Ai.MindSpore" - min_compact_version = "9" -} +# Copyright 2022 Huawei Technologies Co., Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============================================================================ + +import("//build/ohos.gni") + +ohos_ndk_headers("mindspore_header") { + dest_dir = "$ndk_headers_out_dir/mindspore" + sources = [ + "context.h", + "data_type.h", + "format.h", + "model.h", + "status.h", + "tensor.h", + "types.h", + ] +} + +ohos_ndk_library("mindspore_lib") { + output_name = "mindspore_lite_ndk" + output_extension = "so" + ndk_description_file = "./mindspore_lib.ndk.json" + system_capability = "SystemCapability.AI.MindSporeLite" + min_compact_version = "9" +} diff --git a/third_party/mindspore/kits/context.h b/third_party/mindspore/kits/context.h index 354443992..b7d999bb4 100644 --- a/third_party/mindspore/kits/context.h +++ b/third_party/mindspore/kits/context.h @@ -20,7 +20,7 @@ * * @brief 提供MindSpore Lite的模型推理相关接口。 * - * @Syscap SystemCapability.Ai.MindSpore + * @Syscap SystemCapability.AI.MindSporeLite * @since 9 */ diff --git a/third_party/mindspore/kits/data_type.h b/third_party/mindspore/kits/data_type.h index 087662bf1..47d756c28 100644 --- a/third_party/mindspore/kits/data_type.h +++ b/third_party/mindspore/kits/data_type.h @@ -20,7 +20,7 @@ * * @brief 提供MindSpore Lite的模型推理相关接口。 * - * @Syscap SystemCapability.Ai.MindSpore + * @Syscap SystemCapability.AI.MindSporeLite * @since 9 */ diff --git a/third_party/mindspore/kits/format.h b/third_party/mindspore/kits/format.h index 0dad64d3e..5351b91c1 100644 --- a/third_party/mindspore/kits/format.h +++ b/third_party/mindspore/kits/format.h @@ -20,7 +20,7 @@ * * @brief 提供MindSpore Lite的模型推理相关接口。 * - * @Syscap SystemCapability.Ai.MindSpore + * @Syscap SystemCapability.AI.MindSporeLite * @since 9 */ diff --git a/third_party/mindspore/kits/model.h b/third_party/mindspore/kits/model.h index ee7eed7d4..f887b300e 100644 --- a/third_party/mindspore/kits/model.h +++ b/third_party/mindspore/kits/model.h @@ -20,7 +20,7 @@ * * @brief provide the model reasoning related interfaces of MindSpore Lite. * - * @Syscap SystemCapability.Ai.MindSpore + * @Syscap SystemCapability.AI.MindSporeLite * @since 9 */ diff --git a/third_party/mindspore/kits/status.h b/third_party/mindspore/kits/status.h index 9481c78e6..65397f5ac 100644 --- a/third_party/mindspore/kits/status.h +++ b/third_party/mindspore/kits/status.h @@ -20,7 +20,7 @@ * * @brief 提供MindSpore Lite的模型推理相关接口。 * - * @Syscap SystemCapability.Ai.MindSpore + * @Syscap SystemCapability.AI.MindSporeLite * @since 9 */ diff --git a/third_party/mindspore/kits/tensor.h b/third_party/mindspore/kits/tensor.h index b0ff5fea1..6226db9b2 100644 --- a/third_party/mindspore/kits/tensor.h +++ b/third_party/mindspore/kits/tensor.h @@ -20,7 +20,7 @@ * * @brief 提供MindSpore Lite的模型推理相关接口。 * - * @Syscap SystemCapability.Ai.MindSpore + * @Syscap SystemCapability.AI.MindSporeLite * @since 9 */ diff --git a/third_party/mindspore/kits/types.h b/third_party/mindspore/kits/types.h index 92ff8d150..29f360e79 100644 --- a/third_party/mindspore/kits/types.h +++ b/third_party/mindspore/kits/types.h @@ -20,7 +20,7 @@ * * @brief provide the model reasoning related interfaces of MindSpore Lite. * - * @Syscap SystemCapability.Ai.MindSpore + * @Syscap SystemCapability.AI.MindSporeLite * @since 9 */ -- Gitee