Skip to content

Commit 8ad6e3a

Browse files
Android: link AbortController polyfill into BabylonNativeJNI
AppContext.cpp includes <Babylon/Polyfills/AbortController.h> and calls Babylon::Polyfills::AbortController::Initialize(env), but the Android- specific CMakeLists at Apps/Playground/Android/BabylonNative did not add AbortController to BabylonNativeJNI's PRIVATE link libraries. The header is published only by the AbortController target, so Android CI failed with 'fatal error: Babylon/Polyfills/AbortController.h file not found'. Linux/macOS/Windows builds were fine because they use the main Apps/Playground/CMakeLists.txt which already links AbortController. Mirror the change there so Android picks up the include directory. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d8abada commit 8ad6e3a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Apps/Playground/Android/BabylonNative/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ target_link_libraries(BabylonNativeJNI
2525
PRIVATE EGL
2626
PRIVATE log
2727
PRIVATE -lz
28+
PRIVATE AbortController
2829
PRIVATE AndroidExtensions
2930
PRIVATE AppRuntime
3031
PRIVATE Blob

0 commit comments

Comments
 (0)