Merge "Allow java_host_binary to be used with genrule."

am: 047a24ac5c

Change-Id: I461dffdb266403547a1b60204790215461478daa
This commit is contained in:
Alex Light
2017-10-28 00:13:41 +00:00
committed by android-build-merger

View File

@@ -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)