this should fix windows build (?)

This commit is contained in:
MrPurple666 2026-01-26 22:56:42 -03:00
parent 7e3c0ea22b
commit 0f5c595908
3 changed files with 15 additions and 2 deletions

View File

@ -6,12 +6,17 @@ add_library(gpu_logging STATIC
gpu_logging.h
gpu_state_capture.cpp
gpu_state_capture.h
freedreno_debug.cpp
freedreno_debug.h
qualcomm_debug.cpp
qualcomm_debug.h
)
if(ANDROID)
target_sources(gpu_logging PRIVATE
freedreno_debug.cpp
freedreno_debug.h
)
endif()
target_link_libraries(gpu_logging PUBLIC common)
if(ANDROID)

View File

@ -1,6 +1,8 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
#ifdef ANDROID
#include "video_core/gpu_logging/freedreno_debug.h"
#include "common/logging/log.h"
@ -46,3 +48,5 @@ std::string FreedrenoDebugger::GetBreadcrumbs() {
}
} // namespace GPU::Logging::Freedreno
#endif // ANDROID

View File

@ -3,6 +3,8 @@
#pragma once
#ifdef ANDROID
#include <string>
namespace GPU::Logging::Freedreno {
@ -26,3 +28,5 @@ private:
};
} // namespace GPU::Logging::Freedreno
#endif // ANDROID