Add sysroot DEP for standalone builds
Adds sysroot DEPS entries and configures GN to use them. This will make
standalone Dawn builds no longer dependent on locally installed
libraries, instead relying on the sysroot's copy.
NOTE: This is based on bsheedy@'s work:
https://dawn-review.googlesource.com/c/dawn/+/186580
Bug: chromium:336842914
Change-Id: I2b5741630d54bd70ca5fcc539cc6131fa622112d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/186920
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
diff --git a/.gn b/.gn
index c66bee0..44779cd 100644
--- a/.gn
+++ b/.gn
@@ -46,4 +46,5 @@
"//third_party/vulkan-deps/vulkan-validation-layers/src"
vma_vulkan_headers_dir = "//third_party/vulkan-deps/vulkan-headers/src"
+ use_sysroot = true
}