[Feat] (Android): the render server screen and binary ship in the plugin APK too, not just trace

This commit is contained in:
2026-09-28 22:10:56 -04:00
parent 2fa58940e4
commit 1987bdff5c
16 changed files with 128 additions and 74 deletions
+6 -2
View File
@@ -30,9 +30,13 @@ subprojects {
externalNativeBuild {
cmake {
// P5 trace A/B: :MobileGL owns libMobileGL.so, not :app's replay runner.
// Both flavors ship the render server, so the split shape is on by default
// (-Pmobilegl.buildDisaggregated=OFF opts out); INPROC follows it, as in
// MobileGL/build.gradle.
val disaggregated = project.findProperty("mobilegl.buildDisaggregated") ?: "ON"
arguments += listOf(
"-DMOBILEGL_BUILD_DISAGGREGATED=${project.findProperty("mobilegl.buildDisaggregated") ?: "OFF"}",
"-DMOBILEGL_BUILD_DISAGGREGATED_INPROC=${project.findProperty("mobilegl.buildDisaggregatedInproc") ?: "OFF"}",
"-DMOBILEGL_BUILD_DISAGGREGATED=$disaggregated",
"-DMOBILEGL_BUILD_DISAGGREGATED_INPROC=${project.findProperty("mobilegl.buildDisaggregatedInproc") ?: disaggregated}",
)
mobileGlCmakeCompilerLauncher().takeIf(String::isNotEmpty)?.let { compilerLauncher ->
arguments += listOf(