[Instrumented libraries] Port build_and_package.py to python3

R=thestig

Change-Id: I0406f9d08142889a8ed4dea44f16041153962438
Bug: 1260217
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4076665
Commit-Queue: Lei Zhang <thestig@chromium.org>
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1078666}
NOKEYCHECK=True
GitOrigin-RevId: 3200d2bb7b4e2e52f13db648591cb8c7a83e8e8c
1 file changed