Merge "-D__ANDROID_NDK__ for SDK builds."

This commit is contained in:
Steven Moreland 2019-08-08 16:22:53 +00:00 committed by Gerrit Code Review
commit 0b690ed6d9
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,8 @@ 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