prepare_for_emerge: Add sync-with-manifest feature

sync-with-manifest syncs the source tree to the exactly same state as
the DUT build.

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

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