summaryrefslogtreecommitdiff
path: root/cppreopts
AgeCommit message (Collapse)Author
2017-08-23Merge "Make cppreopts cleanup if it fails" am: 9711713241Alex Light
am: ac9b39c5ed Change-Id: Iaff3d835bc30e5434d0f075293fdb48060edb3e2
2017-08-23Make cppreopts cleanup if it failsAlex Light
Previously we would simply leave temporary files lying around if we failed to rename them for some reason. This change makes us attempt to clean the temporary files up. Test: Phone boots. Bug: 63995897 Change-Id: Ib876a626904bec090fe4f3bd228335feadb6a7c7
2017-05-05Add art files support to cppreopt copyMathieu Chartier
Preopted art files are now copied to classes.dex. Test: adb shell rm /data/system/packages.xml Test: adb shell rm -rf /data/dalvik-cache Test: adb reboot Test: adb shell ls -l /data/dalvik-cache/*/* | grep Calc Bug: 38033055 Change-Id: Ib7d1c65ff47cdb4ebb1829f6a87a885381aded15
2016-10-21Also move vdex files from system_b.Nicolas Geoffray
Both .odex and .vdex files are needed to avoid doing dexopt at first boot. bug:32224338 bug:29278988 Test: flash pixel device, check no dex2oat of prebuilts is done. Change-Id: Iafaeae64efd4e044590ef23d813aa0e2642c1226
2016-07-27Run preloads_copy.sh as system:systemFyodor Kupolov
Root is not required, and most importantly system_server won't be able delete preloads folder during cleanup. Bug: 30280710 Change-Id: I41890834467cc51b7b4ebd9c2918a47904f0b377
2016-07-26Optional script to copy preloads to data directoryFyodor Kupolov
Bug: 29940807 Change-Id: Iba4deaecb5a4055ad10b92829f37ecd3cf8a5ee0
2016-07-19cppreopts: parallel cppreopts to improve performanceWei Wang
Bug: 30118894 Bug: 30189706 Change-Id: I0ed0c69873313a3bfaf2e1ff217da59b0f8929c1
2016-06-29Copy preopted files from B partition.Alex Light
This translates from the preopted files in the system_other partition into the main dalvik-cache. This also has init scripts to allow this to run. We first copy to a temporary file before renaming them in order to make the copy atomic. Bug: 29278988 Change-Id: I8bf1b2d021998949fd9996a923be7db9691e6a1e