From 2f3afc25d59a64b8bce6c9dca081126841d29295 Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Tue, 13 Dec 2022 15:43:05 +0100 Subject: [PATCH] update_crate_tests.py: update location of bazel binary The binary for bazel moved from tools/bazel to build/bazel/bin/bazel. Test: run update_crate_tests.py in a Rust crate. Verify results. Change-Id: I2e586b59876bfd7146cd92efc90055828bf60eac --- scripts/update_crate_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_crate_tests.py b/scripts/update_crate_tests.py index 68e5106a4..ec639b123 100755 --- a/scripts/update_crate_tests.py +++ b/scripts/update_crate_tests.py @@ -144,7 +144,7 @@ class Bazel(object): """ if platform.system() != 'Linux': raise UpdaterException('This script has only been tested on Linux.') - self.path = os.path.join(env.ANDROID_BUILD_TOP, "tools", "bazel") + self.path = os.path.join(env.ANDROID_BUILD_TOP, "build", "bazel", "bin", "bazel") soong_ui = os.path.join(env.ANDROID_BUILD_TOP, "build", "soong", "soong_ui.bash") # soong_ui requires to be at the root of the repository.