Merge "Allow java_host_binary to be used with genrule."
This commit is contained in:
commit
047a24ac5c
1 changed files with 4 additions and 0 deletions
|
@ -868,6 +868,10 @@ type Binary struct {
|
||||||
binaryFile android.OutputPath
|
binaryFile android.OutputPath
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (j *Binary) HostToolPath() android.OptionalPath {
|
||||||
|
return android.OptionalPathForPath(j.binaryFile)
|
||||||
|
}
|
||||||
|
|
||||||
func (j *Binary) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
func (j *Binary) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||||
j.Library.GenerateAndroidBuildActions(ctx)
|
j.Library.GenerateAndroidBuildActions(ctx)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue