Fix for path in Android cmake file.
Not sure why the relative version is not working from Android Studio
builds at least.
Test: publishToMavenLocal
Change-Id: I720fa39670d5bf5fe496bf91147944d9d7800e6d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/196334
Reviewed-by: Jim Blackler <jimblackler@google.com>
Reviewed-by: Jaswant Panchumarti <jaswant.panchumarti@kitware.com>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit-Queue: Jim Blackler <jimblackler@google.com>
Reviewed-by: Alex Benton <bentonian@google.com>
diff --git a/tools/android/webgpu/src/main/cpp/CMakeLists.txt b/tools/android/webgpu/src/main/cpp/CMakeLists.txt
index a213fcf..a58b3b3 100644
--- a/tools/android/webgpu/src/main/cpp/CMakeLists.txt
+++ b/tools/android/webgpu/src/main/cpp/CMakeLists.txt
@@ -45,7 +45,7 @@
target_link_libraries(native_dawn webgpu_dawn)
-list(INSERT CMAKE_MODULE_PATH 0 ../../../../../../src/cmake)
+list(INSERT CMAKE_MODULE_PATH 0 "${Dawn_SOURCE_DIR}/src/cmake")
include(BundleLibraries)
bundle_libraries(webgpu_c_bundled native_dawn)