diff options
author | 2024-10-02 00:36:39 +0000 | |
---|---|---|
committer | 2024-10-04 23:07:43 +0000 | |
commit | 00db5b25da2d2ff8005476c7c735eb4f921d3a56 (patch) | |
tree | 07c53f69b24307110c069720186a65fe3f06737d /compiler/optimizing/optimizing_unit_test.h | |
parent | 12e3c233150301584241e07337f173bfe588aad2 (diff) |
Search in /system_ext for apex systemserver dexpreopt files
With https://r.android.com/3288083, the dexpreopt files of apex system
server jars will be installed in the same pratition as the parent apex.
This CL updates `GetSystemOdexFilenameForApex` to look for these files
in /system, followed by /system_ext
Since file existence is now checked and unit tests do not set up a mock
filesystem, an existing unit test has been updated to expect the
filepath to be in /system_ext
(There is also a long term discussion of moving them to system_other)
Test: Verified that "Could not check odex file" does not appear for
service-compos (a system_ext apex systemserver jar)
Test: m test-art-host-gtest
Bug: 369678122
Bug: 349083274
Change-Id: I2c0f3394a1c5ab4900bd96798ba7ea348d9c9b80
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
0 files changed, 0 insertions, 0 deletions