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 c0d89b3db1ca447b67e7c87d3fa6bb60bd9eb34d)
Merged-In: I453edebb80ec2a853d54ce5c3f055b6456010524
diff --git a/cc/library.go b/cc/library.go
index b1c18f4..f9bef6c 100644
--- a/cc/library.go
+++ b/cc/library.go
@@ -2437,7 +2437,6 @@
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")