~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/egl/meson.build

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
c_args_for_egl = [asan_c_args]
25
25
cpp_args_for_egl = []
26
 
override_for_egl = []
27
26
link_for_egl = []
28
27
deps_for_egl = []
29
28
incs_for_egl = [inc_include, inc_src, inc_egl]
129
128
    deps_for_egl += [dep_wayland_client, dep_wayland_server, dep_wayland_egl_headers]
130
129
    link_for_egl += libwayland_drm
131
130
    files_egl += files('drivers/dri2/platform_wayland.c')
132
 
    files_egl += [
133
 
      linux_dmabuf_unstable_v1_protocol_c,
134
 
      linux_dmabuf_unstable_v1_client_protocol_h,
135
 
      wayland_drm_client_protocol_h,
136
 
    ]
 
131
    files_egl += wp_files['linux-dmabuf-unstable-v1']
 
132
    files_egl += [wayland_drm_client_protocol_h]
137
133
    incs_for_egl += include_directories('wayland/wayland-drm')
138
134
  endif
139
135
  if with_platform_android
143
139
      files_egl += files('drivers/dri2/platform_android_mapper.cpp')
144
140
      c_args_for_egl += '-DUSE_IMAPPER4_METADATA_API'
145
141
      cpp_args_for_egl += '-DUSE_IMAPPER4_METADATA_API'
146
 
      override_for_egl += 'cpp_std=c++17'
147
142
    endif
148
143
  endif
149
144
elif with_platform_haiku
204
199
    '-D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_@0@'.format(egl_native_platform.to_upper()),
205
200
  ],
206
201
  cpp_args : [cpp_args_for_egl],
207
 
  override_options : override_for_egl,
208
202
  gnu_symbol_visibility : 'hidden',
209
203
  include_directories : incs_for_egl,
210
204
  link_with : [link_for_egl, libglapi],