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

Commit 4880e3cf authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "-D__ANDROID_NDK__ for SDK builds."

am: 0b690ed6

Change-Id: Ibe48a4cf8e94077597926912b09b12ae3724a396
parents e611c35c 0b690ed6
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -119,6 +119,8 @@ ifneq ($(LOCAL_SDK_VERSION),)
    $(error $(LOCAL_PATH): LOCAL_SDK_VERSION cannot be used in host module)
    $(error $(LOCAL_PATH): LOCAL_SDK_VERSION cannot be used in host module)
  endif
  endif


  my_cflags += -D__ANDROID_NDK__

  # Make sure we've built the NDK.
  # Make sure we've built the NDK.
  my_additional_dependencies += $(SOONG_OUT_DIR)/ndk_base.timestamp
  my_additional_dependencies += $(SOONG_OUT_DIR)/ndk_base.timestamp