Merge "update_crate_tests.py: update location of bazel binary"

This commit is contained in:
Treehugger Robot
2022-12-13 16:22:35 +00:00
committed by Gerrit Code Review

View File

@@ -144,7 +144,7 @@ class Bazel(object):
""" """
if platform.system() != 'Linux': if platform.system() != 'Linux':
raise UpdaterException('This script has only been tested on 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 = os.path.join(env.ANDROID_BUILD_TOP, "build", "soong", "soong_ui.bash")
# soong_ui requires to be at the root of the repository. # soong_ui requires to be at the root of the repository.