[Kotlin] Pass jinja2 path as a flag in build.gradle
Currently, gradle fails to find jinja2 in third_party
Change-Id: Ib66cc5b42dfd1f9e81283b47af272e515941a441
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/197635
Commit-Queue: Sonakshi Saxena <nexa@google.com>
Auto-Submit: Sonakshi Saxena <nexa@google.com>
Reviewed-by: Jim Blackler <jimblackler@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/tools/android/webgpu/build.gradle b/tools/android/webgpu/build.gradle
index fe8464b..6eee34d 100644
--- a/tools/android/webgpu/build.gradle
+++ b/tools/android/webgpu/build.gradle
@@ -109,7 +109,8 @@
'--output-dir', "$project.projectDir/../../../out/Debug/gen",
'--dawn-json', 'src/dawn/dawn.json',
'--targets', 'kotlin',
- '--kotlin-json', 'src/dawn/dawn_kotlin.json'
+ '--kotlin-json', 'src/dawn/dawn_kotlin.json',
+ '--jinja2-path', 'third_party/jinja2'
}
preBuild {