Use CLEAR_VARS before defining avutil.

This was only building successfully by chance. Without this, avutil
inherits some values from any modules defined before it. When using
libc++ instead of gnustl, it would wrongly export the
libandroid_support headers in the wrong order, breaking the build.
This commit is contained in:
Dan Albert 2018-10-05 12:33:42 -07:00
parent 75d782181e
commit e3d04003a6
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := avutil
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)