Improve compilation speed (forward declarations/includes cleanup)

This commit is contained in:
Hendrik Brucker 2022-02-12 02:46:22 +01:00
parent 36892b7fc8
commit b396fd4eef
308 changed files with 664 additions and 350 deletions

View file

@ -30,6 +30,8 @@
#include "export_plugin.h"
#include "editor/editor_node.h"
static const char *android_perms[] = {
"ACCESS_CHECKIN_PROPERTIES",
"ACCESS_COARSE_LOCATION",

View file

@ -41,7 +41,6 @@
#include "drivers/png/png_driver_common.h"
#include "editor/editor_export.h"
#include "editor/editor_log.h"
#include "editor/editor_node.h"
#include "editor/editor_settings.h"
#include "main/splash.gen.h"
#include "platform/android/logo.gen.h"

View file

@ -30,6 +30,8 @@
#include "gradle_export_util.h"
#include "core/config/project_settings.h"
int _get_android_orientation_value(DisplayServer::ScreenOrientation screen_orientation) {
switch (screen_orientation) {
case DisplayServer::SCREEN_PORTRAIT: