From 3e332cd4751baa30b2575affa84093da55c68b4a Mon Sep 17 00:00:00 2001 From: Jiajie Hu Date: Wed, 27 May 2020 01:33:33 +0000 Subject: [PATCH] Set a default value for dawn_glm_dir like other GN build overrides Bug: dawn:437 Change-Id: Iffdb281df32a506b1cf21823d27ee18710427457 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/22102 Reviewed-by: Kai Ninomiya Reviewed-by: Austin Eng Reviewed-by: Corentin Wallez Commit-Queue: Jiajie Hu --- scripts/dawn_overrides_with_defaults.gni | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/dawn_overrides_with_defaults.gni b/scripts/dawn_overrides_with_defaults.gni index f459c4367d..0517180d14 100644 --- a/scripts/dawn_overrides_with_defaults.gni +++ b/scripts/dawn_overrides_with_defaults.gni @@ -41,6 +41,10 @@ if (!defined(dawn_glfw_dir)) { dawn_glfw_dir = "//third_party/glfw" } +if (!defined(dawn_glm_dir)) { + dawn_glm_dir = "//third_party/glm" +} + if (!defined(dawn_googletest_dir)) { dawn_googletest_dir = "//third_party/googletest" }