Revert^2 "Build license metadata files in Soong"
b3264f2090
Change-Id: I5ea5f7e29eb1dbc72b8b30f010006a25f5f72fac
This commit is contained in:
@@ -1206,11 +1206,16 @@ func (module *SdkLibrary) DepsMutator(ctx android.BottomUpMutatorContext) {
|
||||
|
||||
func (module *SdkLibrary) OutputFiles(tag string) (android.Paths, error) {
|
||||
paths, err := module.commonOutputFiles(tag)
|
||||
if paths == nil && err == nil {
|
||||
return module.Library.OutputFiles(tag)
|
||||
} else {
|
||||
if paths != nil || err != nil {
|
||||
return paths, err
|
||||
}
|
||||
if module.requiresRuntimeImplementationLibrary() {
|
||||
return module.Library.OutputFiles(tag)
|
||||
}
|
||||
if tag == "" {
|
||||
return nil, nil
|
||||
}
|
||||
return nil, fmt.Errorf("unsupported module reference tag %q", tag)
|
||||
}
|
||||
|
||||
func (module *SdkLibrary) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
|
Reference in New Issue
Block a user