Use Android platform services in retained package builds

This commit is contained in:
2026-06-17 16:14:27 +02:00
parent 57c2d1bfa4
commit 19f1af57fd
6 changed files with 32 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ set(PP_MODERN_COMPONENT_SOURCES
../../src/platform_api/network_tls_policy.cpp ../../src/platform_api/network_tls_policy.cpp
../../src/platform_api/platform_policy.cpp ../../src/platform_api/platform_policy.cpp
../../src/platform_api/platform_services.cpp ../../src/platform_api/platform_services.cpp
../../src/platform_legacy/legacy_platform_services.cpp ../../src/platform_android/android_platform_services.cpp
../../src/renderer_api/recording_renderer.cpp ../../src/renderer_api/recording_renderer.cpp
../../src/renderer_api/renderer_api.cpp ../../src/renderer_api/renderer_api.cpp
../../src/renderer_api/shader_catalog.cpp ../../src/renderer_api/shader_catalog.cpp

View File

@@ -50,7 +50,7 @@ set(PP_MODERN_COMPONENT_SOURCES
../../src/platform_api/network_tls_policy.cpp ../../src/platform_api/network_tls_policy.cpp
../../src/platform_api/platform_policy.cpp ../../src/platform_api/platform_policy.cpp
../../src/platform_api/platform_services.cpp ../../src/platform_api/platform_services.cpp
../../src/platform_legacy/legacy_platform_services.cpp ../../src/platform_android/android_platform_services.cpp
../../src/renderer_api/recording_renderer.cpp ../../src/renderer_api/recording_renderer.cpp
../../src/renderer_api/renderer_api.cpp ../../src/renderer_api/renderer_api.cpp
../../src/renderer_api/shader_catalog.cpp ../../src/renderer_api/shader_catalog.cpp

View File

@@ -58,7 +58,7 @@ set(PP_MODERN_COMPONENT_SOURCES
../../src/platform_api/network_tls_policy.cpp ../../src/platform_api/network_tls_policy.cpp
../../src/platform_api/platform_policy.cpp ../../src/platform_api/platform_policy.cpp
../../src/platform_api/platform_services.cpp ../../src/platform_api/platform_services.cpp
../../src/platform_legacy/legacy_platform_services.cpp ../../src/platform_android/android_platform_services.cpp
../../src/renderer_api/recording_renderer.cpp ../../src/renderer_api/recording_renderer.cpp
../../src/renderer_api/renderer_api.cpp ../../src/renderer_api/renderer_api.cpp
../../src/renderer_api/shader_catalog.cpp ../../src/renderer_api/shader_catalog.cpp

View File

@@ -18,6 +18,14 @@ agent or engineer to remove them without reconstructing context from chat.
## Reductions ## Reductions
- 2026-06-17: `DEBT-0017` was narrowed again. The retained Android package
CMake projects now compile `src/platform_android/android_platform_services.cpp`
instead of `src/platform_legacy/legacy_platform_services.cpp`, matching the
Android entrypoint's existing concrete `create_platform_services(...)` path.
The retained standard package link gate still fails, but the same package
build also fails after restoring the old legacy source list, so that linker
failure is currently tracked as preexisting noise rather than a regression
from this slice.
- 2026-06-17: `DEBT-0017`/`DEBT-0055` were narrowed again. - 2026-06-17: `DEBT-0017`/`DEBT-0055` were narrowed again.
`src/platform_legacy/legacy_platform_services.*` is no longer compiled into `src/platform_legacy/legacy_platform_services.*` is no longer compiled into
the root `panopainter_app` source graph. The retained shim still exists on the root `panopainter_app` source graph. The retained shim still exists on

View File

@@ -70,6 +70,16 @@ What is already real:
- `pp_app_core` - `pp_app_core`
Latest slice: Latest slice:
- `android/android/CMakeLists.txt`, `android/quest/CMakeLists.txt`, and
`android/focus/CMakeLists.txt` now compile
`src/platform_android/android_platform_services.cpp` instead of
`src/platform_legacy/legacy_platform_services.cpp`.
- The retained Android package graphs now match `android/src/cpp/main.cpp`,
which already constructs concrete Android `PlatformServices` directly.
- The retained standard Android package link gate still fails after this slice,
but it also fails after restoring the old legacy source list, so the current
retained-package linker break remains preexisting and outside the behavior
change of this swap.
- `cmake/PanoPainterSources.cmake` no longer adds - `cmake/PanoPainterSources.cmake` no longer adds
`src/platform_legacy/legacy_platform_services.*` to `src/platform_legacy/legacy_platform_services.*` to
`PP_PANOPAINTER_APP_SOURCES`, so the root `panopainter_app` target graph `PP_PANOPAINTER_APP_SOURCES`, so the root `panopainter_app` target graph

View File

@@ -84,6 +84,17 @@ Completed, blocked, and superseded task history moved to
the queue is now ordered by code movement instead. the queue is now ordered by code movement instead.
Current slice: Current slice:
- `android/android/CMakeLists.txt`, `android/quest/CMakeLists.txt`, and
`android/focus/CMakeLists.txt` now compile
`src/platform_android/android_platform_services.cpp` instead of the retained
`src/platform_legacy/legacy_platform_services.cpp` shim.
- The retained Android package graphs now match the concrete Android
`create_platform_services(...)` path already used in
`android/src/cpp/main.cpp`.
- The retained standard Android package link gate still fails, but restoring
the old legacy source list reproduces a different unresolved-symbol link
failure too, so the package linker break is treated as preexisting noise for
this narrow source-list swap.
- `cmake/PanoPainterSources.cmake` no longer adds - `cmake/PanoPainterSources.cmake` no longer adds
`src/platform_legacy/legacy_platform_services.*` to `src/platform_legacy/legacy_platform_services.*` to
`PP_PANOPAINTER_APP_SOURCES`. `PP_PANOPAINTER_APP_SOURCES`.