From af11c50e67ab63ea2c076cc6ba542843b40ea935 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 11 Oct 2019 01:24:39 +0000 Subject: [PATCH] Revert "-D__ANDROID_NDK__ for SDK builds." This reverts commit 401a84071bff63b6ccfa239d01ad3e54621aff2e. Reason for revert: fixed in bionic instead (https://android-review.googlesource.com/c/platform/bionic/+/1135146). Change-Id: I85e2ef241684c34fc968fd0e7230b8a88ea3209a --- core/binary.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/binary.mk b/core/binary.mk index e91616444e..4709e8e3fc 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -119,8 +119,6 @@ ifneq ($(LOCAL_SDK_VERSION),) $(error $(LOCAL_PATH): LOCAL_SDK_VERSION cannot be used in host module) endif - my_cflags += -D__ANDROID_NDK__ - # Make sure we've built the NDK. my_additional_dependencies += $(SOONG_OUT_DIR)/ndk_base.timestamp