mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
6951fca9fb
Requires Meson, python3-setuptools, epoxy update too. This, too, should keep kokoro happy. BUG=chromium:924405 TEST=./wrapped_smoke_test.sh Change-Id: Ib1ca1bcca7b21f76e74c8e4dca9f96e84154b9e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2379995 Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: Gurchetan Singh <gurchetansingh@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
36 lines
1.1 KiB
Bash
Executable file
36 lines
1.1 KiB
Bash
Executable file
#!/bin/bash
|
|
# Copyright 2019 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
cd "${0%/*}"
|
|
|
|
remotes=(
|
|
"https://github.com/mesonbuild/meson"
|
|
"https://github.com/anholt/libepoxy.git"
|
|
"https://chromium.googlesource.com/chromiumos/third_party/tpm2"
|
|
"https://chromium.googlesource.com/chromiumos/platform2"
|
|
"https://chromium.googlesource.com/chromiumos/third_party/adhd"
|
|
"https://gitlab.freedesktop.org/mesa/drm.git/"
|
|
"https://android.googlesource.com/platform/external/minijail"
|
|
"https://gitlab.freedesktop.org/virgl/virglrenderer.git"
|
|
)
|
|
|
|
keys=(
|
|
"MESON_COMMIT"
|
|
"LIBEPOXY_COMMIT"
|
|
"TPM2_COMMIT"
|
|
"PLATFORM2_COMMIT"
|
|
"ADHD_COMMIT"
|
|
"DRM_COMMIT"
|
|
"MINIJAIL_COMMIT"
|
|
"VIRGL_COMMIT"
|
|
)
|
|
|
|
for (( i=0; i<${#remotes[*]}; ++i)); do
|
|
remote="${remotes[$i]}"
|
|
key="${keys[$i]}"
|
|
remote_chunk=$(git ls-remote --exit-code "${remote}" refs/heads/master)
|
|
commit=$(echo "${remote_chunk}" | cut -f 1 -)
|
|
echo $key=$commit
|
|
done
|