From 855cf199fc950de3e764a74e7b545c2213aa601c Mon Sep 17 00:00:00 2001 From: "Florian \"sp1rit\"​" Date: Wed, 16 Apr 2025 22:11:38 +0200 Subject: android: Added android_exe_type kwargs to executable By setting android_exe_type to `application`, the executable gets actually built as a shared library instead of an executable. This makes it possible to use an application within an android application process. mesonbuild#13758 https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7555/ --- docs/yaml/functions/executable.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/yaml/functions') diff --git a/docs/yaml/functions/executable.yaml b/docs/yaml/functions/executable.yaml index abbc5feee..df71b79fa 100644 --- a/docs/yaml/functions/executable.yaml +++ b/docs/yaml/functions/executable.yaml @@ -21,6 +21,17 @@ varargs_inherit: _build_target_base kwargs_inherit: _build_target_base kwargs: + android_exe_type: + type: str + default: "'executable'" + since: 1.8.0 + description: | + Specifies the intended target of the executable. This can either be + `executable`, if the intended usecase is to run the executable using + fork + exec, or `application` if the executable is supposed to be + loaded as shared object by the android runtime. + + export_dynamic: type: bool since: 0.45.0 -- cgit v1.2.3