mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-06-15 00:16:08 +08:00
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: Ic669f33931ad294d6570341b4e39fccd7e7f1ad8 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/7897896 Commit-Queue: James Zern <jzern@google.com> Reviewed-by: Frank Barchard <fbarchard@google.com>
This commit is contained in:
parent
62fffa9eeb
commit
af36de328f
@ -1,4 +1,7 @@
|
|||||||
# This is the Android makefile for libyuv for NDK.
|
# This is the Android makefile for libyuv for NDK.
|
||||||
|
|
||||||
|
# Ignore this file during non-NDK builds.
|
||||||
|
ifdef NDK_ROOT
|
||||||
LOCAL_PATH:= $(call my-dir)
|
LOCAL_PATH:= $(call my-dir)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
@ -104,3 +107,4 @@ LOCAL_SRC_FILES := \
|
|||||||
|
|
||||||
LOCAL_MODULE := libyuv_unittest
|
LOCAL_MODULE := libyuv_unittest
|
||||||
include $(BUILD_NATIVE_TEST)
|
include $(BUILD_NATIVE_TEST)
|
||||||
|
endif # NDK_ROOT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user