diff --git a/third_party/mindspore/kits/BUILD.gn b/third_party/mindspore/kits/BUILD.gn index 294ac2da5c08d371f8a9fefaf660143a2b70e6c7..18a4ba8722dbe66f9c83dc5c753d5a7ce43d53e8 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 354443992c74ceb1401ed7b450a60168fd559b16..b7d999bb41c0086ba542bf249be340767532aa0a 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 087662bf19908de8f98687c3862c1212de6f1174..47d756c2899549e2e965e7061c33b3d65f7a4280 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 0dad64d3e75b18906f2fb12e921847297c98d3d5..5351b91c1e748d82408c729ea2b82f6b15911a5d 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 ee7eed7d4328f68fc440b4a2acd349fb30963865..f887b300e77a8cd4570f8caf60dce18526931cd0 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 9481c78e6df8fa9e7aa1d9c34b79c6741bc414ac..65397f5acc456c37dbc9bb295a783532d42e51aa 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 b0ff5fea1d54ab7f1df4032f7bdfcafc3af18535..6226db9b2bdb6c307c2d862709fc4287e5c2579d 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 92ff8d15098ccf03b709ff3a3c81a8ae1e5232fe..29f360e7993e5fba18a431aaf4414567e1acc5b1 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 */