Skip to content

Add ANGLE to deps_os[win] for Windows-only sync#183

Open
mattleibow wants to merge 1 commit into
skiasharpfrom
dev/unify-angle-deps
Open

Add ANGLE to deps_os[win] for Windows-only sync#183
mattleibow wants to merge 1 commit into
skiasharpfrom
dev/unify-angle-deps

Conversation

@mattleibow

Copy link
Copy Markdown
Collaborator

Add a deps_os section to DEPS with ANGLE under the win key, so git-sync-deps win checks out ANGLE alongside all other Skia dependencies — but only on Windows where it is actually needed for WinUI builds.

Pin: chromium/6275 (ea1cea778c4a2312ef1b963b29a62fe595dd4df8)

Companion PR: mono/SkiaSharp — updates the cake build system to pass the OS arg to git-sync-deps, moves ANGLE submodule init and setup from winui-angle/build.cake into the shared sync task, and updates all paths.


How deps_os works in git-sync-deps

The existing git-sync-deps script already supports a deps_os dictionary in the DEPS file. When an OS name is passed as a CLI arg (e.g. python tools/git-sync-deps win), entries under that OS key are merged into the deps that get cloned. On other platforms (macOS/Linux), ANGLE is never fetched.

Move ANGLE dependency from separate clone logic in SkiaSharp's
build.cake into the DEPS file using deps_os conditional section.
This ensures git-sync-deps handles ANGLE checkout alongside all
other dependencies, but only on Windows where it is needed.

Pin: chromium/6275 (ea1cea778c4a2312ef1b963b29a62fe595dd4df8)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant