From 9206f1c08b9fc65c577a2bb3fbaf6889de07a9ba Mon Sep 17 00:00:00 2001 From: "Lukacs T. Berki" Date: Thu, 2 Sep 2021 17:51:13 +0200 Subject: [PATCH] Update the way one generates the Bazel workspace. Test: Presubmits. Change-Id: I0edfe61e78d04fcb468c68136ba1da3ee6e3fd1c --- 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 3b654fc55..d9e623d20 100755 --- a/scripts/update_crate_tests.py +++ b/scripts/update_crate_tests.py @@ -109,7 +109,7 @@ class Bazel(object): # soong_ui requires to be at the root of the repository. os.chdir(env.ANDROID_BUILD_TOP) print("Generating Bazel files...") - cmd = [soong_ui, "--make-mode", "GENERATE_BAZEL_FILES=1", "nothing"] + cmd = [soong_ui, "--make-mode", "bp2build"] try: subprocess.check_output(cmd, stderr=subprocess.STDOUT, text=True) except subprocess.CalledProcessError as e: