OSDN Git Service

Port to pie-x86
[android-x86/external-stagefright-plugins.git] / Android.mk
index dc0c16c..8e17da6 100644 (file)
@@ -1,6 +1,7 @@
 #
 # 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.
@@ -17,6 +18,7 @@
 
 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