summaryrefslogtreecommitdiff
path: root/sdk/java_sdk_test.go
diff options
context:
space:
mode:
author Sam Delmerico <delmerico@google.com> 2023-06-30 14:40:10 -0400
committer Sam Delmerico <delmerico@google.com> 2023-06-30 15:25:16 -0400
commit35881365b49235b2311f48bfcbaff8f873f19b88 (patch)
tree9925d40e1320aada2107e4bf93468e3e3a4db90a /sdk/java_sdk_test.go
parenta56663f6954de78f82d7862c2e86bb1932e6c6da (diff)
don't export systemserverclasspath_fragment if contents are empty
If a systemserverclasspath_fragment only contains libraries that have a higher min_sdk_version than the target build release version, then we should not export the systemserverclasspath_fragment. Before this change, the fragment was exported with an empty `contents` property which caused errors after being dropped as a prebuilt. Bug: 289183551 Test: go test ./sdk Change-Id: Ifefc6880228e4dd37f5e42b2bda31a83df785375
Diffstat (limited to 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions