diff options
Diffstat (limited to 'filesystem/bootimg.go')
| -rw-r--r-- | filesystem/bootimg.go | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/filesystem/bootimg.go b/filesystem/bootimg.go index 352b45178..e796ab9b3 100644 --- a/filesystem/bootimg.go +++ b/filesystem/bootimg.go @@ -123,6 +123,8 @@ func (b *bootimg) GenerateAndroidBuildActions(ctx android.ModuleContext) { b.installDir = android.PathForModuleInstall(ctx, "etc") ctx.InstallFile(b.installDir, b.installFileName(), b.output) + + ctx.SetOutputFiles([]android.Path{b.output}, "") } func (b *bootimg) buildBootImage(ctx android.ModuleContext, vendor bool) android.OutputPath { @@ -292,13 +294,3 @@ func (b *bootimg) SignedOutputPath() android.Path { } return nil } - -var _ android.OutputFileProducer = (*bootimg)(nil) - -// Implements android.OutputFileProducer -func (b *bootimg) OutputFiles(tag string) (android.Paths, error) { - if tag == "" { - return []android.Path{b.output}, nil - } - return nil, fmt.Errorf("unsupported module reference tag %q", tag) -} |