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 --- fullscreen-shell/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fullscreen-shell/meson.build') diff --git a/fullscreen-shell/meson.build b/fullscreen-shell/meson.build index 3609f467..bde06db5 100644 --- a/fullscreen-shell/meson.build +++ b/fullscreen-shell/meson.build @@ -8,7 +8,7 @@ if get_option('shell-fullscreen') 'fullscreen-shell', srcs_shell_fullscreen, include_directories: common_inc, - dependencies: dep_libweston, + dependencies: dep_libweston_public, name_prefix: '', install: true, install_dir: dir_module_weston -- cgit v1.2.1