diff --git a/ai/neural_network_runtime/BUILD.gn b/ai/neural_network_runtime/BUILD.gn index 6b02cac792a54c0e80c11f70bc372bcb10ed7ac3..76b7bd776a8b8dd98137d6529daf93dd2f5d65a1 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 319184e88b10aa5a49a3413d4c19d3d6e958efdc..e68bce6ef3c1e2b03b26674a7fe86a5c64a1c45d 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 2ddde55b164a39a3002fd904531854f5a6099c47..2fd52a7c5d44e26d6a5a2f6fe396c2aae32db718 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" ] }