mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-16 14:33:24 +09:00
[Feat] (Android): the render server screen and binary ship in the plugin APK too, not just trace
This commit is contained in:
+9
-3
@@ -23,13 +23,19 @@ def mobileGlBuildServerSpike = {
|
||||
(rootProject.findProperty('mobilegl.buildServerSpike') ?: System.getenv('MOBILEGL_BUILD_SERVER_SPIKE') ?: 'OFF') as String
|
||||
}
|
||||
|
||||
// Shared native shape for BOTH plugin and trace APKs. Defaults keep existing
|
||||
// callers on pull; disaggregated CI explicitly selects all three switches.
|
||||
// Shared native shape for BOTH plugin and trace APKs. The render server (libMobileGLServer.so and
|
||||
// the display server's JNI) is part of the split shape, and both flavors of a standalone plugin
|
||||
// build ship it, so there the split shape is ON unless a build opts out with
|
||||
// -Pmobilegl.buildDisaggregated=OFF. The runtime transport is unaffected: the app's
|
||||
// MOBILEGL_TRANSPORT env stays opt-in (app/build.gradle.kts), so the monolith path is still the
|
||||
// default. The FCL-embedded library keeps its old defaults (pull, no MG_Remote): FCL packages
|
||||
// neither the server nor its screen.
|
||||
// Disaggregated CI explicitly selects all three switches.
|
||||
def mobileGlPipePush = {
|
||||
(rootProject.findProperty('mobilegl.pipePush') ?: System.getenv('MOBILEGL_PIPE_PUSH_APK') ?: 'OFF') as String
|
||||
}
|
||||
def mobileGlBuildDisaggregated = {
|
||||
(rootProject.findProperty('mobilegl.buildDisaggregated') ?: System.getenv('MOBILEGL_BUILD_DISAGGREGATED') ?: 'OFF') as String
|
||||
(rootProject.findProperty('mobilegl.buildDisaggregated') ?: System.getenv('MOBILEGL_BUILD_DISAGGREGATED') ?: (standalonePluginBuild ? 'ON' : 'OFF')) as String
|
||||
}
|
||||
def mobileGlBuildDisaggregatedInproc = {
|
||||
(rootProject.findProperty('mobilegl.buildDisaggregatedInproc') ?: System.getenv('MOBILEGL_BUILD_DISAGGREGATED_INPROC') ?: mobileGlBuildDisaggregated()) as String
|
||||
|
||||
Reference in New Issue
Block a user