rust: Disable dylib vendor modules
These modules do not currently build correctly. Support is planned but not complete. Bug: 204303985 Test: Presubmit + build `rust_library` with `vendor_available: true` Change-Id: Iac7df9fe0d4eaa9a5ec0ff5a9cd5670af23df2a6
This commit is contained in:
parent
86baf3e191
commit
bdda910395
1 changed files with 6 additions and 0 deletions
|
@ -681,6 +681,12 @@ func LibraryMutator(mctx android.BottomUpMutatorContext) {
|
||||||
}
|
}
|
||||||
|
|
||||||
variation := v.(*Module).ModuleBase.ImageVariation().Variation
|
variation := v.(*Module).ModuleBase.ImageVariation().Variation
|
||||||
|
if strings.HasPrefix(variation, cc.VendorVariationPrefix) {
|
||||||
|
// TODO(b/204303985)
|
||||||
|
// Disable vendor dylibs until they are supported
|
||||||
|
v.(*Module).Disable()
|
||||||
|
}
|
||||||
|
|
||||||
if strings.HasPrefix(variation, cc.VendorVariationPrefix) &&
|
if strings.HasPrefix(variation, cc.VendorVariationPrefix) &&
|
||||||
m.HasVendorVariant() &&
|
m.HasVendorVariant() &&
|
||||||
!snapshot.IsVendorProprietaryModule(mctx) &&
|
!snapshot.IsVendorProprietaryModule(mctx) &&
|
||||||
|
|
Loading…
Reference in a new issue