Merge "rust: Allow any host tool for custom_bindgen" into main
This commit is contained in:
@@ -247,7 +247,7 @@ func (b *bindgenDecorator) GenerateSource(ctx ModuleContext, deps PathDeps) andr
|
||||
|
||||
var cmd, cmdDesc string
|
||||
if b.Properties.Custom_bindgen != "" {
|
||||
cmd = ctx.GetDirectDepWithTag(b.Properties.Custom_bindgen, customBindgenDepTag).(*Module).HostToolPath().String()
|
||||
cmd = ctx.GetDirectDepWithTag(b.Properties.Custom_bindgen, customBindgenDepTag).(android.HostToolProvider).HostToolPath().String()
|
||||
cmdDesc = b.Properties.Custom_bindgen
|
||||
} else {
|
||||
cmd = "$bindgenCmd"
|
||||
|
Reference in New Issue
Block a user