summaryrefslogtreecommitdiff
path: root/java/generated_java_library.go
diff options
context:
space:
mode:
author Sam Delmerico <delmerico@google.com> 2023-06-30 14:40:10 -0400
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-07-05 17:10:20 +0000
commit754b054d634e1712d38a586692b0bb7d0bc5c31b (patch)
tree564e972ad4a708ac464c750230537600ba508e37 /java/generated_java_library.go
parent373e894e3ccbb6806a4310581e5135c1d7ba25ec (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 (cherry picked from https://android-review.googlesource.com/q/commit:35881365b49235b2311f48bfcbaff8f873f19b88) Merged-In: Ifefc6880228e4dd37f5e42b2bda31a83df785375 Change-Id: Ifefc6880228e4dd37f5e42b2bda31a83df785375
Diffstat (limited to 'java/generated_java_library.go')
0 files changed, 0 insertions, 0 deletions