Skip to content

Feat: Link a skiko built without JAWT into the macOS native image (stacked on #165) - #168

Closed
b-re-w wants to merge 3 commits into
feat/fork-window-integrationfrom
feat/awt-free-native-image
Closed

b-re-w wants to merge 3 commits into
feat/fork-window-integrationfrom
feat/awt-free-native-image

Conversation

@b-re-w

@b-re-w b-re-w commented Oct 4, 2026

Copy link
Copy Markdown
Member

Stacked on #165. Links the fork's extended/skiko static archive built with --no-jawt plus Skia's archives into the macOS GraalVM image, drops the AWT force-load, the accessibility class roots and the libjawt and libawt_lwawt forwarders, generates the foreign-entry-point stubs from a first link, and adds image-has-no-awt.test.sh (otool/nm scan of the linked image) to the GraalVM workflow.

Expected to stay red until the toolkit stops being reached on the shipped path: #135 (the Java toolkit off the shipped renderer path) and fork pointer icons (core-extended #15), since the Cursor path loads libawt. Linux is not changed: its default window is still the toolkit one and its build ships libawt*.so. Never built locally; CI is the first run.

b-re-w added 3 commits October 5, 2026 00:48
…nd drop the AWT shims (NFR-14)

The macOS native image links the static skiko from the fork's extended/skiko build, made with
--no-jawt, and Skia's own archives, so nothing of the toolkit is linked or shipped for Skia's
sake: the AWT force-load, the Objective-C accessibility class roots and the libjawt and
libawt_lwawt forwarders are gone. The foreign-entry-point stubs are generated from a first link.
image-has-no-awt.test.sh scans the linked image for AWT libraries and symbols.
accessibility-link.test.sh is retired with the toolkit archive it checked; the window's own
accessibility is appkit_window.m's.

Linux still ships the toolkit's libraries and is not changed here.
@b-re-w
b-re-w deleted the branch feat/fork-window-integration October 5, 2026 03:37
@b-re-w b-re-w closed this Oct 5, 2026
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