From 677b398ea4a96c12beb9cf2b620f036cfad09063 Mon Sep 17 00:00:00 2001 From: Erwin Jansen Date: Fri, 15 Mar 2024 14:36:45 -0700 Subject: [PATCH] Enable GFXStream bazel build This builds the "standalone" GFXStream library that can be consumed by Qemu 8.2 The bazel build allows us to transition rutabaga to a bazel based build, which will unify the Qemu 8.2 build as used by the emulator. It also opens up the path to migrate this to g3 if we decide to do this. This change forces a few header changes, as bazel is more strict about the relationship between headers and packages, and doesn't easily give you fine grained control over the include paths. Reviewed-by: Aaron Ruby Acked-by: Yonggang Luo Acked-by: Adam Jackson Part-of: --- src/gfxstream/codegen/scripts/cerealgenerator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gfxstream/codegen/scripts/cerealgenerator.py b/src/gfxstream/codegen/scripts/cerealgenerator.py index 2f561eb866d..aa957f8724d 100644 --- a/src/gfxstream/codegen/scripts/cerealgenerator.py +++ b/src/gfxstream/codegen/scripts/cerealgenerator.py @@ -496,7 +496,7 @@ using DlSymFunc = void* (void*, const char*); decoderHeaderIncludes = f""" #include "VkDecoderContext.h" -#include "host/ProcessResources.h" +#include "ProcessResources.h" #include @@ -519,7 +519,7 @@ class BumpPool; #include "{self.baseLibDirPrefix}/Tracing.h" #include "{self.baseLibDirPrefix}/Metrics.h" #include "render-utils/IOStream.h" -#include "host/FrameBuffer.h" +#include "FrameBuffer.h" #include "host-common/feature_control.h" #include "host-common/GfxstreamFatalError.h" #include "host-common/logging.h"