Use binary build ID and match with unstripped lib to detect lib in APK

Use library name and build ID to match the correct library in build output lib.unstripped with a detected library in APK, instead of
matching stripped lib file using library name and size. This is useful
when raw stripped library file is not present in build output dir
(when running tests in swarming bots).

Bug: 334121121
Change-Id: I8dc6946603550f1cec3a9c0ffcf14801e2010ea5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5599039
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Zhaoyang Li <zhaoyangli@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1312000}
NOKEYCHECK=True
GitOrigin-RevId: 7163d2ec8947f0d83e593dea8c4370430dd0171d
3 files changed
tree: 3a1149d609b16e0bceddd410e9c5bc67b56e3a67
  1. development/
  2. DIR_METADATA
  3. LICENSE
  4. OWNERS
  5. README.chromium