Files
build_soong/java
Jiakai Zhang 51b2a8b5eb Use per-app package list to avoid unnecessary dexpreopt.
Starting from aosp/2594905, dexpreopt depends on
`$PRODUCT_OUT/product_packages.txt`. When PRODUCT_PACKAGES changes,
dexpreopt has to rerun for all apps. This is not ideal.

After this change, dexpreopt uses a per-app product_packages.txt that is
filtered by the app's dependencies, and it uses `rsync --checksum` to
prevent the file's mtime from being changed if the contents don't change.
This avoids unnecessary dexpreopt reruns.

Bug: 288218403
Test: m
Test: Change PRODUCT_PACKAGES and see no dexpreopt reruns.
Change-Id: I5788a9ee987dfd0abfd7d91cbcef748452290004
2023-06-28 17:59:56 +01:00
..
2023-05-10 15:33:10 +00:00
2023-05-04 12:38:24 -07:00
2023-05-04 12:38:24 -07:00
2023-03-21 08:13:25 -07:00
2023-06-22 20:57:01 +00:00
2022-08-17 10:43:13 -07:00
2023-05-19 20:31:32 +00:00
2023-01-20 17:05:14 -05:00
2023-06-14 06:44:49 +00:00
2023-06-22 08:18:33 -07:00