summaryrefslogtreecommitdiff
path: root/tests/projects/android/native_app/lvgl_basic/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-16 17:57:11 +0800
committerGitHub <[email protected]>2025-12-16 17:57:11 +0800
commitd1485fa867ebb3b661a16ec043f33537a7f9f0cd (patch)
tree351a965dfb03438caf4a5a55620a11108ffabcac /tests/projects/android/native_app/lvgl_basic/xmake.lua
parentd3acb6ca0d74d506d4a7da0fb7c055344591cb7a (diff)
parent7b542ebe22e833bd56dd1eb0271aa5aa7c0b45a8 (diff)
Merge pull request #7139 from xmake-io/android
Add android native app support
Diffstat (limited to 'tests/projects/android/native_app/lvgl_basic/xmake.lua')
-rw-r--r--tests/projects/android/native_app/lvgl_basic/xmake.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/projects/android/native_app/lvgl_basic/xmake.lua b/tests/projects/android/native_app/lvgl_basic/xmake.lua
new file mode 100644
index 000000000..659d04f45
--- /dev/null
+++ b/tests/projects/android/native_app/lvgl_basic/xmake.lua
@@ -0,0 +1,23 @@
+add_rules("mode.debug", "mode.release")
+
+add_requires("lvgl 9.1.0")
+
+target("lvgl_basic")
+ set_kind("binary")
+ set_languages("c99")
+ add_files("src/main.c")
+ add_syslinks("log", "android", "EGL", "GLESv2")
+ add_packages("lvgl")
+
+ -- define LV_CONF_INCLUDE_SIMPLE to include lv_conf.h
+ add_defines("LV_CONF_INCLUDE_SIMPLE")
+
+ add_rules("android.native_app", {
+ android_sdk_version = "35",
+ android_manifest = "android/AndroidManifest.xml",
+ android_res = "android/res",
+ keystore = "android/debug.jks",
+ keystore_pass = "123456",
+ package_name = "com.lvgl.basic",
+ logcat_filters = {"lvgl_basic", "lvgl"}
+ })