Files
build/core
Spandan Das d9d72c46ba Prevent implicit outputs created during dexpreopt_config.zip
$PRODUCT_OUT/dexpreopt_config.zip is created by zipping all the
dexpreopt configs of individual apps. These config files are created in
$PRODUCT_OUT/dexpreopt_config, and this dir is as used as -C for
soong_zip.

In the current implementation, this build action also implicitly copies
global configuration files dexpreopt.config and dexpreopt_soong.config
into $PRODUCT_OUT/dexpreopt_config with the intent of being included in
the resultant zip file. These implicit outputs are unknown to ninja.

This CL prevents creation of these implicit outputs.
out/soong/dexpreopt_soong.config and
out/soong/dexpreopt_<arch>/dexpreopt.config is now passed directly to
soong_zip via -f.

Bug: 333316620
Test: m out/target/product/vsoc_x86_64/dexpreopt_config.zip # no longer
bit identical since the relative order changes, dexpreopt(_soong).config
now appears at the bottom of the zip
Test: zipcmp dexpreopt_config.zip.before dexpreopt_config.zip.after # no
diffs

Change-Id: Ib30c9a5c436e263231f9688129ab94664277b841
2024-06-07 17:45:19 +00:00
..
2024-05-01 10:41:09 -07:00
2022-05-11 08:17:45 -07:00
2020-06-08 16:36:52 -07:00
2021-04-02 10:24:48 -07:00
2020-06-10 17:18:13 -07:00
2023-03-01 15:51:24 -08:00
2020-06-08 16:36:52 -07:00
2020-05-27 19:37:03 -07:00
2019-09-18 16:23:04 +00:00
2023-11-15 20:39:45 +00:00
2022-04-12 18:57:15 -07:00