[Bindings] Build profile now strips methods and skip files

This allows removing dependencies that are not explicitly unused by the
gdextension being built and is implemented using an intermediate json
API file with the methods and classes stripped (i.e. without touching
the file generators).

(cherry picked from commit c4f1abe3f9)
This commit is contained in:
Fabio Alessandrelli
2024-12-20 03:31:59 +01:00
committed by David Snopek
parent 95a29550a7
commit 71b5b84fb1
4 changed files with 235 additions and 136 deletions

View File

@@ -1,9 +1,13 @@
{
"enabled_classes": [
"Control",
"InputEventKey",
"Label",
"MultiplayerAPI",
"MultiplayerPeer",
"OS",
"TileMap",
"InputEventKey"
"TileSet",
"Viewport"
]
}