util: Change a codegenned switch statement to a nice little table.
[mesa.git] / meson.build
index a019e4d8d412fea18c25542ccd7425d2fdd6887e..c76748b7162890ecbee54a1bec36935fde9caaf4 100644 (file)
@@ -854,7 +854,11 @@ if with_platform_android
       dep_android += dependency('nativewindow')
     endif
   endif
-  pre_args += '-DHAVE_ANDROID_PLATFORM'
+  pre_args += [
+    '-DHAVE_ANDROID_PLATFORM',
+    '-DANDROID',
+    '-DANDROID_API_LEVEL=' + get_option('platform-sdk-version').to_string()
+  ]
 endif
 if with_platform_haiku
   pre_args += '-DHAVE_HAIKU_PLATFORM'
@@ -1549,7 +1553,7 @@ endif
 
 dep_glvnd = null_dep
 if with_glvnd
-  dep_glvnd = dependency('libglvnd', version : '>= 1.2.0')
+  dep_glvnd = dependency('libglvnd', version : '>= 1.3.2')
   pre_args += '-DUSE_LIBGLVND=1'
 endif