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
This commit is contained in:
Justin Yun
2021-05-27 21:27:52 +09:00
parent 69e7231677
commit 9e13187f6b

View File

@@ -20,12 +20,12 @@ import (
func (mod *Module) ExcludeFromVendorSnapshot() bool {
// TODO Rust does not yet support snapshotting
return true
return false
}
func (mod *Module) ExcludeFromRecoverySnapshot() bool {
// TODO Rust does not yet support snapshotting
return true
return false
}
func (mod *Module) IsSnapshotLibrary() bool {