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

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

Merge "rust: Allow any host tool for custom_bindgen" into main

parents 4ae9c145 4494685a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -247,7 +247,7 @@ func (b *bindgenDecorator) GenerateSource(ctx ModuleContext, deps PathDeps) andr


	var cmd, cmdDesc string
	var cmd, cmdDesc string
	if b.Properties.Custom_bindgen != "" {
	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
		cmdDesc = b.Properties.Custom_bindgen
	} else {
	} else {
		cmd = "$bindgenCmd"
		cmd = "$bindgenCmd"