Merge "Update the way one generates the Bazel workspace." am: a96722e794 am: 73869d8585 am: 370b9c7416 am: 93395a7878
Original change: https://android-review.googlesource.com/c/platform/development/+/1818333 Change-Id: Id5b2badfa747f1ea790e3ec29c34d60e2db15744
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user