提交 0a4563ea 编写于 作者: T tangshihua

格式化build.gn

Signed-off-by: Ntangshihua <tangshihua@huawei.com>
上级 8eddcccf
...@@ -14,4 +14,4 @@ ...@@ -14,4 +14,4 @@
group("ai") { group("ai") {
testonly = true testonly = true
deps = [ "neural_network_runtime:neural_network_runtime" ] deps = [ "neural_network_runtime:neural_network_runtime" ]
} }
\ No newline at end of file
...@@ -17,13 +17,13 @@ ohos_moduletest_suite("ActsAiNnrtFunctionTest") { ...@@ -17,13 +17,13 @@ ohos_moduletest_suite("ActsAiNnrtFunctionTest") {
testonly = true testonly = true
module_out_path = "acts/nnrt" module_out_path = "acts/nnrt"
sources = [ sources = [
"src/DeviceTest.cpp", "../common/mock_idevice.cpp",
"src/ModelTest.cpp", "../common/nnrt_utils.cpp",
"src/CompileTest.cpp", "src/CompileTest.cpp",
"src/MemoryTest.cpp", "src/DeviceTest.cpp",
"src/ExecutorTest.cpp", "src/ExecutorTest.cpp",
"../common/nnrt_utils.cpp", "src/MemoryTest.cpp",
"../common/mock_idevice.cpp", "src/ModelTest.cpp",
] ]
include_dirs = [ include_dirs = [
...@@ -32,7 +32,7 @@ ohos_moduletest_suite("ActsAiNnrtFunctionTest") { ...@@ -32,7 +32,7 @@ ohos_moduletest_suite("ActsAiNnrtFunctionTest") {
"//foundation/ai/neural_network_runtime/third_party/include", "//foundation/ai/neural_network_runtime/third_party/include",
"//third_party/googletest/googletest/include", "//third_party/googletest/googletest/include",
"//third_party/googletest/googlemock/include", "//third_party/googletest/googlemock/include",
"//third_party/mindspore/mindspore/lite/mindir/include" "//third_party/mindspore/mindspore/lite/mindir/include",
] ]
deps = [ deps = [
"//foundation/ai/neural_network_runtime/frameworks:libneural_network_runtime", "//foundation/ai/neural_network_runtime/frameworks:libneural_network_runtime",
...@@ -42,13 +42,13 @@ ohos_moduletest_suite("ActsAiNnrtFunctionTest") { ...@@ -42,13 +42,13 @@ ohos_moduletest_suite("ActsAiNnrtFunctionTest") {
external_deps = [ external_deps = [
"c_utils:utils", "c_utils:utils",
"hdf_core:libhdi", "drivers_interface_nnrt:libnnrt_proxy_1.0",
"ipc:ipc_single",
"hdf_core:libhdf_utils", "hdf_core:libhdf_utils",
"hdf_core:libhdi",
"hilog_native:libhilog", "hilog_native:libhilog",
"hitrace_native:libhitracechain", "hitrace_native:libhitracechain",
"drivers_interface_nnrt:libnnrt_proxy_1.0", "ipc:ipc_single",
"mindspore:mindir" "mindspore:mindir",
] ]
cflags = [ "-Wno-error" ] cflags = [ "-Wno-error" ]
......
...@@ -17,9 +17,9 @@ ohos_moduletest_suite("ActsAiNnrtStabilityTest") { ...@@ -17,9 +17,9 @@ ohos_moduletest_suite("ActsAiNnrtStabilityTest") {
testonly = true testonly = true
module_out_path = "acts/nnrt" module_out_path = "acts/nnrt"
sources = [ sources = [
"src/MultiThreadTest.cpp",
"../common/nnrt_utils.cpp",
"../common/mock_idevice.cpp", "../common/mock_idevice.cpp",
"../common/nnrt_utils.cpp",
"src/MultiThreadTest.cpp",
] ]
include_dirs = [ include_dirs = [
...@@ -28,7 +28,7 @@ ohos_moduletest_suite("ActsAiNnrtStabilityTest") { ...@@ -28,7 +28,7 @@ ohos_moduletest_suite("ActsAiNnrtStabilityTest") {
"//foundation/ai/neural_network_runtime/third_party/include", "//foundation/ai/neural_network_runtime/third_party/include",
"//third_party/googletest/googletest/include", "//third_party/googletest/googletest/include",
"//third_party/googletest/googlemock/include", "//third_party/googletest/googlemock/include",
"//third_party/mindspore/mindspore/lite/mindir/include" "//third_party/mindspore/mindspore/lite/mindir/include",
] ]
deps = [ deps = [
"//foundation/ai/neural_network_runtime/frameworks:libneural_network_runtime", "//foundation/ai/neural_network_runtime/frameworks:libneural_network_runtime",
...@@ -38,13 +38,13 @@ ohos_moduletest_suite("ActsAiNnrtStabilityTest") { ...@@ -38,13 +38,13 @@ ohos_moduletest_suite("ActsAiNnrtStabilityTest") {
external_deps = [ external_deps = [
"c_utils:utils", "c_utils:utils",
"hdf_core:libhdi", "drivers_interface_nnrt:libnnrt_proxy_1.0",
"ipc:ipc_single",
"hdf_core:libhdf_utils", "hdf_core:libhdf_utils",
"hdf_core:libhdi",
"hilog_native:libhilog", "hilog_native:libhilog",
"hitrace_native:libhitracechain", "hitrace_native:libhitracechain",
"drivers_interface_nnrt:libnnrt_proxy_1.0", "ipc:ipc_single",
"mindspore:mindir" "mindspore:mindir",
] ]
cflags = [ "-Wno-error" ] cflags = [ "-Wno-error" ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册