Specify allowlist for Fuchsia only
Not needed for Linux and on Linux the set of symbols doesn't match.
Change-Id: Ieec78fa5e9f7c4f8b0f2173536a2c4fd4c008579
diff --git a/src/intel/vulkan/BUILD.gn b/src/intel/vulkan/BUILD.gn
index 22b59fb..3dbf61a 100644
--- a/src/intel/vulkan/BUILD.gn
+++ b/src/intel/vulkan/BUILD.gn
@@ -35,11 +35,12 @@
}
magma_vulkan_icd("vulkan_intel") {
- imported_symbols_allowlist = rebase_path("//src/graphics/lib/magma/gnbuild/imported_symbols.allowlist")
output_name = "libvulkan_intel"
deps = [ ":vulkan_internal" ]
if (is_fuchsia) {
+ imported_symbols_allowlist =
+ rebase_path("$magma_build_root/gnbuild/imported_symbols.allowlist")
deps += [
"$magma_build_root/src/libmagma",
"$mesa_build_root/src/os:fuchsia_libc_static",