Dylan Baker | a8d9410 | 2019-10-31 13:26:00 -0700 | [diff] [blame] | 1 | # Copyright © 2017-2019 Intel Corporation |
Dylan Baker | d199225 | 2017-09-14 17:57:17 -0700 | [diff] [blame] | 2 | |
| 3 | # Permission is hereby granted, free of charge, to any person obtaining a copy |
| 4 | # of this software and associated documentation files (the "Software"), to deal |
| 5 | # in the Software without restriction, including without limitation the rights |
| 6 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 7 | # copies of the Software, and to permit persons to whom the Software is |
| 8 | # furnished to do so, subject to the following conditions: |
| 9 | |
| 10 | # The above copyright notice and this permission notice shall be included in |
| 11 | # all copies or substantial portions of the Software. |
| 12 | |
| 13 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 14 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 15 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 16 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 17 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 18 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 19 | # SOFTWARE. |
| 20 | |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 21 | option( |
| 22 | 'platforms', |
Dylan Baker | 5608d0a | 2018-04-16 15:18:08 -0700 | [diff] [blame] | 23 | type : 'array', |
| 24 | value : ['auto'], |
| 25 | choices : [ |
| 26 | '', 'auto', 'x11', 'wayland', 'drm', 'surfaceless', 'haiku', 'android', |
Dylan Baker | 70cac06 | 2018-04-18 13:17:20 -0700 | [diff] [blame] | 27 | 'windows', |
Dylan Baker | 5608d0a | 2018-04-16 15:18:08 -0700 | [diff] [blame] | 28 | ], |
Eric Engestrom | 8629d80 | 2018-10-11 16:38:24 +0100 | [diff] [blame] | 29 | description : 'window systems to support. If this is set to `auto`, all platforms applicable will be enabled.' |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 30 | ) |
| 31 | option( |
| 32 | 'dri3', |
| 33 | type : 'combo', |
| 34 | value : 'auto', |
Dylan Baker | 0589331 | 2017-10-30 10:27:48 -0700 | [diff] [blame] | 35 | choices : ['auto', 'true', 'false'], |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 36 | description : 'enable support for dri3' |
| 37 | ) |
| 38 | option( |
| 39 | 'dri-drivers', |
Dylan Baker | 5608d0a | 2018-04-16 15:18:08 -0700 | [diff] [blame] | 40 | type : 'array', |
| 41 | value : ['auto'], |
| 42 | choices : ['', 'auto', 'i915', 'i965', 'r100', 'r200', 'nouveau', 'swrast'], |
| 43 | description : 'List of dri drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built' |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 44 | ) |
| 45 | option( |
| 46 | 'dri-drivers-path', |
| 47 | type : 'string', |
| 48 | value : '', |
Dylan Baker | d7235ef | 2018-01-16 10:36:28 -0800 | [diff] [blame] | 49 | description : 'Location to install dri drivers. Default: $libdir/dri.' |
| 50 | ) |
| 51 | option( |
| 52 | 'dri-search-path', |
| 53 | type : 'string', |
| 54 | value : '', |
| 55 | description : 'Locations to search for dri drivers, passed as colon separated list. Default: dri-drivers-path.' |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 56 | ) |
| 57 | option( |
| 58 | 'gallium-drivers', |
Dylan Baker | 5608d0a | 2018-04-16 15:18:08 -0700 | [diff] [blame] | 59 | type : 'array', |
| 60 | value : ['auto'], |
| 61 | choices : [ |
Eric Anholt | ed65aee | 2018-10-23 12:33:09 -0700 | [diff] [blame] | 62 | '', 'auto', 'kmsro', 'radeonsi', 'r300', 'r600', 'nouveau', 'freedreno', |
Rob Herring | 41a0acd | 2019-01-24 14:03:54 -0600 | [diff] [blame] | 63 | 'swrast', 'v3d', 'vc4', 'etnaviv', 'tegra', 'i915', 'svga', 'virgl', |
Erik Faye-Lund | 8d46e35 | 2018-08-31 16:50:20 +0200 | [diff] [blame] | 64 | 'swr', 'panfrost', 'iris', 'lima', 'zink' |
Dylan Baker | 5608d0a | 2018-04-16 15:18:08 -0700 | [diff] [blame] | 65 | ], |
| 66 | description : 'List of gallium drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built' |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 67 | ) |
| 68 | option( |
Dylan Baker | 7309207 | 2017-11-28 16:31:06 -0800 | [diff] [blame] | 69 | 'gallium-extra-hud', |
| 70 | type : 'boolean', |
| 71 | value : false, |
| 72 | description : 'Enable HUD block/NIC I/O HUD status support', |
| 73 | ) |
| 74 | option( |
Dylan Baker | 68076b8 | 2017-10-30 14:04:21 -0700 | [diff] [blame] | 75 | 'gallium-vdpau', |
| 76 | type : 'combo', |
| 77 | value : 'auto', |
| 78 | choices : ['auto', 'true', 'false'], |
| 79 | description : 'enable gallium vdpau state tracker.', |
| 80 | ) |
| 81 | option( |
| 82 | 'vdpau-libs-path', |
| 83 | type : 'string', |
| 84 | value : '', |
| 85 | description : 'path to put vdpau libraries. defaults to $libdir/vdpau.' |
| 86 | ) |
| 87 | option( |
Dylan Baker | 22a817a | 2017-10-30 14:32:30 -0700 | [diff] [blame] | 88 | 'gallium-xvmc', |
| 89 | type : 'combo', |
| 90 | value : 'auto', |
| 91 | choices : ['auto', 'true', 'false'], |
| 92 | description : 'enable gallium xvmc state tracker.', |
| 93 | ) |
| 94 | option( |
| 95 | 'xvmc-libs-path', |
| 96 | type : 'string', |
| 97 | value : '', |
| 98 | description : 'path to put xvmc libraries. defaults to $libdir.' |
| 99 | ) |
| 100 | option( |
Dylan Baker | 1d36dc6 | 2017-10-30 15:23:06 -0700 | [diff] [blame] | 101 | 'gallium-omx', |
| 102 | type : 'combo', |
Dylan Baker | 34e852d | 2018-03-06 10:11:38 -0800 | [diff] [blame] | 103 | value : 'auto', |
| 104 | choices : ['auto', 'disabled', 'bellagio', 'tizonia'], |
Gurkirpal Singh | bb5e27f | 2018-01-20 05:12:06 +0530 | [diff] [blame] | 105 | description : 'enable gallium omx state tracker.', |
Dylan Baker | 1d36dc6 | 2017-10-30 15:23:06 -0700 | [diff] [blame] | 106 | ) |
| 107 | option( |
| 108 | 'omx-libs-path', |
| 109 | type : 'string', |
| 110 | value : '', |
| 111 | description : 'path to put omx libraries. defaults to omx-bellagio pkg-config pluginsdir.' |
| 112 | ) |
| 113 | option( |
Dylan Baker | 5a785d5 | 2017-10-30 15:49:37 -0700 | [diff] [blame] | 114 | 'gallium-va', |
| 115 | type : 'combo', |
| 116 | value : 'auto', |
| 117 | choices : ['auto', 'true', 'false'], |
| 118 | description : 'enable gallium va state tracker.', |
| 119 | ) |
| 120 | option( |
| 121 | 'va-libs-path', |
| 122 | type : 'string', |
| 123 | value : '', |
| 124 | description : 'path to put va libraries. defaults to $libdir/dri.' |
| 125 | ) |
| 126 | option( |
Dylan Baker | 0ba909f | 2017-10-30 17:40:30 -0700 | [diff] [blame] | 127 | 'gallium-xa', |
| 128 | type : 'combo', |
| 129 | value : 'auto', |
| 130 | choices : ['auto', 'true', 'false'], |
| 131 | description : 'enable gallium xa state tracker.', |
| 132 | ) |
| 133 | option( |
Dylan Baker | 6b4c704 | 2017-11-13 17:58:51 -0800 | [diff] [blame] | 134 | 'gallium-nine', |
| 135 | type : 'boolean', |
| 136 | value : false, |
| 137 | description : 'build gallium "nine" Direct3D 9.x state tracker.', |
| 138 | ) |
| 139 | option( |
Dylan Baker | 42ea063 | 2017-12-08 15:26:00 -0800 | [diff] [blame] | 140 | 'gallium-opencl', |
| 141 | type : 'combo', |
| 142 | choices : ['icd', 'standalone', 'disabled'], |
| 143 | value : 'disabled', |
| 144 | description : 'build gallium "clover" OpenCL state tracker.', |
| 145 | ) |
| 146 | option( |
Pierre Moreau | 866f6f1 | 2018-01-21 19:10:58 +0100 | [diff] [blame] | 147 | 'opencl-spirv', |
| 148 | type : 'boolean', |
| 149 | value : false, |
| 150 | description : 'build gallium "clover" OpenCL state tracker with SPIR-V binary support.', |
| 151 | ) |
| 152 | option( |
Dylan Baker | 6b4c704 | 2017-11-13 17:58:51 -0800 | [diff] [blame] | 153 | 'd3d-drivers-path', |
| 154 | type : 'string', |
| 155 | value : '', |
| 156 | description : 'Location of D3D drivers. Default: $libdir/d3d', |
| 157 | ) |
| 158 | option( |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 159 | 'vulkan-drivers', |
Dylan Baker | 5608d0a | 2018-04-16 15:18:08 -0700 | [diff] [blame] | 160 | type : 'array', |
| 161 | value : ['auto'], |
Bas Nieuwenhuizen | 26380b3 | 2018-08-08 22:23:57 +0000 | [diff] [blame] | 162 | choices : ['', 'auto', 'amd', 'freedreno', 'intel'], |
Dylan Baker | 5608d0a | 2018-04-16 15:18:08 -0700 | [diff] [blame] | 163 | description : 'List of vulkan drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built' |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 164 | ) |
| 165 | option( |
| 166 | 'shader-cache', |
Dylan Baker | f5eafc2 | 2018-04-18 13:20:28 -0700 | [diff] [blame] | 167 | type : 'combo', |
| 168 | value : 'auto', |
| 169 | choices : ['auto', 'true', 'false'], |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 170 | description : 'Build with on-disk shader cache support' |
| 171 | ) |
| 172 | option( |
| 173 | 'vulkan-icd-dir', |
| 174 | type : 'string', |
| 175 | value : '', |
| 176 | description : 'Location relative to prefix to put vulkan icds on install. Default: $datadir/vulkan/icd.d' |
| 177 | ) |
| 178 | option( |
Lionel Landwerlin | 20c370c | 2019-01-19 21:26:12 +0000 | [diff] [blame] | 179 | 'vulkan-overlay-layer', |
| 180 | type : 'boolean', |
| 181 | value : false, |
| 182 | description : 'Whether to build the vulkan overlay layer' |
| 183 | ) |
| 184 | option( |
Dave Airlie | 9bc5b2d | 2020-03-30 09:38:38 +1000 | [diff] [blame] | 185 | 'vulkan-device-select-layer', |
| 186 | type : 'boolean', |
| 187 | value : false, |
| 188 | description : 'Whether to build the vulkan device select layer' |
| 189 | ) |
| 190 | option( |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 191 | 'shared-glapi', |
Dylan Baker | 8424209 | 2019-05-31 16:16:22 -0700 | [diff] [blame] | 192 | type : 'combo', |
| 193 | value : 'auto', |
| 194 | choices : ['auto', 'true', 'false'], |
| 195 | description : 'Whether to build a shared or static glapi. Defaults to false on Windows, true elsewhere' |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 196 | ) |
| 197 | option( |
| 198 | 'gles1', |
Dylan Baker | ddc15fb | 2018-10-19 09:47:41 -0700 | [diff] [blame] | 199 | type : 'combo', |
| 200 | value : 'auto', |
| 201 | choices : ['auto', 'true', 'false'], |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 202 | description : 'Build support for OpenGL ES 1.x' |
| 203 | ) |
| 204 | option( |
| 205 | 'gles2', |
Dylan Baker | ddc15fb | 2018-10-19 09:47:41 -0700 | [diff] [blame] | 206 | type : 'combo', |
| 207 | value : 'auto', |
| 208 | choices : ['auto', 'true', 'false'], |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 209 | description : 'Build support for OpenGL ES 2.x and 3.x' |
| 210 | ) |
| 211 | option( |
| 212 | 'opengl', |
| 213 | type : 'boolean', |
| 214 | value : true, |
| 215 | description : 'Build support for OpenGL (all versions)' |
| 216 | ) |
| 217 | option( |
| 218 | 'gbm', |
| 219 | type : 'combo', |
| 220 | value : 'auto', |
Dylan Baker | 0589331 | 2017-10-30 10:27:48 -0700 | [diff] [blame] | 221 | choices : ['auto', 'true', 'false'], |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 222 | description : 'Build support for gbm platform' |
| 223 | ) |
| 224 | option( |
| 225 | 'glx', |
| 226 | type : 'combo', |
| 227 | value : 'auto', |
| 228 | choices : ['auto', 'disabled', 'dri', 'xlib', 'gallium-xlib'], |
| 229 | description : 'Build support for GLX platform' |
| 230 | ) |
| 231 | option( |
Dylan Baker | 108d257 | 2017-10-18 12:20:43 -0700 | [diff] [blame] | 232 | 'egl', |
| 233 | type : 'combo', |
| 234 | value : 'auto', |
Dylan Baker | 0589331 | 2017-10-30 10:27:48 -0700 | [diff] [blame] | 235 | choices : ['auto', 'true', 'false'], |
Dylan Baker | 108d257 | 2017-10-18 12:20:43 -0700 | [diff] [blame] | 236 | description : 'Build support for EGL platform' |
| 237 | ) |
| 238 | option( |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 239 | 'glvnd', |
| 240 | type : 'boolean', |
| 241 | value : false, |
| 242 | description : 'Enable GLVND support.' |
| 243 | ) |
| 244 | option( |
Matt Turner | a5abb2d | 2018-06-06 20:25:09 -0700 | [diff] [blame] | 245 | 'glx-read-only-text', |
| 246 | type : 'boolean', |
| 247 | value : false, |
| 248 | description : 'Disable writable .text section on x86 (decreases performance)' |
| 249 | ) |
| 250 | option( |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 251 | 'llvm', |
Dylan Baker | 48f64e5 | 2017-11-17 16:37:50 -0800 | [diff] [blame] | 252 | type : 'combo', |
| 253 | value : 'auto', |
| 254 | choices : ['auto', 'true', 'false'], |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 255 | description : 'Build with LLVM support.' |
| 256 | ) |
| 257 | option( |
Christoph Haag | b01834b | 2018-09-18 01:08:07 +0200 | [diff] [blame] | 258 | 'shared-llvm', |
Daniel Stone | 9ecd946 | 2020-04-14 17:41:00 +0100 | [diff] [blame] | 259 | type : 'combo', |
| 260 | value : 'auto', |
| 261 | choices : ['auto', 'true', 'false'], |
| 262 | description : 'Whether to link LLVM shared or statically.' |
Christoph Haag | b01834b | 2018-09-18 01:08:07 +0200 | [diff] [blame] | 263 | ) |
| 264 | option( |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 265 | 'valgrind', |
Erik Faye-Lund | 5c2ff57 | 2017-10-25 10:02:38 +0200 | [diff] [blame] | 266 | type : 'combo', |
| 267 | value : 'auto', |
| 268 | choices : ['auto', 'true', 'false'], |
| 269 | description : 'Build with valgrind support' |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 270 | ) |
| 271 | option( |
Erik Faye-Lund | 9e5a5a1 | 2017-10-23 20:54:03 +0200 | [diff] [blame] | 272 | 'libunwind', |
Erik Faye-Lund | 5c2ff57 | 2017-10-25 10:02:38 +0200 | [diff] [blame] | 273 | type : 'combo', |
| 274 | value : 'auto', |
| 275 | choices : ['auto', 'true', 'false'], |
| 276 | description : 'Use libunwind for stack-traces' |
Erik Faye-Lund | 9e5a5a1 | 2017-10-23 20:54:03 +0200 | [diff] [blame] | 277 | ) |
| 278 | option( |
Dylan Baker | 5e71efe | 2017-11-28 16:42:37 -0800 | [diff] [blame] | 279 | 'lmsensors', |
| 280 | type : 'combo', |
| 281 | value : 'auto', |
| 282 | choices : ['auto', 'true', 'false'], |
| 283 | description : 'Enable HUD lmsensors support.' |
| 284 | ) |
| 285 | option( |
Dylan Baker | 61631be | 2017-10-10 15:44:14 -0700 | [diff] [blame] | 286 | 'build-tests', |
| 287 | type : 'boolean', |
| 288 | value : false, |
| 289 | description : 'Build unit tests. Currently this will build *all* unit tests, which may build more than expected.' |
| 290 | ) |
| 291 | option( |
Jason Ekstrand | 8b8deec | 2019-04-02 10:26:09 -0500 | [diff] [blame] | 292 | 'install-intel-gpu-tests', |
| 293 | type : 'boolean', |
| 294 | value : false, |
| 295 | description : 'Build and install Intel unit tests which require the GPU. This option is for developers and the Intel CI system only.' |
| 296 | ) |
| 297 | option( |
Eric Engestrom | 4b9421d | 2017-10-26 16:19:41 +0100 | [diff] [blame] | 298 | 'selinux', |
| 299 | type : 'boolean', |
| 300 | value : false, |
| 301 | description : 'Build an SELinux-aware Mesa' |
| 302 | ) |
Dylan Baker | cbbd5bb | 2017-10-20 21:48:18 -0700 | [diff] [blame] | 303 | option( |
| 304 | 'osmesa', |
| 305 | type : 'combo', |
| 306 | value : 'none', |
Dylan Baker | f121a66 | 2017-10-24 15:52:57 -0700 | [diff] [blame] | 307 | choices : ['none', 'classic', 'gallium'], |
Dylan Baker | cbbd5bb | 2017-10-20 21:48:18 -0700 | [diff] [blame] | 308 | description : 'Build OSmesa.' |
| 309 | ) |
| 310 | option( |
| 311 | 'osmesa-bits', |
| 312 | type : 'combo', |
| 313 | value : '8', |
| 314 | choices : ['8', '16', '32'], |
| 315 | description : 'Number of channel bits for OSMesa.' |
| 316 | ) |
Dylan Baker | e0b037d | 2017-11-29 17:50:05 -0800 | [diff] [blame] | 317 | option( |
| 318 | 'swr-arches', |
Dylan Baker | 5608d0a | 2018-04-16 15:18:08 -0700 | [diff] [blame] | 319 | type : 'array', |
| 320 | value : ['avx', 'avx2'], |
| 321 | choices : ['avx', 'avx2', 'knl', 'skx'], |
| 322 | description : 'Architectures to build SWR support for.', |
Dylan Baker | e0b037d | 2017-11-29 17:50:05 -0800 | [diff] [blame] | 323 | ) |
Scott D Phillips | 1f4d243 | 2018-02-07 16:55:24 -0800 | [diff] [blame] | 324 | option( |
Krzysztof Raszkowski | bf74a7f | 2020-01-22 12:26:45 +0100 | [diff] [blame] | 325 | 'shared-swr', |
| 326 | type : 'boolean', |
| 327 | value : true, |
| 328 | description : 'Whether to link SWR shared or statically.', |
| 329 | ) |
| 330 | |
| 331 | option( |
Scott D Phillips | 1f4d243 | 2018-02-07 16:55:24 -0800 | [diff] [blame] | 332 | 'tools', |
Dylan Baker | 5608d0a | 2018-04-16 15:18:08 -0700 | [diff] [blame] | 333 | type : 'array', |
| 334 | value : [], |
Qiang Yu | 07b0fbe | 2020-04-24 16:20:25 +0800 | [diff] [blame] | 335 | choices : ['drm-shim', 'etnaviv', 'freedreno', 'glsl', 'intel', 'intel-ui', 'nir', 'nouveau', 'xvmc', 'lima', 'panfrost', 'all'], |
Eric Engestrom | 0bbee28 | 2018-10-30 11:26:46 +0000 | [diff] [blame] | 336 | description : 'List of tools to build. (Note: `intel-ui` selects `intel`)', |
Scott D Phillips | 1f4d243 | 2018-02-07 16:55:24 -0800 | [diff] [blame] | 337 | ) |
Dylan Baker | 34bbb24 | 2018-06-07 11:13:34 -0700 | [diff] [blame] | 338 | option( |
| 339 | 'power8', |
| 340 | type : 'combo', |
| 341 | value : 'auto', |
| 342 | choices : ['auto', 'true', 'false'], |
| 343 | description : 'Enable power8 optimizations.', |
| 344 | ) |
Keith Packard | 7ab1fff | 2018-02-09 07:45:58 -0800 | [diff] [blame] | 345 | option( |
| 346 | 'xlib-lease', |
| 347 | type : 'combo', |
| 348 | value : 'auto', |
| 349 | choices : ['auto', 'true', 'false'], |
| 350 | description : 'Enable VK_EXT_acquire_xlib_display.' |
| 351 | ) |
Dylan Baker | 7a90886 | 2018-12-04 10:06:08 -0800 | [diff] [blame] | 352 | option( |
| 353 | 'glx-direct', |
| 354 | type : 'boolean', |
| 355 | value : true, |
| 356 | description : 'Enable direct rendering in GLX and EGL for DRI', |
| 357 | ) |
Chia-I Wu | 4f863dc | 2019-03-08 11:27:50 -0800 | [diff] [blame] | 358 | option( |
Kenneth Graunke | dbe923b | 2019-11-22 22:18:58 -0800 | [diff] [blame] | 359 | 'prefer-iris', |
| 360 | type : 'boolean', |
Kenneth Graunke | adaa358 | 2019-11-22 22:24:52 -0800 | [diff] [blame] | 361 | value : true, |
Kenneth Graunke | dbe923b | 2019-11-22 22:18:58 -0800 | [diff] [blame] | 362 | description : 'Prefer new Intel iris driver over older i965 driver' |
| 363 | ) |
Benjamin Gordon | b30aad5 | 2018-06-13 16:17:32 -0600 | [diff] [blame] | 364 | option('egl-lib-suffix', |
| 365 | type : 'string', |
| 366 | value : '', |
| 367 | description : 'Suffix to append to EGL library name. Default: none.' |
| 368 | ) |
| 369 | option( |
| 370 | 'gles-lib-suffix', |
| 371 | type : 'string', |
| 372 | value : '', |
| 373 | description : 'Suffix to append to GLES library names. Default: none.' |
| 374 | ) |
Gurchetan Singh | b070861 | 2019-03-15 10:08:45 -0700 | [diff] [blame] | 375 | option( |
| 376 | 'platform-sdk-version', |
| 377 | type : 'integer', |
| 378 | min : 25, |
| 379 | max : 28, |
| 380 | value : 25, |
| 381 | description : 'Android Platform SDK version. Default: Nougat version.' |
| 382 | ) |
Dylan Baker | a8d9410 | 2019-10-31 13:26:00 -0700 | [diff] [blame] | 383 | option( |
| 384 | 'zstd', |
| 385 | type : 'combo', |
| 386 | choices : ['auto', 'true', 'false'], |
| 387 | value : 'auto', |
| 388 | description : 'Use ZSTD instead of ZLIB in some cases.' |
| 389 | ) |