virtualx-engine/platform/android
Rémi Verschelde 3907e53ff6
SCons: Disable C++ exception handling
Upon investigating the extremely slow MSVC build times in #80513, I noticed
that while Godot policy is to never use exceptions, we weren't enforcing it
with compiler flags, and thus still included exception handling code and
stack unwinding.

This is wasteful on multiple aspects:

- Binary size: Around 20% binary size reduction with exceptions disabled
  for both MSVC and GCC binaries.
- Compile time:
  * More than 50% build time reduction with MSVC.
  * 10% to 25% build time reduction with GCC + LTO.
- Performance: Possibly, needs to be benchmarked.

Since users may want to re-enable exceptions in their own thirdparty code
or the libraries they compile with Godot, this behavior can be toggled with
the `disable_exceptions` SCons option, which defaults to true.
2023-08-16 10:23:34 +02:00
..
api Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
doc_classes Add export setting to control whether to show the Godot app in the app library 2023-08-13 09:54:10 -04:00
export Merge pull request #80569 from m4gr3d/show_in_app_library_settings_main 2023-08-16 09:13:30 +02:00
java Add export setting to control whether to show the Godot app in the app library 2023-08-13 09:54:10 -04:00
plugin Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
android_input_handler.cpp Merge pull request #78538 from Sauermann/fix-code-simplifications 2023-07-12 15:09:26 +02:00
android_input_handler.h [Android] Set echo property for the physical keyboard events. 2023-07-06 09:53:50 +03:00
android_keys_utils.cpp Cleanup and unify keyboard input. 2023-01-23 15:08:12 +02:00
android_keys_utils.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
audio_driver_opensl.cpp Fix issue causing the Android editor to crash when creating a new AudioStreamMicrophone 2023-05-31 00:58:27 -07:00
audio_driver_opensl.h Further refactoring to AudioDriver implementations after #69120. 2023-02-09 11:02:00 +01:00
detect.py SCons: Disable C++ exception handling 2023-08-16 10:23:34 +02:00
dir_access_jandroid.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
dir_access_jandroid.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
display_server_android.cpp [DisplayServer] Add method to check if native window is focused. 2023-06-16 10:27:52 +03:00
display_server_android.h [DisplayServer] Add method to check if native window is focused. 2023-06-16 10:27:52 +03:00
file_access_android.cpp Restore FileAccess.close method. 2023-02-16 15:34:20 +02:00
file_access_android.h [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
file_access_filesystem_jandroid.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
file_access_filesystem_jandroid.h [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
java_class_wrapper.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
java_godot_io_wrapper.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
java_godot_io_wrapper.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
java_godot_lib_jni.cpp Godot Android re-architecture 2023-07-16 18:56:58 -07:00
java_godot_lib_jni.h [Android] Set echo property for the physical keyboard events. 2023-07-06 09:53:50 +03:00
java_godot_view_wrapper.cpp Improve touchpad and mouse support for the Android editor 2023-05-25 20:27:04 -07:00
java_godot_view_wrapper.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
java_godot_wrapper.cpp Godot Android re-architecture 2023-07-16 18:56:58 -07:00
java_godot_wrapper.h Godot Android re-architecture 2023-07-16 18:56:58 -07:00
jni_utils.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
jni_utils.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
net_socket_android.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
net_socket_android.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
os_android.cpp Fix formatting of dlopen error message on Windows 2023-07-09 23:39:45 +02:00
os_android.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
platform_config.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
README.md Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
SCsub Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
string_android.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
thread_jandroid.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
thread_jandroid.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
tts_android.cpp Add audio/general/text_to_speech project setting to enable/disable TTS. 2023-05-18 20:16:03 +03:00
tts_android.h Add audio/general/text_to_speech project setting to enable/disable TTS. 2023-05-18 20:16:03 +03:00
vulkan_context_android.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
vulkan_context_android.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00

Android platform port

This folder contains the Java and C++ (JNI) code for the Android platform port, using Gradle as a build system.

Documentation

Artwork license

logo.png and run_icon.png are licensed under Creative Commons Attribution 3.0 Unported per the Android logo usage guidelines:

The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.