From d27b93c71cc36adafbe320451bd613e587ca4531 Mon Sep 17 00:00:00 2001 From: TonyWang222 Date: Fri, 30 Dec 2022 15:21:41 +0800 Subject: [PATCH] change minspore include dir Change-Id: I3fd093e1ab3a3bf562d5bce5776b5a66d7cafea9 Signed-off-by: TonyWang222 --- ai/mindspore/BUILD.gn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ai/mindspore/BUILD.gn b/ai/mindspore/BUILD.gn index 4d8427dc5..4d30362a2 100644 --- a/ai/mindspore/BUILD.gn +++ b/ai/mindspore/BUILD.gn @@ -15,6 +15,10 @@ import("//test/xts/tools/build/suite.gni") module_output_path = "acts/ActsMindSporeTest" +config("mindspore_config"){ + include_dirs = [ "//third_party/mindspore/" ] +} + ohos_moduletest_suite("ActsMindSporeTest") { module_out_path = module_output_path sources = [ @@ -22,7 +26,7 @@ ohos_moduletest_suite("ActsMindSporeTest") { "src/ohos_common.cpp", ] - include_dirs = [ "//foundation/ai/mindspore/" ] + configs = [ ":mindspore_config" ] deps = [ "//third_party/googletest:gmock", -- GitLab