summaryrefslogtreecommitdiff
path: root/remoting
diff options
context:
space:
mode:
authorPekka Paalanen <pekka.paalanen@collabora.com>2019-04-18 16:43:55 +0300
committerPekka Paalanen <pekka.paalanen@collabora.com>2019-10-24 13:29:33 +0300
commit71ff95a54496eda9ef567f1a4a3ed39936ddd129 (patch)
tree719b1f1037d0908242e920f08682d7d675da99c0 /remoting
parent17389d63fdcee646505a8a8545ce55b671c74128 (diff)
downloadweston-71ff95a54496eda9ef567f1a4a3ed39936ddd129.tar.gz
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 <pekka.paalanen@collabora.com>
Diffstat (limited to 'remoting')
-rw-r--r--remoting/meson.build2
1 files changed, 1 insertions, 1 deletions
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()