X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=meson.build;h=d34f2816f660c5e4af536c545c649ceafe70fbf1;hb=7783729a8bb91d83038b0378c101e36a4ef29c0a;hp=640be2edca6522f13629df0c112eb16436d5bf41;hpb=f79a26ad69e6661a23f25988883e55919b57457f;p=src%2Fagl-compositor.git diff --git a/meson.build b/meson.build index 640be2e..d34f281 100644 --- a/meson.build +++ b/meson.build @@ -47,11 +47,13 @@ dir_wp_base = dep_wp.get_pkgconfig_variable('pkgdatadir') agl_shell_xml = files('protocol/agl-shell.xml') agl_shell_desktop_xml = files('protocol/agl-shell-desktop.xml') +agl_shell_policy_xml = files('protocol/agl-shell-policy.xml') xdg_shell_xml = join_paths(dir_wp_base, 'stable', 'xdg-shell', 'xdg-shell.xml') protocols = [ { 'name': 'agl-shell', 'source': 'internal' }, { 'name': 'agl-shell-desktop', 'source': 'internal' }, + { 'name': 'agl-shell-policy', 'source': 'internal' }, { 'name': 'xdg-shell', 'source': 'wp-stable' }, ] @@ -120,13 +122,17 @@ srcs_agl_compositor = [ 'src/main.c', 'src/desktop.c', 'src/layout.c', + 'src/policy.c', + 'src/policy-default.c', 'src/shell.c', 'shared/option-parser.c', 'shared/os-compatibility.c', agl_shell_server_protocol_h, agl_shell_desktop_server_protocol_h, + agl_shell_policy_server_protocol_h, agl_shell_protocol_c, agl_shell_desktop_protocol_c, + agl_shell_policy_protocol_c, xdg_shell_protocol_c, ] @@ -178,6 +184,6 @@ pkgconfig.generate( ) install_data( - [ agl_shell_xml, agl_shell_desktop_xml ], + [ agl_shell_xml, agl_shell_desktop_xml, agl_shell_policy_xml ], install_dir: join_paths(dir_data, dir_data_agl_compositor) )