xref: /aosp_15_r20/external/mesa3d/src/gallium/frontends/osmesa/meson.build (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1# Copyright © 2017-2018 Intel Corporation
2# SPDX-License-Identifier: MIT
3
4osmesa_st_c_args = []
5if with_platform_windows
6  if not with_shared_glapi
7    osmesa_st_c_args += ['-D_GLAPI_NO_EXPORTS']
8  endif
9endif
10
11libosmesa_st = static_library(
12  'osmesa_st',
13  'osmesa.c',
14  c_args : osmesa_st_c_args,
15  include_directories : [
16    inc_include, inc_src, inc_gallium, inc_gallium_aux, inc_mapi, inc_mesa,
17  ],
18  dependencies : [idep_mesautil],
19)
20