The zither zircon.ifs backend is responsible for generating “zircon.ifs”, the text ABI specification of libzircon.so, derived from the FIDL syscall specifications of library zx
. It also generates “libzircon.json”, which is a simple list of system call linkage names in JSON format.
One “zircon.ifs” and one “libzircon.json” is generated.
${fidl_target}_zither.zircon_ifs
generates the one file, which is intended to be accessed via zither_golden_files()
in order to be checked in as source.
Any declaration type not mentioned below is ignored.
Each syscall contributes two .ifs entries:
- { Name: _zx_foo_bar, Type: Func } - { Name: zx_foo_bar, Type: Func, Weak: true }
The JSON file consists of a single JSON array of strings. This lists only the plain zx_foo_bar
names, without each _
-prefixed counterpart.