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:
Justin Yun 2021-05-27 21:27:52 +09:00
parent c4f4cedc47
commit 027bfc68db
1 changed files with 2 additions and 2 deletions

View File

@ -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 {