meson: use gnu_symbol_visibility argument
authorDylan Baker <dylan.c.baker@intel.com>
Fri, 24 Apr 2020 20:10:41 +0000 (13:10 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 1 Jun 2020 18:59:18 +0000 (18:59 +0000)
commita8e2d79e0228106d11b6ceeb38f4ffb587f0a819
tree18eef778716e07f993f568e54920e2242fd0b717
parentfc7301865e1eabe06d4225af596e7334c4094fe5
meson: use gnu_symbol_visibility argument

This uses a meson builtin to handle -fvisibility=hidden. This is nice
because we don't need to track which languages are used, if C++ is
suddenly added meson just does the right thing.

Acked-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
130 files changed:
meson.build
src/amd/addrlib/meson.build
src/amd/common/meson.build
src/amd/compiler/meson.build
src/amd/llvm/meson.build
src/amd/vulkan/meson.build
src/broadcom/cle/meson.build
src/broadcom/compiler/meson.build
src/broadcom/drm-shim/meson.build
src/broadcom/meson.build
src/broadcom/qpu/meson.build
src/compiler/glsl/glcpp/meson.build
src/compiler/glsl/meson.build
src/compiler/glsl/tests/meson.build
src/compiler/meson.build
src/compiler/nir/meson.build
src/drm-shim/meson.build
src/egl/meson.build
src/egl/wayland/wayland-drm/meson.build
src/etnaviv/drm-shim/meson.build
src/etnaviv/drm/meson.build
src/etnaviv/drm/tests/meson.build
src/freedreno/common/meson.build
src/freedreno/drm-shim/meson.build
src/freedreno/drm/meson.build
src/freedreno/fdl/meson.build
src/freedreno/ir3/meson.build
src/freedreno/perfcntrs/meson.build
src/freedreno/vulkan/meson.build
src/gallium/auxiliary/meson.build
src/gallium/auxiliary/pipe-loader/meson.build
src/gallium/drivers/etnaviv/meson.build
src/gallium/drivers/freedreno/meson.build
src/gallium/drivers/i915/meson.build
src/gallium/drivers/iris/meson.build
src/gallium/drivers/llvmpipe/meson.build
src/gallium/drivers/nouveau/meson.build
src/gallium/drivers/panfrost/meson.build
src/gallium/drivers/r300/meson.build
src/gallium/drivers/r600/meson.build
src/gallium/drivers/radeonsi/meson.build
src/gallium/drivers/softpipe/meson.build
src/gallium/drivers/svga/meson.build
src/gallium/drivers/swr/meson.build
src/gallium/drivers/tegra/meson.build
src/gallium/drivers/v3d/meson.build
src/gallium/drivers/vc4/meson.build
src/gallium/drivers/virgl/meson.build
src/gallium/drivers/zink/meson.build
src/gallium/frontends/clover/meson.build
src/gallium/frontends/dri/meson.build
src/gallium/frontends/glx/xlib/meson.build
src/gallium/frontends/hgl/meson.build
src/gallium/frontends/nine/meson.build
src/gallium/frontends/omx/meson.build
src/gallium/frontends/va/meson.build
src/gallium/frontends/vdpau/meson.build
src/gallium/frontends/xa/meson.build
src/gallium/frontends/xvmc/meson.build
src/gallium/targets/d3dadapter9/meson.build
src/gallium/targets/dri/meson.build
src/gallium/targets/graw-gdi/meson.build
src/gallium/targets/graw-null/meson.build
src/gallium/targets/graw-xlib/meson.build
src/gallium/targets/haiku-softpipe/meson.build
src/gallium/targets/libgl-xlib/meson.build
src/gallium/targets/omx/meson.build
src/gallium/targets/osmesa/meson.build
src/gallium/targets/pipe-loader/meson.build
src/gallium/targets/va/meson.build
src/gallium/targets/vdpau/meson.build
src/gallium/targets/xa/meson.build
src/gallium/targets/xvmc/meson.build
src/gallium/winsys/amdgpu/drm/meson.build
src/gallium/winsys/freedreno/drm/meson.build
src/gallium/winsys/iris/drm/meson.build
src/gallium/winsys/kmsro/drm/meson.build
src/gallium/winsys/nouveau/drm/meson.build
src/gallium/winsys/panfrost/drm/meson.build
src/gallium/winsys/radeon/drm/meson.build
src/gallium/winsys/svga/drm/meson.build
src/gallium/winsys/sw/dri/meson.build
src/gallium/winsys/sw/hgl/meson.build
src/gallium/winsys/sw/kms-dri/meson.build
src/gallium/winsys/sw/null/meson.build
src/gallium/winsys/sw/wrapper/meson.build
src/gallium/winsys/sw/xlib/meson.build
src/gallium/winsys/v3d/drm/meson.build
src/gallium/winsys/vc4/drm/meson.build
src/gallium/winsys/virgl/common/meson.build
src/gallium/winsys/virgl/drm/meson.build
src/gallium/winsys/virgl/vtest/meson.build
src/gbm/meson.build
src/glx/apple/meson.build
src/glx/meson.build
src/glx/windows/meson.build
src/intel/blorp/meson.build
src/intel/common/meson.build
src/intel/compiler/meson.build
src/intel/dev/meson.build
src/intel/isl/meson.build
src/intel/perf/meson.build
src/intel/tools/meson.build
src/intel/vulkan/meson.build
src/loader/meson.build
src/mapi/es1api/meson.build
src/mapi/es2api/meson.build
src/mapi/shared-glapi/meson.build
src/mesa/drivers/dri/common/meson.build
src/mesa/drivers/dri/i915/meson.build
src/mesa/drivers/dri/i965/meson.build
src/mesa/drivers/dri/nouveau/meson.build
src/mesa/drivers/dri/r200/meson.build
src/mesa/drivers/dri/radeon/meson.build
src/mesa/drivers/dri/swrast/meson.build
src/mesa/drivers/osmesa/meson.build
src/mesa/meson.build
src/meson.build
src/panfrost/bifrost/meson.build
src/panfrost/encoder/meson.build
src/panfrost/midgard/meson.build
src/panfrost/pandecode/meson.build
src/panfrost/shared/meson.build
src/panfrost/util/meson.build
src/util/format/meson.build
src/util/meson.build
src/vulkan/device-select-layer/meson.build
src/vulkan/overlay-layer/meson.build
src/vulkan/util/meson.build
src/vulkan/wsi/meson.build