Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54dbc8c3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "prevent unintended m bp2build "" when running b"

parents f190db2a 89a47025
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1730,7 +1730,7 @@ function b()
    local skip_tests=$(echo "$@" | grep -ow -- "--skip-soong-tests")
    local bazel_args=(${@/--skip-soong-tests/})
    # Generate BUILD, bzl files into the synthetic Bazel workspace (out/soong/workspace).
    _trigger_build "all-modules" bp2build USE_BAZEL_ANALYSIS= "$skip_tests" || return 1
    _trigger_build "all-modules" bp2build USE_BAZEL_ANALYSIS= $skip_tests || return 1
    # Then, run Bazel using the synthetic workspace as the --package_path.
    if [[ -z "$bazel_args" ]]; then
        # If there are no args, show help.