mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-20 08:21:56 +09:00
[Build] (P13 W2): push by default, drop the Gradle pipePush switch so FCL embeds the push monolith
This commit is contained in:
+3
-7
@@ -39,12 +39,9 @@ def mobileGlExtmemProbeAsServer = {
|
||||
// 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
|
||||
}
|
||||
// default. The FCL-embedded library is the push monolith without MG_Remote (P13 W2, ID-P13-1):
|
||||
// FCL packages neither the server nor its screen. The pipe is always pushed, so there is no
|
||||
// pipePush switch any more; disaggregated CI selects the two transport switches.
|
||||
def mobileGlBuildDisaggregated = {
|
||||
(rootProject.findProperty('mobilegl.buildDisaggregated') ?: System.getenv('MOBILEGL_BUILD_DISAGGREGATED') ?: (standalonePluginBuild ? 'ON' : 'OFF')) as String
|
||||
}
|
||||
@@ -76,7 +73,6 @@ android {
|
||||
cmake {
|
||||
arguments "-DMOBILEGL_LOG_ACTIVE_LEVEL=${mobileGlLogActiveLevel()}"
|
||||
arguments '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON'
|
||||
arguments "-DMOBILEGL_PIPE_PUSH=${mobileGlPipePush()}"
|
||||
arguments "-DMOBILEGL_BUILD_DISAGGREGATED=${mobileGlBuildDisaggregated()}"
|
||||
arguments "-DMOBILEGL_BUILD_DISAGGREGATED_INPROC=${mobileGlBuildDisaggregatedInproc()}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user