Skip to content

Remove Android-specific build files#2989

Open
MarkY-LunarG wants to merge 3 commits into
LunarG:devfrom
MarkY-LunarG:marky-merge-android-build-files
Open

Remove Android-specific build files#2989
MarkY-LunarG wants to merge 3 commits into
LunarG:devfrom
MarkY-LunarG:marky-merge-android-build-files

Conversation

@MarkY-LunarG

Copy link
Copy Markdown
Contributor

Merge Android and desktop build files where possible.

@charles-lunarg charles-lunarg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question about putting build files in the source tree, and a comment about replacing GFXRECON_SOURCE_DIR with PROJECT_SOURCE_DIR.

Comment thread android/test/test_apps/common/CMakeLists.txt
Comment thread CMakeLists.txt
@bradgrantham-lunarg bradgrantham-lunarg added the approved-to-run-ci Can run CI check on internal LunarG machines label Jun 2, 2026
Comment thread framework/encode/CMakeLists.txt Outdated
@MarkY-LunarG MarkY-LunarG force-pushed the marky-merge-android-build-files branch from 1fb116e to 7ec3c20 Compare June 8, 2026 14:51
message(STATUS "OpenXR support disabled!")
endif()

add_subdirectory(../framework/util ${PROJECT_SOURCE_DIR}/../framework/util/build/layer/${ANDROID_ABI})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to delete android/framework/decode and android/framework/util directories?

$<$<BOOL:${X11_FOUND}>:${CMAKE_CURRENT_LIST_DIR}/xlib_loader.cpp>
$<$<BOOL:${WAYLAND_FOUND}>:${CMAKE_CURRENT_LIST_DIR}/wayland_loader.h>
$<$<BOOL:${WAYLAND_FOUND}>:${CMAKE_CURRENT_LIST_DIR}/wayland_loader.cpp>
$<$<BOOL:${WAYLAND_FOUND}>:${PROJECT_SOURCE_DIR}/framework/generated/generated_wayland_xdg_shell.h>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PROJECT_SOURCE_DIR->GFXRECON_SOURCE_DIR

@marius-pelegrin-arm

Copy link
Copy Markdown
Contributor

Tested the change internally and it works for us (@per-mathisen-arm)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-to-run-ci Can run CI check on internal LunarG machines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants