From 4c628bb1016371332c31f5393cf81fe785e47453 Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Mon, 25 Jun 2018 09:46:23 +0200 Subject: sync.profile: Use inject_headers and private_headers for generated files Change-Id: I6cdc2eb0c5310462c4b1486cd03af9bd433bcf63 Reviewed-by: Oswald Buddenhagen --- sync.profile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'sync.profile') diff --git a/sync.profile b/sync.profile index 458ee9f23..92399f799 100644 --- a/sync.profile +++ b/sync.profile @@ -17,3 +17,31 @@ %classnames = ( "qwaylandquickextension.h" => "QWaylandQuickExtension", ); +%inject_headers = ( + "$basedir/src/client" => [ + "^qwayland-hardware-integration.h", + "^qwayland-qt-windowmanager.h", + "^qwayland-qtkey-extension.h" , + "^qwayland-server-buffer-extension.h", + "^qwayland-surface-extension.h", + "^qwayland-text-input-unstable-v2.h", + "^qwayland-touch-extension.h", + "^qwayland-wayland.h", + "^qwayland-xdg-shell-unstable-v6.h", + "^qwayland-xdg-shell.h", + ], + "$basedir/src/compositor" => [ + "^qwayland-server-wayland.h", + "^qwayland-server-hardware-integration.h", + "^qwayland-server-ivi-application.h", + "^qwayland-server-qt-windowmanager.h", + "^qwayland-server-qtkey-extension.h", + "^qwayland-server-server-buffer-extension.h", + "^qwayland-server-text-input-unstable-v2.h", + "^qwayland-server-touch-extension.h", + "^qwayland-server-xdg-shell-unstable-v6.h", + "^qwayland-server-xdg-shell.h", + "^wayland-wayland-server-protocol.h", + ], +); +@private_headers = ( qr/^qwayland-.*\.h/, qr/^wayland-.*-protocol\.h/ ); -- cgit v1.2.3