mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Generator,BUILD.gn: add optional python path, use it for Jinja2
This makes the Jinja2 (and MarkupSafe) installation hermetic by adding it to the DEPS and making the code generator add them in the first spot of the python path.
This commit is contained in:
committed by
Corentin Wallez
parent
682c44af92
commit
3bb0bb940e
@@ -43,3 +43,7 @@ if (!defined(dawn_shaderc_dir)) {
|
||||
if (!defined(dawn_glfw_dir)) {
|
||||
dawn_glfw_dir = "//third_party/glfw"
|
||||
}
|
||||
|
||||
if (!defined(dawn_jinja2_dir)) {
|
||||
dawn_jinja2_dir = "//third_party/jinja2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user