summaryrefslogtreecommitdiff
path: root/docs/yaml/functions
diff options
context:
space:
mode:
authorFlorian "sp1rit"​ <sp1rit@disroot.org>2025-04-16 22:11:38 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2025-04-17 19:01:22 +0300
commit855cf199fc950de3e764a74e7b545c2213aa601c (patch)
treeaaa1c702e0ed75b1fd40554495d9518036bcd4cd /docs/yaml/functions
parentda28caa63dc855ad897b259e6dbc1615c847fbf8 (diff)
downloadmeson-855cf199fc950de3e764a74e7b545c2213aa601c.tar.gz
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/
Diffstat (limited to 'docs/yaml/functions')
-rw-r--r--docs/yaml/functions/executable.yaml11
1 files changed, 11 insertions, 0 deletions
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