From b2248b240fec8902734bb57c7968399fb9bdef67 Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Sat, 14 Nov 2026 22:07:43 -0400 Subject: [PATCH] [CI, Docs] (.github/workflows, userguide): build the dev APK split so it defaults to inproc --- .github/workflows/apk.yml | 6 +++--- userguide/android-plugin.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/apk.yml b/.github/workflows/apk.yml index 32d52e24..500136c3 100644 --- a/.github/workflows/apk.yml +++ b/.github/workflows/apk.yml @@ -42,7 +42,7 @@ jobs: CCACHE_MAXSIZE: 4G CCACHE_NOHASHDIR: "true" MOBILEGL_CMAKE_COMPILER_LAUNCHER: ccache - MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }} + MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'dev' || github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }} steps: - name: Checkout repo @@ -251,7 +251,7 @@ jobs: name: trace case matrix runs-on: ubuntu-26.04 env: - MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }} + MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'dev' || github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }} outputs: android: ${{ steps.trace-cases.outputs.android }} names: ${{ steps.trace-cases.outputs.names }} @@ -729,7 +729,7 @@ jobs: needs: retrace if: ${{ !cancelled() }} env: - MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }} + MOBILEGL_CI_DISAGGREGATED: ${{ (github.ref_name == 'dev' || github.ref_name == 'feat/disaggregated' || github.ref_name == 'codex/fix-github-ci' || github.ref_name == 'cleanup') && 'ON' || 'OFF' }} steps: - name: Checkout repo diff --git a/userguide/android-plugin.md b/userguide/android-plugin.md index 620fd750..366d0ddb 100644 --- a/userguide/android-plugin.md +++ b/userguide/android-plugin.md @@ -75,7 +75,7 @@ latency. The plugin's launcher environment includes `MOBILEGL_TRANSPORT=inproc` **only if** the APK was built with `-Pmobilegl.buildDisaggregated=ON` or `-Pmobilegl.buildDisaggregatedInproc=ON` passed explicitly (or the matching `MOBILEGL_BUILD_DISAGGREGATED` / `MOBILEGL_BUILD_DISAGGREGATED_INPROC` environment -variable set to `ON`; the CI build of `feat/disaggregated` does this). A plain `gradle :app:assemblePluginRelease` +variable set to `ON`; the CI builds of `dev` and `feat/disaggregated` do this, so their APKs default to `inproc` and carry the render server). A plain `gradle :app:assemblePluginRelease` still builds the split layer into the library, but the launcher environment then omits the transport and the plugin runs monolith. Either rebuild with the property, or add `MOBILEGL_TRANSPORT=inproc` in the launcher's environment editor.