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

Commit b2ace8d7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Implement OutputFileProducer for android_app_import and android_test_import" into main

parents 00042a48 5368d0b4
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ package java
// This file contains the module implementations for android_app_import and android_test_import.

import (
	"fmt"
	"reflect"

	"github.com/google/blueprint"
@@ -410,6 +411,15 @@ func (a *AndroidAppImport) OutputFile() android.Path {
	return a.outputFile
}

func (a *AndroidAppImport) OutputFiles(tag string) (android.Paths, error) {
	switch tag {
	case "":
		return []android.Path{a.outputFile}, nil
	default:
		return nil, fmt.Errorf("unsupported module reference tag %q", tag)
	}
}

func (a *AndroidAppImport) JacocoReportClassesFile() android.Path {
	return nil
}