Fix ExcludeFromVendorSnapshot check
ExcludeFromVendorSnapshot() must return true if the module must not be snapshotted and built from the vendor source tree. The default value must be false because rust modules are provided by the system source tree. Bug: 184042776 Bug: 189372652 Test: m nothing Change-Id: I267c3a5674bea966d1dd831cda73538ae94cf25f Merged-In: I267c3a5674bea966d1dd831cda73538ae94cf25f (cherry picked from commit 9e13187f6b733f689f9552aa3ca8eb329140f427)
This commit is contained in:
parent
c4f4cedc47
commit
027bfc68db
|
@ -20,12 +20,12 @@ import (
|
||||||
|
|
||||||
func (mod *Module) ExcludeFromVendorSnapshot() bool {
|
func (mod *Module) ExcludeFromVendorSnapshot() bool {
|
||||||
// TODO Rust does not yet support snapshotting
|
// TODO Rust does not yet support snapshotting
|
||||||
return true
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func (mod *Module) ExcludeFromRecoverySnapshot() bool {
|
func (mod *Module) ExcludeFromRecoverySnapshot() bool {
|
||||||
// TODO Rust does not yet support snapshotting
|
// TODO Rust does not yet support snapshotting
|
||||||
return true
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func (mod *Module) IsSnapshotLibrary() bool {
|
func (mod *Module) IsSnapshotLibrary() bool {
|
||||||
|
|
Loading…
Reference in New Issue