Remove -sha256 flag when calling bssl_inject_hash.

Cherry-pick note: Needed for the BoringSSL change in the same topic due to build flag changes.

Flag removed upstream, all platforms now use SHA-256
for libcrypto integrity hash.

Test: m && flashall
Change-Id: I453edebb80ec2a853d54ce5c3f055b6456010524
(cherry picked from commit c0d89b3db1)
Merged-In: I453edebb80ec2a853d54ce5c3f055b6456010524
This commit is contained in:
Pete Bentley
2022-05-18 18:01:22 +01:00
parent 39a9db3bae
commit c54158d3c7

View File

@@ -2437,7 +2437,6 @@ func maybeInjectBoringSSLHash(ctx android.ModuleContext, outputFile android.Modu
rule := android.NewRuleBuilder(pctx, ctx)
rule.Command().
BuiltTool("bssl_inject_hash").
Flag("-sha256").
FlagWithInput("-in-object ", outputFile).
FlagWithOutput("-o ", hashedOutputfile)
rule.Build("injectCryptoHash", "inject crypto hash")