diff --git a/java/java.go b/java/java.go index f5035e7df..7ecf6720f 100644 --- a/java/java.go +++ b/java/java.go @@ -868,6 +868,10 @@ type Binary struct { binaryFile android.OutputPath } +func (j *Binary) HostToolPath() android.OptionalPath { + return android.OptionalPathForPath(j.binaryFile) +} + func (j *Binary) GenerateAndroidBuildActions(ctx android.ModuleContext) { j.Library.GenerateAndroidBuildActions(ctx)