platform_build_soong/dexpreopt
Paul Duffin 77a80fa397 Defer dexpreopt failure with missing implementation jar
Previously, if an implementation jar (Host) was not available to the
build it would panic when trying to generate the JSON representation of
the CLC. That prevents builds with missing implementation jars from
working even if those jars are never actually built.

This change defers the build failure until it is actually built.

Test: TARGET_PRODUCT=armv8 TARGET_BUILD_VARIANT=eng ./art/test/testrunner/run_build_test_target.py -j80 art-no-prebuild
      - run above in master-art before and after this change.
Bug: 202366925
Change-Id: I60a78a8bf6c13b83a9dceb5c43019a9e21f0b637
2021-10-07 09:52:42 +01:00
..
dexpreopt_gen Make OutDir() and SoongOutDir() be consistent. 2021-09-02 13:35:49 +02:00
Android.bp Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
class_loader_context.go Defer dexpreopt failure with missing implementation jar 2021-10-07 09:52:42 +01:00
class_loader_context_test.go Don't add uses_libs/optional_uses_libs to the manifest_fixer. 2021-08-20 15:54:42 +01:00
config.go Rename BuildDir and NinjaBuildDir. 2021-08-27 10:08:49 +02:00
dexpreopt.go Move copy rule for system server jars from dexpreopt_gen to makefiles. 2021-09-21 14:08:32 +01:00
dexpreopt_test.go Revert^2 "Preopt APEX system server jars." 2021-09-16 06:25:26 +00:00
OWNERS Update dex_preopt related OWNERS 2021-06-17 17:05:39 +01:00
testing.go Fix tests to use correct fixtures for configuring (Apex)BootJars. 2021-08-10 15:35:52 +01:00