virtualx-engine/platform/android
Rémi Verschelde b0b759e6da
SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines
- `_DEBUG` is MSVC specific so it didn't make much sense to define for
  Android and iOS builds.
- iOS was the only platform to define `DEBUG`. We don't use it anywhere
  outside thirdparty code, which we usually don't intend to debug, so it
  seems better to be consistent with other platforms.
- Consistently define `NDEBUG` to disable assert behavior in both `release`
  and `release_debug` targets. This used to be set for `release` for all
  platforms, and `release_debug` for Android and iOS only.
- Due to the above, I removed the only use we made of `assert()` in Godot
  code, which was only implemented for Unix anyway, should have been
  `DEV_ENABLED`, and is in PoolAllocator which we don't actually use.
- The denoise and recast modules keep defining `NDEBUG` even for the `debug`
  target as we don't want OIDN and Embree asserting all over the place.

(cherry picked from commit 26e9145c26)
2022-12-12 14:49:21 +01:00
..
api Cleanup Android C++ code 2022-05-31 17:11:44 +01:00
export fix exporting Android APPLICATION_ATTRIBS (3.X) 2022-11-22 12:24:17 -08:00
java Fix parsing of the keep_screen_on display setting 2022-11-30 15:52:10 +01:00
plugin Cleanup Android C++ code 2022-05-31 17:11:44 +01:00
android_input_handler.cpp Add support for pointer capture 2022-11-07 08:38:28 -08:00
android_input_handler.h Add support for pointer capture 2022-11-07 08:38:28 -08:00
android_keys_utils.cpp Fix incorrect Android scancodes 2022-07-13 16:24:37 +01:00
android_keys_utils.h Fix wrong android key mapping. 2022-11-30 15:47:30 +01:00
audio_driver_opensl.cpp Cleanup Android C++ code 2022-05-31 17:11:44 +01:00
audio_driver_opensl.h Cleanup Android C++ code 2022-05-31 17:11:44 +01:00
detect.py SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines 2022-12-12 14:49:21 +01:00
dir_access_jandroid.cpp Additional fixes to the Android get_current_dir() implementation. 2022-08-30 10:08:30 -07:00
dir_access_jandroid.h Additional fixes to the Android get_current_dir() implementation. 2022-08-30 10:08:30 -07:00
file_access_android.cpp Add full support for Android scoped storage. 2022-06-26 16:53:02 -07:00
file_access_android.h Add full support for Android scoped storage. 2022-06-26 16:53:02 -07:00
file_access_filesystem_jandroid.cpp Fix issue preventing the Android Editor from displaying the project content 2022-08-15 02:21:34 -07:00
file_access_filesystem_jandroid.h Fix issue preventing the Android Editor from displaying the project content 2022-08-15 02:21:34 -07:00
java_class_wrapper.cpp Cleanup Android C++ code 2022-05-31 17:11:44 +01:00
java_godot_io_wrapper.cpp Add support for multiple virtual keyboard types 2022-07-07 14:22:28 -04:00
java_godot_io_wrapper.h Add support for multiple virtual keyboard types 2022-07-07 14:22:28 -04:00
java_godot_lib_jni.cpp Fix 'save & restart' logic for the Android Editor 2022-11-16 03:29:40 -08:00
java_godot_lib_jni.h Add support for pointer capture 2022-11-07 08:38:28 -08:00
java_godot_view_wrapper.cpp Add support for pointer capture 2022-11-07 08:38:28 -08:00
java_godot_view_wrapper.h Add support for pointer capture 2022-11-07 08:38:28 -08:00
java_godot_wrapper.cpp Add cursor shape support for the Android platform 2022-10-05 12:08:54 -07:00
java_godot_wrapper.h Add cursor shape support for the Android platform 2022-10-05 12:08:54 -07:00
jni_utils.cpp Cleanup Android C++ code 2022-05-31 17:11:44 +01:00
jni_utils.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
logo.png Add logo attribution for Android, HTML5 and Linux platform icons 2021-09-21 17:14:59 +02:00
net_socket_android.cpp Cleanup Android C++ code 2022-05-31 17:11:44 +01:00
net_socket_android.h Cleanup Android C++ code 2022-05-31 17:11:44 +01:00
os_android.cpp Add support for pointer capture 2022-11-07 08:38:28 -08:00
os_android.h Add cursor shape support for the Android platform 2022-10-05 12:08:54 -07:00
platform_config.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
power_android.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
power_android.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
README.md Add logo attribution for Android, HTML5 and Linux platform icons 2021-09-21 17:14:59 +02:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub Add cursor shape support for the Android platform 2022-10-05 12:08:54 -07:00
string_android.h Cleanup Android C++ code 2022-05-31 17:11:44 +01:00
thread_jandroid.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
thread_jandroid.h Cleanup Android C++ code 2022-05-31 17:11:44 +01:00
tts_android.cpp Backport text-to-speech support. 2022-07-01 11:04:50 +03:00
tts_android.h Backport text-to-speech support. 2022-07-01 11:04:50 +03:00

Android platform port

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

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.