summaryrefslogtreecommitdiff
path: root/filesystem/logical_partition.go
AgeCommit message (Collapse)Author
2025-02-19Change depVisitor to use providers instead of type-asserting to Yu Liu
interfaces directly, the next step is to change it to use ModuleProxy once IsDepInSameApex is ready. Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I13a4e256a26dbf7f9b3b746d628ac8f68b4e598e
2024-11-13Use fewer OutputPaths Cole Faust
A lot of the time, you really mean android.Path or android.WriteablePath instead of OutputPath. Also, many modules were holding onto OutputPaths/WriteablePaths after the files had already been generated, meaning they should no longer be treated as writable paths and are instead inputs into other actions. Change the type of those paths to just android.Path. Test: verified ninja files were unchanged on aosp_arm64-trunk_staging-userdebug Change-Id: Id773171bef59d855ba33c4b85cef268031cbec39
2024-08-27logical_partition.groups.partitions.filesystem can be empty Jiyong Park
This fixes a minor bug that filesystem image was always needed for a partition in a group. With this change, the filesystem image can be omitted (as is the case for Make). Bug: 339587835 Test: m nothing Change-Id: I2f87612ec824e1298e3bddea8a4b90932b438f41
2024-06-07Use OutputFilesProvider on filesystem module types mrziwang
Test: CI Bug: 339477385 Change-Id: I0902726cfef13c716d73c1abc5c9836bdcf3e10f
2021-12-15Remove InstallBypassMake and ToMakePath Colin Cross
InstallBypassMake and ToMakePath are obsolete, remove them. Bug: 204136549 Test: m checkbuild Change-Id: Ie5a6f7254b3d317ed6039e114ed6aec35e1ce273
2021-04-01Support super image size automatic calculation Inseob Kim
If the size is set to "auto", the size will be automatically calculated by lpmake. Bug: 181107248 Test: boot microdroid Change-Id: I9dd599ca64e4d442bfb83fe45b1f03080a74f1e1
2021-03-31Add default group support for logical_partition Inseob Kim
Default group has no size limit and becomes automatically minimized. Bug: 181107248 Test: boot microdroid Change-Id: Id38d3ab173db5fa01db3d471af15747d30b1820c
2021-03-16Add vbmeta module type Jiyong Park
The module type is to create vbmeta image out of other partitions. Bug: 180676957 Test: m microdroid_vbmeta microdroid_vbmeta_system Inspect the built image using `avbtool info_image --image <image>` Change-Id: Iac92e9ab1640dcd488af69842e09850a91262bf1
2021-03-09bootimg and logical_partition are OutputFileProducer Jiyong Park
The two module types now implement OutputFileProducer so that we can add them to the data dependencies of tests. Bug: 181860941 Test: atest MicrodroidHostTestCase Change-Id: If263fefb1e5cdb5b57c17eb389c6ecc11d8356f4
2021-02-24Add logical_partition module type Jiyong Park
logical_partition builds a partition image (which is usually called 'super.img') out of one or more filesystem images. Bug: 180921702 Test: m microdroid_super Change-Id: I659607647e3a5bc82c82b576a049e6c6f91cbddb