platform_build_soong/dexpreopt
Ulya Trafimovich 4a13acb07d Use compiler filter "verify" for dexpreopt w/o class loader context.
In cases when class loader context cannot be computed at build time and
verify_uses_libraries check is relaxed (RELAX_USES_LIBRARY_CHECK=true)
dexpreopt uses a special compiler filter that suppresses AOT-compilation
to native code and applies only those optimizations that do not require
class loader context. Previously the "extract" filter was used. Now ART
supports using "verify" filter in this configuration.

Bug: 132357300
Test: lunch cf_x86_64_phone-userdebug && m && launch_cvd \
      adb wait-for-device && adb root && adb logcat \
      | grep -E 'ClassLoaderContext [a-z ]+ mismatch'
      # empty grep output, no errors
Change-Id: Id4933aa94ea96894278355283383c16d103e98c9
2021-03-02 12:32:23 +00:00
..
dexpreopt_gen Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
Android.bp Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
class_loader_context.go Preserve <uses-library> order in dexpreopt.config files. 2021-02-11 16:58:51 +00:00
class_loader_context_test.go Remove obsolete class loader context API and update unit tests. 2021-01-05 15:41:55 +00:00
config.go Use compiler filter "verify" for dexpreopt w/o class loader context. 2021-03-02 12:32:23 +00:00
dexpreopt.go Use compiler filter "verify" for dexpreopt w/o class loader context. 2021-03-02 12:32:23 +00:00
dexpreopt_test.go Add non-fatal mode for verify_uses_libraries check. 2021-02-22 15:41:03 +00:00
OWNERS Add an owners file for dexpreopt files. 2018-12-18 20:28:06 +00:00
testing.go Make dexpreopt tools available for all java tests 2021-01-25 19:15:19 +00:00