build-sys: move qmp-introspect per target
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 14 Feb 2019 15:22:39 +0000 (16:22 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 18 Feb 2019 13:44:04 +0000 (14:44 +0100)
commitc19099f637d650ae1d1a1fa4cce85f9689e315b6
treebe7c6d7fc5d6cc1c743363280e7cc8d4c96ae985
parent5d75648b56e6e400eafaa1c2c8616ffc5ae6148e
build-sys: move qmp-introspect per target

The following patches are going to introduce per-target #ifdef in the
schemas.

The introspection data is statically generated once, and must thus be
built per-target to reflect target-specific configuration.

Drop "do_test_visitor_in_qmp_introspect(&qmp_schema_qlit)" since the
schema is no longer in a common object. It is covered by the per-target
query-qmp-schema test instead.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190214152251.2073-7-armbru@redhat.com>
Makefile.objs
Makefile.target
tests/test-qobject-input-visitor.c