prepare_for_emerge: Deprecate --no-clean flag

The `cros clean` was adopted mainly for cleaning up the cache in the SDK
to avoid failures during `update_chroot`. Since stateless SDK is now
default and `update_chroot` has been deprecated, we could deprecate this
flag and don't bother user's temporary assets (`cros clean` doesn't only
clean up build cache but also logs and /tmp).

Because of not calling `cros clean`, build cache is kept intact. Add
--cleanbuild flag to avoid glitches when running `cros build-packages`.

BUG=b:343292240
TEST=prepare_for_emerge --dut ${DUT}

Change-Id: If7a807bdb84e6c433f34a7da20f2f63cb9d05541
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/bluetooth/+/5545487
Reviewed-by: Dean Liao <deanliao@chromium.org>
Tested-by: Hsin-chen Chuang <chharry@google.com>
Commit-Queue: Hsin-chen Chuang <chharry@google.com>
1 file changed
tree: 1572ad7b1adc1e852c35e9f8fdc564b55ee7452a
  1. testing/
  2. tools/
  3. .gitignore
  4. DIR_METADATA
  5. OWNERS
  6. PRESUBMIT.cfg