Ensure that systemserverclasspath_fragment does not depend on prebuilts

Bug: 190037398
Test: m nothing
Change-Id: I85671613c70bbfe8adde1d24d7f59ed7b53a8120
This commit is contained in:
Paul Duffin 2021-06-29 17:57:50 +01:00
parent fee8cf36e3
commit ba96f7c5b6
1 changed files with 5 additions and 0 deletions

View File

@ -119,6 +119,11 @@ type systemServerClasspathFragmentContentDependencyTag struct {
blueprint.BaseDependencyTag
}
// The systemserverclasspath_fragment contents must never depend on prebuilts.
func (systemServerClasspathFragmentContentDependencyTag) ReplaceSourceWithPrebuilt() bool {
return false
}
// Contents of system server fragments in an apex are considered to be directly in the apex, as if
// they were listed in java_libs.
func (systemServerClasspathFragmentContentDependencyTag) CopyDirectlyInAnyApex() {}