Add third_party/llvm-libclang GCS dependency Add llvm-libclang to DEPS and roll_chromium_deps.py so V8 metagen has libclang available for instance-type generation. Fixes: 568302852 Change-Id: Iad61684641daa7dc2645970fe1285550d58d6b1c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/347895 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Steven Perron <stevenperron@google.com>
diff --git a/.gitignore b/.gitignore index 4ee56bd..b1cf838 100644 --- a/.gitignore +++ b/.gitignore
@@ -48,6 +48,7 @@ /third_party/litert-lm/src /third_party/llvm-build /third_party/llvm-dev +/third_party/llvm-libclang /third_party/markupsafe /third_party/mesa/src /third_party/meson/src
diff --git a/DEPS b/DEPS index cff4581..3f4b61b 100644 --- a/DEPS +++ b/DEPS
@@ -872,6 +872,42 @@ 'url': '{chromium_git}/chromium/src/third_party/simdutf@f7356eed293f8208c40b3c1b344a50bd70971983', 'condition': 'dawn_standalone and checkout_v8', }, + + 'third_party/llvm-libclang': { + 'dep_type': 'gcs', + 'bucket': 'chromium-browser-clang', + 'condition': 'dawn_standalone and checkout_v8', + 'objects': [ + { + 'object_name': 'Linux_x64/rust-libclang-1edd55dcfcd573872c727fa3e086369a71661ee0-2-llvmorg-24-init-7747-g62397f8b.tar.xz', + 'sha256sum': '59c2086dabf6494fb7cc4690910d4dfddd9a598a1ecaf19d8408197445bbf7c3', + 'size_bytes': 22899948, + 'generation': 1789143385954506, + 'condition': 'host_os == "linux" and non_git_source', + }, + { + 'object_name': 'Mac/rust-libclang-1edd55dcfcd573872c727fa3e086369a71661ee0-2-llvmorg-24-init-7747-g62397f8b.tar.xz', + 'sha256sum': '6fa15d9cf2ff55b5ae1e4276369cfbde1f4f770e60ccb133e1fc7446c5ce607e', + 'size_bytes': 23309500, + 'generation': 1789143389794597, + 'condition': 'host_os == "mac" and host_cpu == "x64"', + }, + { + 'object_name': 'Mac_arm64/rust-libclang-1edd55dcfcd573872c727fa3e086369a71661ee0-2-llvmorg-24-init-7747-g62397f8b.tar.xz', + 'sha256sum': 'd330fd41100be52b4e804c9252b3f3bb34cfed16d2973934de0930b297f7201e', + 'size_bytes': 20689276, + 'generation': 1789143393459608, + 'condition': 'host_os == "mac" and host_cpu == "arm64"', + }, + { + 'object_name': 'Win/rust-libclang-1edd55dcfcd573872c727fa3e086369a71661ee0-2-llvmorg-24-init-7747-g62397f8b.tar.xz', + 'sha256sum': 'fbe9978289a35ca45da1c1393ed6ef8adc86907d36a4ce81fcf590f56b07a096', + 'size_bytes': 21677148, + 'generation': 1789143397092006, + 'condition': 'host_os == "win"', + }, + ], + }, } hooks = [
diff --git a/scripts/roll_chromium_deps.py b/scripts/roll_chromium_deps.py index 10464ef..5a218d3 100755 --- a/scripts/roll_chromium_deps.py +++ b/scripts/roll_chromium_deps.py
@@ -121,6 +121,7 @@ 'build/linux/debian_bullseye_mipsel-sysroot', 'build/linux/debian_bullseye_mips64el-sysroot', 'build/linux/debian_bullseye_amd64-sysroot', + 'third_party/llvm-libclang', } # Files that are copied from Chromium directly. A map from Dawn file path to