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" ] }