From c28ac234ef151b566edda6e3a80d26f9979839a7 Mon Sep 17 00:00:00 2001 From: huruitao Date: Thu, 23 May 2024 17:12:39 +0800 Subject: [PATCH] fix build.gn Signed-off-by: huruitao --- source/opt/BUILD.gn | 1 + source/opt/pass_manager.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/opt/BUILD.gn b/source/opt/BUILD.gn index 1b3d906b..7f6d23db 100644 --- a/source/opt/BUILD.gn +++ b/source/opt/BUILD.gn @@ -323,6 +323,7 @@ ohos_source_set("deqp_spirvtool_opt_source") { "//third_party/spirv-headers/include", "//third_party/spirv-headers/include/spirv/unified1", "//third_party/spirv-tools/include", + "//third_party/spirv-tools/source/opt", "//third_party/spirv-tools/source/util", ] diff --git a/source/opt/pass_manager.cpp b/source/opt/pass_manager.cpp index 88de57e5..d3c47e7f 100644 --- a/source/opt/pass_manager.cpp +++ b/source/opt/pass_manager.cpp @@ -18,8 +18,8 @@ #include #include -#include "third_party/spirv-tools/source/opt/ir_context.h" -#include "third_party/spirv-tools/source/util/timer.h" +#include "source/opt/ir_context.h" +#include "source/util/timer.h" #include "spirv-tools/libspirv.hpp" namespace spvtools {