Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e3d0797 authored by Mingming Yin's avatar Mingming Yin
Browse files

audioid: fix for stlport dependency

- keep stlport dependency conditionally by
  checking SDK version

Change-Id: If008812389a58ced6a06bf21edc110f1ca844c17
parent 45fee28d
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

ifneq (,$(findstring $(PLATFORM_VERSION), 5.0 5.1 5.1.1))
include external/stlport/libstlport.mk
endif

LOCAL_SRC_FILES:= \
	audiod_main.cpp \
@@ -13,8 +16,11 @@ LOCAL_SHARED_LIBRARIES := \
	libcutils \
	libutils \
	libbinder \
	libmedia \
	libstlport
	libmedia

ifneq (,$(findstring $(PLATFORM_VERSION), 5.0 5.1 5.1.1))
LOCAL_SHARED_LIBRARIES += libstlport
endif

LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr