Files
breeze/mkfile
T
waozi 64c1b6b7db Migrate Inbe's UI onto the .kry Kryon runtime
Author the remaining app UI, platform hosts, and storage helpers in .kry,
generate Kryon's src/ui modules and headers in the Inbe build, and follow the
migrated Kryon surface (generated props ABI and Button ImageProps). Move the
Plan 9 app loop and music fallback, Android lifecycle/share titles, desktop
tray, screenshots, and style tokens to their .kry owners, and delete the C
owners they replace.

Stop background execution whenever no visible indicator is present: the
desktop tray, Chrome worker, and Android foreground service now confirm their
indicator before continuing. Report gates: make native, no-vendor-edits,
clean-text-api-check, button-api-check, version-test, proof-test, and
sync-recovery-test pass.

vendor/kryon moves to 8f1a8608.
2026-09-20 23:56:13 -03:00

34 lines
1.5 KiB
Makefile

< /$objtype/mkfile
# Native Plan 9 build of Inbe (Kryon libdraw backend). build/plan9 is
# prepared on the host by: make kry-c-plan9
#
# sqlite stays stubbed here: 8c panics the kernel compiling the
# amalgamation, so habit data is not persisted on Plan 9 yet (the VFS
# and the amalgamation rewrite remain in the tree for when the compiler
# can take them).
TARG=inbe
ROOT=/sys/src/inbe
list=$ROOT/build/plan9/generated-c-files.txt
gensrc=`{cat $list | grep -v -e 'storage/import.c' -e 'meditation/meditation_music.c' -e '/src/main.c' -e '/platform/app_host.c'}
appsrc=src/platform/plan9/entry.c \
src/platform/plan9/sqlite3_stub.c \
src/platform/plan9/storage_import_stub.c \
src/app/app_web_bridge.c \
src/storage/storage_json_builder.c
hostsrc=build/plan9/app_embedded_assets.c
APPCPPFLAGS=-I$ROOT/src -I$ROOT/src/app -I$ROOT/src/core -I$ROOT/src/screens \
-I$ROOT/src/screens/settings -I$ROOT/src/practices -I$ROOT/src/practices/whm \
-I$ROOT/src/practices/meditation -I$ROOT/src/practices/sun_salutation \
-I$ROOT/src/storage -I$ROOT/src/platform -I$ROOT/src/platform/android \
-I$ROOT/src/third_party -I$ROOT/vendor-builds/sqlite \
-I$ROOT/build/plan9/generated -I$ROOT/build/plan9/generated/src \
-DANDROID_BUILD=0 -DPLATFORM_DESKTOP=1 \
-DINBE_DISABLE_KRYON_FILE_DIALOG=1 -DSQLITE_OS_OTHER=1 -DSQLITE_THREADSAFE=0 \
-DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_OMIT_WAL=1 -DSQLITE_TEMP_STORE=3
LDLIBS=-lmemlayer -lbio -lregexp -lString
< /sys/src/kryon/mk/plan9-app.mk