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

Commit 06998207 authored by Jooyung Han's avatar Jooyung Han Committed by Automerger Merge Worker
Browse files

Merge "Pass LOCAL_MIN_SDK_VERSION to clang triple" into main am: aaab9b50...

Merge "Pass LOCAL_MIN_SDK_VERSION to clang triple" into main am: aaab9b50 am: c1da0988 am: d887a864

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



Change-Id: I8a1267d25edc8c908ce165239daf89602a314a6c
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 4e959953 d887a864
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -274,6 +274,13 @@ ifneq ($(LOCAL_SDK_VERSION),)
  endif
endif

ifneq ($(LOCAL_MIN_SDK_VERSION),)
  ifdef LOCAL_IS_HOST_MODULE
    $(error $(LOCAL_PATH): LOCAL_MIN_SDK_VERSION cannot be used in host module)
  endif
  my_api_level := $(LOCAL_MIN_SDK_VERSION)
endif

ifeq ($(NATIVE_COVERAGE),true)
  ifndef LOCAL_IS_HOST_MODULE
    my_ldflags += -Wl,--wrap,getenv