Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcb441b2 authored by Colin Cross's avatar Colin Cross
Browse files

Fix dependencies for obfuscated instrumentation tests

This path is never used, otherwise the dependency on
proguard.classes.jar would have triggered the checkbuild
dangling rules errors.  Remove the dependency on the
proguarded classes, which don't exist any more, and depend
on the proguard_options and proguard_dictionary files
instead.

Test: none
Change-Id: Ia3ebc3bc71f0d6fdfa4a7a6850e2f7021adfdd1a
parent a90b6070
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -457,14 +457,15 @@ legacy_proguard_flags := -injars $(link_instr_classes_jar) \
    -applymapping $(link_instr_intermediates_dir.COMMON)/proguard_dictionary \
    -verbose \
    $(legacy_proguard_flags)
legacy_proguard_lib_deps += \
  $(link_instr_classes_jar) \
  $(link_instr_intermediates_dir.COMMON)/proguard_options \
  $(link_instr_intermediates_dir.COMMON)/proguard_dictionary \

# Sometimes (test + main app) uses different keep rules from the main app -
# apply the main app's dictionary anyway.
legacy_proguard_flags += -ignorewarnings

# Make sure we run Proguard on the main app first
$(full_classes_proguard_jar) : $(link_instr_intermediates_dir.COMMON)/proguard.classes.jar

endif # no obfuscation
endif # LOCAL_INSTRUMENTATION_FOR