mesa: add meson.build for libmesa

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Acked-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
Chia-I Wu 3 years ago
parent 1301ea0611
commit c6f193ce32
  1. 4
      src/gallium/meson.build
  2. 23
      src/mesa/meson.build
  3. 1
      src/meson.build

@ -126,9 +126,11 @@ libgallium = static_library(
include_directories : [ include_directories : [
inc_gallium, inc_configuration inc_gallium, inc_configuration
], ],
dependencies: mesa_dep,
) )
gallium_dep = declare_dependency( gallium_dep = declare_dependency(
link_with: libgallium, link_with: libgallium,
include_directories: [inc_gallium, inc_configuration] include_directories: [inc_gallium, inc_configuration],
dependencies: mesa_dep,
) )

@ -0,0 +1,23 @@
# Copyright 2021 Google LLC
# SPDX-License-Identifier: MIT
inc_mesa = include_directories('.')
files_mesa = files(
)
deps_mesa = [
]
libmesa = static_library(
'mesa',
files_mesa,
include_directories: inc_mesa,
dependencies: deps_mesa,
)
mesa_dep = declare_dependency(
link_with: libmesa,
include_directories: inc_mesa,
dependencies: deps_mesa,
)

@ -21,6 +21,7 @@
# OTHER DEALINGS IN THE SOFTWARE. # OTHER DEALINGS IN THE SOFTWARE.
# #
subdir('mesa')
subdir('gallium') subdir('gallium')
virgl_sources = [ virgl_sources = [

Loading…
Cancel
Save