#
# Copyright (C) 2008 The Android Open Source Project
# Copyright (C) 2015 The CyanogenMod Project
+# Copyright (C) 2017 The Android-x86 Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
LOCAL_PATH := $(call my-dir)
-ifeq ($(TARGET_USES_STAGEFRIGHT_PLUGINS),true)
+SF_COMMON_MK := $(LOCAL_PATH)/common.mk
+AV_CODEC_LIB := $(if $(filter true,$(BOARD_USE_LIBAV)),libav,ffmpeg)
+
include $(call first-makefiles-under,$(LOCAL_PATH))
-endif