From 43b0e5f5cd87b3ca4dc97a6373cbee1f1f129f06 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 26 Oct 2017 15:45:40 -0700 Subject: meson: build virgl driver Build tested only. Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt --- src/gallium/winsys/virgl/drm/meson.build | 27 +++++++++++++++++++++++++++ src/gallium/winsys/virgl/vtest/meson.build | 26 ++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 src/gallium/winsys/virgl/drm/meson.build create mode 100644 src/gallium/winsys/virgl/vtest/meson.build (limited to 'src/gallium/winsys/virgl') diff --git a/src/gallium/winsys/virgl/drm/meson.build b/src/gallium/winsys/virgl/drm/meson.build new file mode 100644 index 00000000000..89626e78637 --- /dev/null +++ b/src/gallium/winsys/virgl/drm/meson.build @@ -0,0 +1,27 @@ +# Copyright © 2017 Intel Corporation + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +libvirgldrm = static_library( + 'virgldrm', + 'virgl_drm_winsys.c', + c_args : c_vis_args, + include_directories : [inc_common, inc_gallium_drivers], + dependencies : dep_libdrm, +) diff --git a/src/gallium/winsys/virgl/vtest/meson.build b/src/gallium/winsys/virgl/vtest/meson.build new file mode 100644 index 00000000000..319bc8e241a --- /dev/null +++ b/src/gallium/winsys/virgl/vtest/meson.build @@ -0,0 +1,26 @@ +# Copyright © 2017 Intel Corporation + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +libvirglvtest = static_library( + 'virglvtest', + ['virgl_vtest_socket.c', 'virgl_vtest_winsys.c'], + c_args : c_vis_args, + include_directories : [inc_common, inc_gallium_drivers], +) -- cgit v1.2.3