Reland "Add public build support for setup_cros_bisect.py" This reverts commit 21e9f53dfa7ed863bef98c51428049c9ecb9daf8. Reason for revert: Fixed the bug in the previous change. Original change's description: > Revert "Add public build support for setup_cros_bisect.py" > > This reverts commit f6799ceaa75b007e18f2bbd8bc6cc7fab0e8ceb7. > > Reason for revert: Breaking bisector > > Original change's description: > > Add public build support for setup_cros_bisect.py > > > > This change introduces a `--public-build` flag to `setup_cros_bisect.py` to support checking out the public version of the Chrome source code. > > > > The `is_public_build` flag is passed to the functions responsible for configuring and syncing the Chrome repository. When this flag is set, the `.gclient` configuration is modified to exclude the `checkout_src_internal` custom variable, which prevents the checkout of internal-only source code. > > > > BUG=b:441146529 > > TEST=Ran the added unittests > > > > Change-Id: I1e8810a6675c3fa9211f2a8ae35a36d12fd371d5 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/bisect-kit/+/6904885 > > Tested-by: Yoshiki Iguchi <yoshiki@chromium.org> > > Reviewed-by: MD Nayeem Jahan Rafi <njrafi@google.com> > > Commit-Queue: Yoshiki Iguchi <yoshiki@chromium.org> > > BUG=b:441146529 > > Change-Id: Iacd0028085df67f465bb898cf70f71f420c035f3 > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/bisect-kit/+/6905329 > Auto-Submit: Yoshiki Iguchi <yoshiki@chromium.org> > Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> BUG=b:441146529 TEST=manually ran `./setup_cros_bisect.py {new,init,sync}` Change-Id: I84e527193870184e1c0081c844455446c8f65c37 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/bisect-kit/+/6906463 Reviewed-by: MD Nayeem Jahan Rafi <njrafi@google.com> Commit-Queue: Yoshiki Iguchi <yoshiki@chromium.org> Tested-by: Yoshiki Iguchi <yoshiki@chromium.org> 1 file changed