Android: update static initializer checks in resource_sizes.py.
In resource_sizes.py, we check for static initializers using readelf and using dump-static-initializers.py. The latter requires an unstripped .so file. In some 64 bit APKs (i.e. MonochromePublic.apk), a 32 bit binary is also included but since this binary isn't located in the normal location ($OUTDIR/lib.unstripped/), we currently just check the 64 bit binary twice. This also makes |_VerifyBuildIdsMatch()| fail (which was previously added incorrectly in https://codereview.chromium.org/2706243013) since we try to verify the build ids of two different binaries (32 and 64 bit versions). To simplify this, we ignore 32 bit .so files when 64 bit .so file are present since the 32 bit .so files will be checked by other bots. BUG=708942 Review-Url: https://codereview.chromium.org/2797163006 Cr-Commit-Position: refs/heads/master@{#463284}
Showing
Please register or sign in to comment