Merge "rust: Allow any host tool for custom_bindgen" into main am: 00042a4875
am: 3f7fb697db
am: a6f94a7d03
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2651301 Change-Id: I01909a204211db13100850c85aaca6b1bee49833 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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