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

Commit d534e22d authored by Ulyana Trafimovich's avatar Ulyana Trafimovich Committed by Gerrit Code Review
Browse files

Merge "Disable verify_uses_libraries check if dexpreopt is globally disabled."

parents 2ebf9b67 6f06f9ea
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -102,6 +102,15 @@ ifndef LOCAL_ENFORCE_USES_LIBRARIES
  endif
endif

# Disable verify_uses_libraries check if dexpreopt is globally disabled.
# Without dexpreopt the check is not necessary, and although it is good to have,
# it is difficult to maintain on non-linux build platforms where dexpreopt is
# generally disabled (the check may fail due to various unrelated reasons, such
# as a failure to get manifest from an APK).
ifneq ($(WITH_DEXPREOPT),true)
  LOCAL_ENFORCE_USES_LIBRARIES :=
endif

my_enforced_uses_libraries :=
ifdef LOCAL_ENFORCE_USES_LIBRARIES
  my_enforced_uses_libraries := $(intermediates.COMMON)/enforce_uses_libraries.status