[CI] (android-plugin): specify MOBILEGL_LOG_ACTIVE_LEVEL=MOBILEGL_LOG_LEVEL_INFO define

This commit is contained in:
2026-05-24 08:45:02 +08:00
parent dcfe91bdfc
commit 482b6d7bbf
2 changed files with 11 additions and 2 deletions
+2
View File
@@ -34,7 +34,9 @@
#define MOBILEGL_EGL_API MOBILEGL_API #define MOBILEGL_EGL_API MOBILEGL_API
// ====================== MobileGL configurations ======================= // // ====================== MobileGL configurations ======================= //
#ifndef MOBILEGL_LOG_ACTIVE_LEVEL
#define MOBILEGL_LOG_ACTIVE_LEVEL MOBILEGL_LOG_LEVEL_DEBUG #define MOBILEGL_LOG_ACTIVE_LEVEL MOBILEGL_LOG_LEVEL_DEBUG
#endif
#define MOBILEGL_LOG_ENABLE_CONSOLE 0 #define MOBILEGL_LOG_ENABLE_CONSOLE 0
#define MOBILEGL_LOG_ENABLE_FILE 1 #define MOBILEGL_LOG_ENABLE_FILE 1
+9 -2
View File
@@ -5,7 +5,14 @@ plugins {
subprojects { subproject -> subprojects { subproject ->
subproject.plugins.withId('com.android.library') { subproject.plugins.withId('com.android.library') {
subproject.android.defaultConfig.ndk.abiFilters.clear() subproject.android {
subproject.android.defaultConfig.ndk.abiFilters.add('arm64-v8a') defaultConfig {
externalNativeBuild {
cmake {
cppFlags '-DMOBILEGL_LOG_ACTIVE_LEVEL=MOBILEGL_LOG_LEVEL_INFO'
}
}
}
}
} }
} }