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

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 {