Add dexpreopt files to ALL_MODULES.$(m).INSTALLED
We're trying to make FULL_SYSTEMIMAGE_DEPS more accurate to remove the need for `m installclean`. The dexpreopt files did not show up in FULL_SYSTEMIMAGE_DEPS, because they were installed with a custom post-install command. The dexpreopt implementation is shared between soong/make, which means a lot of it happens at execution time for make. However, we have enough information to guess what files to install will be inside the zip file. Add an execution-time check that our guess is correct, and then add the guessed files to `ALL_MODULES.$(m).INSTALLED`. This also allows us to remove the post-install command, and just generate rules to install the files we want directly. Bug: 205632228 Test: full build on an internal product that uses dex-preopted make modules Change-Id: I57db58e4587e3e198ec650c6fb39a908e4ec6993
Loading
Please register or sign in to comment