diff options
author | 2023-06-27 20:48:04 +0000 | |
---|---|---|
committer | 2023-06-27 20:48:05 +0000 | |
commit | f3680735225d1cce6e1720762da8fb494079a0e6 (patch) | |
tree | 8cce24c7d9d98fc4c334690a34ea6b6bf0f71683 | |
parent | fa076a74f8a128785f2a8bed17c7d55e7f10f8aa (diff) |
Add -sha256 to robolectric zip
This help limit the overhead of cas upload
Change-Id: I4e1dacb38cbebf882457297ddf047a1ad1166504
Test: presubmit
Bug: None
-rw-r--r-- | android/test_suites.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/test_suites.go b/android/test_suites.go index b48d71af6..63a709fb7 100644 --- a/android/test_suites.go +++ b/android/test_suites.go @@ -68,7 +68,8 @@ func robolectricTestSuite(ctx SingletonContext, files map[string]InstallPaths) W FlagWithOutput("-o ", outputFile). FlagWithArg("-P ", "host/testcases"). FlagWithArg("-C ", testCasesDir.String()). - FlagWithRspFileInputList("-r ", outputFile.ReplaceExtension(ctx, "rsp"), installedPaths.Paths()) + FlagWithRspFileInputList("-r ", outputFile.ReplaceExtension(ctx, "rsp"), installedPaths.Paths()). + Flag("-sha256") rule.Build("robolectric_tests_zip", "robolectric-tests.zip") return outputFile |