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

Commit e6a4da47 authored by Ulyana Trafimovich's avatar Ulyana Trafimovich Committed by Automerger Merge Worker
Browse files

Merge "Disable verify_uses_libraries check if dexpreopt is globally disabled." am: d534e22d

Original change: https://android-review.googlesource.com/c/platform/build/+/1615201

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I96a4d6339816cbda7f8d0fd6a6cce5d6aee493a8
parents 6a077089 d534e22d
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