aboutsummaryrefslogtreecommitdiffstats
path: root/ui/build/cleanbuild.go
Commit message (Collapse)AuthorAgeFilesLines
* Generate build timing metrics to proto format fileNan Zhang2019-01-041-1/+3
| | | | | | | | Test: Dumped the text formated based metrics file to out dir, and checked the file. Bug: b/63815990 Change-Id: Iff476f72a0be74eb53b6b26ef468d11c0f24a404
* Add $PRODUCT_OUT/ramdisk to installcleanTom Cherry2018-08-231-0/+1
| | | | | | Bug: 79173823 Test: installclean removes this directory Change-Id: I56dabba29064709112caad6549af7eacbe8469e8
* s/product-services/product_services/gDario Freni2018-08-201-1/+1
| | | | | | | | | | Attempting to reduce the number of different spellings we have for "product services" partition in the codebase. Bug: 112431447 Test: m Change-Id: I0a393a1d625e7ea3217d28735a4db709bce32395 Merged-In: I0a393a1d625e7ea3217d28735a4db709bce32395
* Add product-services to installcleanDario Freni2018-07-311-0/+1
| | | | | | Test: m installclean Bug: 80741439 Change-Id: I55f1e4fbe66430625fe32b724bbf21034c956eff
* Delete product in installCleanJaekyun Seok2018-05-161-0/+1
| | | | | | Bug: 79780604 Test: succeeded building and tested with taimen Change-Id: I11c4ecb839a28d852e0d5faf762afda33166ad48
* Add --skip-make to replace Soong's blueprint wrapper with soong_uiDan Willemsen2017-08-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This way we only have one way to start a build, which always has logging / tracing / etc, even if we don't need Kati. There's two ways to use this: As a direct replacement for mkdir out; cd out; ../bootstrap.bash; ./soong -- as long as --skip-make is always passed, we'll never run Kati, and Soong will run outside of it's "make" mode. This preserves most of the speed, and allows full user control over the Soong configuration. A (experimental, dangerous) way to temporarily bypass the product variable and kati steps of a build. As long as a user is sure that nothing has changed from the last build, and they know exactly which Ninja targets they want to build (which may not be the same as the arguments normally passed to 'm'), this can lead to shorter build startup times. Test: rm -rf out; m --skip-make libc Test: rm -rf out; m libc; m --skip-make libc Test: rm -rf out; mkdir out; cd out; ../bootstrap.bash; ./soong libc Test: build/soong/scripts/build-ndk-prebuilts.sh Change-Id: Ic0f91167b5779dba3f248a379fbaac67a75a946e
* Have installclean remove android-info.txt againDan Willemsen2017-06-011-0/+1
| | | | | | | | | | | | | | | | | I removed *.txt from the installclean list yesterday, but it turns out that android-info.txt being removed was the only thing triggering system.prop to be rebuilt on the incremental build servers. So continue android-info.txt so that the version information in system.prop is correct. I'll follow this up with a more complicated change to make the system.prop generation depend on the build number/versions more directly, but that's a more complicated change since we need to change how the build number file is written. Bug: 62252890 Test: m ...intermediates/system.prop; m installclean; m ...intermediates/system.prop Change-Id: I25dd8ddd99f7b2c927a8cbfb7f1aca1dd3e82a82
* Stop installcleaning $PRODUCT_OUT/*.{ini,txt,xlb}android-o-preview-3Dan Willemsen2017-05-311-3/+0
| | | | | | | | | | | | | | | | | | For *.ini/*.txt files we should be recreating them as the instructions change, so we shouldn't need to remove them. The biggest reason to remove them is that the auto-installclean was removing $PRODUCT_OUT/build_fingerprint.txt just after Kati wrote it out, causing the fingerprint to be blank on builds where the auto installclean code ran. There's no reference to xlb in our tree, and it's been around since the beginning of git history, so remove it. Bug: 62224537 Test: lunch aosp_arm-eng; m nothing; lunch aosp_arm-userdebug; m -j nothing; check out/target/product/generic/build_fingerprint.txt Change-Id: Id391af5c7d95ea78e4e68fae294d8295fccb1964
* Move dataclean and installclean to soong_uiDan Willemsen2017-05-181-0/+169
This speeds things up a little bit, but the major win is that we don't need to recursively call into the build during the auto installclean. Test: m -j installclean Test: m -j dataclean Change-Id: I09ded8dbd8a2015c7848bc0042dfd3adad1b31c9