From 71ff95a54496eda9ef567f1a4a3ed39936ddd129 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Thu, 18 Apr 2019 16:43:55 +0300 Subject: build: separate deps for int and ext libweston users We have two kinds of libweston users: internal and external. Weston, the frontend, counts as an external user, and should not have access to libweston private headers. The shell plugins are external users as well, because we intend people to be able to write them. Renderers, backends, and some plugins are internal users who will need access to private headers. Create two different Meson dependency objects, one for each kind. This makes it less likely to accidentally use a private header. Screen-share is a Weston plugin and therefore counts as an external user, but it needs the backend API to deliver input. Until we are comfortable exposing public API for that purpose, let it use internal headers. Signed-off-by: Pekka Paalanen --- remoting/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remoting') diff --git a/remoting/meson.build b/remoting/meson.build index 14228660..730febb9 100644 --- a/remoting/meson.build +++ b/remoting/meson.build @@ -10,7 +10,7 @@ if get_option('remoting') 'gstreamer-app-1.0', 'gstreamer-video-1.0', 'gobject-2.0', 'glib-2.0' ] - deps_remoting = [ dep_libweston ] + deps_remoting = [ dep_libweston_private ] foreach depname : depnames dep = dependency(depname, required: false) if not dep.found() -- cgit v1.2.1