summaryrefslogtreecommitdiff
path: root/rust/snapshot_utils.go
AgeCommit message (Collapse)Author
2021-07-02Include static lib information for the snapshot modulesJustin Yun
snapshot modules require the list of static libs to find the NOTICE files for the snapshot modules. snapshot binaries must include static_executable property to check if non static binaries have libc as a static lib. Bug: 190690041 Test: Check NOTICE for libaudiopreprocessing.so built from snapshots. Change-Id: I53f7549a158ab27ada87833a3f4d58620aa7c3cf (cherry picked from commit 5e035863652abbadda3fc7039654ce915792c6ac)
2021-06-28add support for ramdiskvivek mehta
CRs-Fixed: 2847831 Change-Id: I7a51ea80616cd9b3f1de84623f72bc1de62cac20
2021-05-27Fix ExcludeFromVendorSnapshot checkJustin Yun
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 (cherry picked from commit 9e13187f6b733f689f9552aa3ca8eb329140f427)
2021-05-12Refactor vendor snapshot to use LinkableInterface.Ivan Lozano
Refactors the vendor snapshot support to use the LinkableInterface so that support can be extended to Rust. This CL does not add vendor snapshot support for Rust; that is left for a follow-on CL. Bug: 184042776 Test: m nothing Change-Id: Id0c4970ca00053484a52677d182153cbc454c301