Build license metadata files in Soong am: 3dd2ff28ed
am: 05ff6289c2
am: a25d6989dc
am: 2904cf5cfc
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1899702 Change-Id: I35fabcb7e7210fc0e0f55c2db4f73a716561db66
This commit is contained in:
@@ -1222,11 +1222,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