xref: /aosp_15_r20/external/toolchain-utils/binary_search_tool/android/cleanup.sh (revision 760c253c1ed00ce9abd48f8546f08516e57485fe)
1*760c253cSXin Li#!/bin/bash
2*760c253cSXin Li#
3*760c253cSXin Li# Copyright 2016 Google LLC
4*760c253cSXin Li#
5*760c253cSXin Li# This script is part of the Android binary search triage process.
6*760c253cSXin Li# It should be the last script called by the user, after the user has
7*760c253cSXin Li# successfully run the bisection tool and found their bad items. This script
8*760c253cSXin Li# will perform all necessary cleanup for the bisection tool.
9*760c253cSXin Li#
10*760c253cSXin Li
11*760c253cSXin Lirm android/common.sh
12*760c253cSXin Li# Remove build command script if pass_bisect enabled
13*760c253cSXin Lirm -f android/cmd_script.sh
14*760c253cSXin Li# Remove tmp IR file used for ir_diff in pass beisction
15*760c253cSXin Lirm -f /tmp/bisection_bad_item.o
16