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
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user