library: Move most JSON report parsing to its own translation unit
-
library: Move most JSON report parsing to its own translation unit
This lets us link simpler modules like architecture.c and cpu-feature.c into a CLI program like steam-runtime-check-requirements without pulling in json-glib.
graphics.c, locale.c and xdg-portal.c continue to contain their own JSON report parsing code, because those translation units need to parse helper programs' JSON output anyway.
-
check-requirements: Bypass SrtSystemInfo to check CPU flags directly
This drops the dependency on json-glib from check-requirements.