Commit 0877e82a authored by agrieve's avatar agrieve Committed by Commit bot

GN: Fix placeholders having double .so extension and breaking rezip

BUG=552040

Review URL: https://codereview.chromium.org/1493893007

Cr-Commit-Position: refs/heads/master@{#363023}
parent d525277e
......@@ -213,10 +213,10 @@ def main(args):
build_utils.AddToZipHermetic(out_apk, apk_path, src_path=path)
for name in sorted(options.native_lib_placeholders):
# Make it non-empty so that its checksum is non-zero and is not
# ignored by md5_check.
apk_path = 'lib/%s/%s.so' % (options.android_abi, name)
build_utils.AddToZipHermetic(out_apk, apk_path, data=':)')
# Empty libs files are ignored by md5check, but rezip requires them
# to be empty in order to identify them as placeholders.
apk_path = 'lib/%s/%s' % (options.android_abi, name)
build_utils.AddToZipHermetic(out_apk, apk_path, data='')
# 6. Java resources. Used only when coverage is enabled, so order
# doesn't matter).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment