diff options
author | James Zern <jzern@google.com> | 2023-01-18 15:38:56 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2023-01-18 15:38:56 -0800 |
commit | e14008c67f0b738cff49d731671abf9e7a2b942b (patch) | |
tree | 7829227b6c7b16ec5dd8f1fbf0bc4bd31026fe4f | |
parent | 2f9fc054ab9547ca06071ec68dab9d54960abb2e (diff) | |
download | libwebm-e14008c67f0b738cff49d731671abf9e7a2b942b.tar.gz |
Android.mk: add a check for NDK_ROOT
This simplifies integration with the Android platform and avoids the
files from being used when a non-NDK build is performed. In that case
Android.bp is preferred.
Change-Id: I027ded298ae518db5388a7e514f2ef7b1d940b4b
-rw-r--r-- | Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,5 @@ +# Ignore this file during non-NDK builds. +ifdef NDK_ROOT LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) @@ -18,3 +20,4 @@ LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD LOCAL_LICENSE_CONDITIONS := notice LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE.TXT $(LOCAL_PATH)/PATENTS.TXT include $(BUILD_STATIC_LIBRARY) +endif # NDK_ROOT |