Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 754b054d authored by Sam Delmerico's avatar Sam Delmerico Committed by Cherrypicker Worker
Browse files

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
parent 373e894e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment