Add a dependency on boot jars $(LOCAL_BUILT_MODULE)

After I25163e91886cea6941afa25cdb529ed053278dcb there is no longer
a dependency on $(LOCAL_BUILT_MODULE) for boot jars, as boot.art
is installed instead.  Add a dependency from boot.art to
$(LOCAL_BUILT_MODULE) so that $(LOCAL_BUILT_MODULE) and its
dependencies (which may include jacoco-report-classes.jar) is
copied for every build.

Fixes: 127702563
Test: forrest
Change-Id: I4db2d1f5fe2e1141fe93317cd7a2a58a33f8fbff
This commit is contained in:
Colin Cross 2019-03-18 13:17:22 -07:00
parent e7854a3745
commit 3ecb9c4fdd

View file

@ -94,6 +94,8 @@ ifdef LOCAL_SOONG_DEX_JAR
ALL_MODULES.$(my_register_name).INSTALLED += $(installed_odex) ALL_MODULES.$(my_register_name).INSTALLED += $(installed_odex)
# Make sure to install the .odex and .vdex when you run "make <module_name>" # Make sure to install the .odex and .vdex when you run "make <module_name>"
$(my_all_targets): $(installed_odex) $(my_all_targets): $(installed_odex)
# Copy $(LOCAL_BUILT_MODULE) and its dependencies when installing boot.art
$(DEFAULT_DEX_PREOPT_INSTALLED_IMAGE): $(LOCAL_BUILT_MODULE)
endif endif
endif # is_boot_jar endif # is_boot_jar