From f53d6cf4b4b27290f6d9f1432ceb4f8997f831af Mon Sep 17 00:00:00 2001
From: tangshihua <tangshihua@huawei.com>
Date: Mon, 28 Nov 2022 15:44:33 +0800
Subject: [PATCH] bugfix

Signed-off-by: tangshihua <tangshihua@huawei.com>
---
 ai/neural_network_runtime/BUILD.gn           | 2 --
 ai/neural_network_runtime/interface/BUILD.gn | 3 +++
 ai/neural_network_runtime/stability/BUILD.gn | 3 +++
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ai/neural_network_runtime/BUILD.gn b/ai/neural_network_runtime/BUILD.gn
index 6b02cac79..76b7bd776 100644
--- a/ai/neural_network_runtime/BUILD.gn
+++ b/ai/neural_network_runtime/BUILD.gn
@@ -17,6 +17,4 @@ group("neural_network_runtime") {
     "interface:ActsAiNnrtFunctionTest",
     "stability:ActsAiNnrtStabilityTest",
   ]
-  subsystem_name = "ai"
-  part_name = "neural_network_runtime"
 }
diff --git a/ai/neural_network_runtime/interface/BUILD.gn b/ai/neural_network_runtime/interface/BUILD.gn
index 319184e88..e68bce6ef 100644
--- a/ai/neural_network_runtime/interface/BUILD.gn
+++ b/ai/neural_network_runtime/interface/BUILD.gn
@@ -51,5 +51,8 @@ ohos_moduletest_suite("ActsAiNnrtFunctionTest") {
     "mindspore:mindir",
   ]
 
+  subsystem_name = "ai"
+  part_name = "neural_network_runtime"
+
   cflags = [ "-Wno-error" ]
 }
diff --git a/ai/neural_network_runtime/stability/BUILD.gn b/ai/neural_network_runtime/stability/BUILD.gn
index 2ddde55b1..2fd52a7c5 100644
--- a/ai/neural_network_runtime/stability/BUILD.gn
+++ b/ai/neural_network_runtime/stability/BUILD.gn
@@ -47,5 +47,8 @@ ohos_moduletest_suite("ActsAiNnrtStabilityTest") {
     "mindspore:mindir",
   ]
 
+  subsystem_name = "ai"
+  part_name = "neural_network_runtime"
+
   cflags = [ "-Wno-error" ]
 }
-- 
GitLab