From 615d6ea5ce3ca8f69e9932249426d0061c260250 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Wed, 5 May 2021 16:06:23 +0000 Subject: [PATCH] Fix missing dependency for the OpenGL loader generator. This was causing the GL loader to not be rebuilt when supported_extensions.json was written. Bug: None Change-Id: I1f085403ebabe3a4cf52a80bcc7d23217603c28b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/49888 Reviewed-by: Stephen White Reviewed-by: Corentin Wallez Commit-Queue: Corentin Wallez --- generator/opengl_loader_generator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/generator/opengl_loader_generator.py b/generator/opengl_loader_generator.py index e080c4e800..8a1d4bfe47 100644 --- a/generator/opengl_loader_generator.py +++ b/generator/opengl_loader_generator.py @@ -273,7 +273,10 @@ class OpenGLLoaderGenerator(Generator): ] def get_dependencies(self, args): - return [os.path.abspath(args.gl_xml)] + return [ + os.path.abspath(args.gl_xml), + os.path.abspath(args.supported_extensions) + ] if __name__ == '__main__':