From 8f065e6c5dc6dbd084d31e23764c8f208202c2cb Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Thu, 4 May 2023 18:02:22 -0700 Subject: [PATCH] Delete rbc-run script It was inlined into the usage in the other cl in this topic. Bug: 280685526 Test: ./build/bazel/ci/rbc_dashboard.py --quick aosp_arm64-userdebug Change-Id: I68af9186e17a996baf4676d97cdc9895abcb7e06 --- scripts/rbc-run | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 scripts/rbc-run diff --git a/scripts/rbc-run b/scripts/rbc-run deleted file mode 100755 index 8d93f0e99..000000000 --- a/scripts/rbc-run +++ /dev/null @@ -1,18 +0,0 @@ -#! /bin/bash -# Convert and run one configuration -# Args: a product/board makefile optionally followed by additional arguments -# that will be passed to rbcrun. -[[ $# -gt 1 && -f "$1" && -f "$2" ]] || { echo "Usage: ${0##*/} product.mk input_variables.mk [Additional rbcrun arguments]" >&2; exit 1; } -set -eu - -declare -r output_root="${OUT_DIR:-out}" -declare -r runner="${output_root}/rbcrun" -declare -r converter="${output_root}/mk2rbc" -declare -r launcher="${output_root}/rbc/launcher.rbc" -declare -r makefile_list="${output_root}/.module_paths/configuration.list" -declare -r makefile="$1" -declare -r input_variables="$2" -shift 2 -"${converter}" -mode=write -r --outdir "${output_root}/rbc" --input_variables "${input_variables}" --launcher="${launcher}" --makefile_list="${makefile_list}" "${makefile}" -"${runner}" RBC_OUT="make,global" RBC_DEBUG="${RBC_DEBUG:-}" $@ "${launcher}" -