mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 05:38:31 +09:00
[Fix] (Retrace): bundle and select signed ANGLE variants
This commit is contained in:
@@ -3,6 +3,7 @@ apply plugin: 'com.android.library'
|
||||
def mobileGlLogActiveLevel = {
|
||||
(rootProject.findProperty('mobilegl.logLevel') ?: System.getenv('MOBILEGL_LOG_ACTIVE_LEVEL') ?: 'MOBILEGL_LOG_LEVEL_INFO') as String
|
||||
}
|
||||
def standalonePluginBuild = rootProject.name == 'MobileGLPlugin'
|
||||
|
||||
android {
|
||||
namespace 'top.mobilegl.mobilegl'
|
||||
@@ -32,6 +33,22 @@ android {
|
||||
debuggable true
|
||||
}
|
||||
}
|
||||
if (standalonePluginBuild) {
|
||||
flavorDimensions 'profile'
|
||||
productFlavors {
|
||||
plugin {
|
||||
dimension 'profile'
|
||||
}
|
||||
trace {
|
||||
dimension 'profile'
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
arguments '-DMOBILEGL_TRACE_ANGLE_VARIANTS=ON'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
path "CMakeLists.txt"
|
||||
|
||||
Reference in New Issue
Block a user