summaryrefslogtreecommitdiff
path: root/tests/projects/android/native_app/lvgl_basic/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-16 23:49:50 +0800
committerruki <[email protected]>2025-12-16 23:49:50 +0800
commit858fd30a65ac524600e5d3c35539d9204fbea73e (patch)
tree44864cb1a0db08dea3a069b7660cd8303edca044 /tests/projects/android/native_app/lvgl_basic/xmake.lua
parent22b299efd13de014023a652bb49f312d4d394c91 (diff)
add lvgl tests
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"}
+ })