Bisect tool: Add pass level bisection command option helper

This patch introduces a new option for bisection tool which is
`--pass_bisect`. When it is set to android/generate_cmd.sh, bisection
tool will create a new script which extracts command line options to
build the bad item (We now only support pass level bisecting for single
bad item, so prune need to be turned off with this option on).

Another python wrapper script will come soon and it will take the
generated script as one argument, indicating how the compiler will build
the bad item at certain limit.

BUG=chromium:878954
TEST=Ran test successfully with Android compiler wrapper. Will add
unittests once verified ChromeOS.

Change-Id: Iaa972e9e1a364143b59a89e6518bbb2bba6e3522
Reviewed-on: https://chromium-review.googlesource.com/1195595
Commit-Ready: Zhizhou Yang <zhizhouy@google.com>
Tested-by: Zhizhou Yang <zhizhouy@google.com>
Reviewed-by: Caroline Tice <cmtice@chromium.org>
3 files changed