Skip to content

Remove redundant TOOLS_ENABLED ifdefs#118112

Open
KoBeWi wants to merge 1 commit intogodotengine:masterfrom
KoBeWi:EDITORS_ENABLED
Open

Remove redundant TOOLS_ENABLED ifdefs#118112
KoBeWi wants to merge 1 commit intogodotengine:masterfrom
KoBeWi:EDITORS_ENABLED

Conversation

@KoBeWi
Copy link
Copy Markdown
Member

@KoBeWi KoBeWi commented Apr 2, 2026

I just had this on my TODO list. Seems like I already did #104130 once and forgot about it, but there are some new cases added apparently.
Not sure about the Android editor changes though. Looks like it was done for a reason?

@KoBeWi KoBeWi added this to the 4.x milestone Apr 2, 2026
@KoBeWi KoBeWi requested review from a team as code owners April 2, 2026 11:02
@m4gr3d
Copy link
Copy Markdown
Contributor

m4gr3d commented Apr 2, 2026

From https://github.com/KoBeWi/godot/blob/EDITORS_ENABLED/platform/android/SCsub#L35, it looks like those Android editor files are always compiled so we may want to keep the guards.

@KoBeWi
Copy link
Copy Markdown
Member Author

KoBeWi commented Apr 2, 2026

Are they needed outside the editor/ folder? They should be compiled only in editor builds.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants