cae43e1c16
dependencies. dexpreopt.RegisterToolDeps runs late after prebuilt dependencies have been resolved, and there's special code in dex2oatPathFromDep to resolve the prebuilt from the source module. However, if the source module is disabled then the dependencies check in validateAndroidModule will complain, so we need to disable that check in this particular situation. Also add a comment to explain why dexpreopt.RegisterToolDeps needs to run so late. Cherry-picked from https://r.android.com/1711292. Test: m nothing Bug: 145934348 Bug: 172480615 Change-Id: Ibc673303d0336768fa23261a2068e91a08f46a30 Merged-In: Ibc673303d0336768fa23261a2068e91a08f46a30 |
||
---|---|---|
.. | ||
dexpreopt_gen | ||
Android.bp | ||
OWNERS | ||
class_loader_context.go | ||
class_loader_context_test.go | ||
config.go | ||
dexpreopt.go | ||
dexpreopt_test.go | ||
testing.go |