1# TODO: Find a better way to separate build configs for ADP vs non-ADP devices 2ifneq ($(TARGET_BOARD_AUTO),true) 3 4 QCOM_MEDIA_ROOT := $(call my-dir)/msm8974 5 ifneq ($(filter msm8996, $(TARGET_BOARD_PLATFORM)),) 6 QCOM_MEDIA_ROOT := $(call my-dir)/msm8996 7 endif 8 ifneq ($(filter msm8998, $(TARGET_BOARD_PLATFORM)),) 9 QCOM_MEDIA_ROOT := $(call my-dir)/msm8998 10 endif 11 12 ifneq ($(filter msm8610 msm8226 msm8960 msm8660 msm7627a msm7630_surf msm8084 msm8952 msm8992 msm8994 msm8996 msm8998,$(TARGET_BOARD_PLATFORM)),) 13 include $(QCOM_MEDIA_ROOT)/mm-core/Android.mk 14 include $(QCOM_MEDIA_ROOT)/libstagefrighthw/Android.mk 15 endif 16 17 ifneq ($(filter msm8960 msm8660,$(TARGET_BOARD_PLATFORM)),) 18 include $(QCOM_MEDIA_ROOT)/mm-video-legacy/Android.mk 19 endif 20 21 ifneq ($(filter msm8610 msm8226 msm8084 msm8952 msm8992 msm8994 msm8996 msm8998,$(TARGET_BOARD_PLATFORM)),) 22 include $(QCOM_MEDIA_ROOT)/mm-video-v4l2/Android.mk 23 endif 24 25 ifneq ($(filter msm8610 msm8226 msm8960 msm8084 msm8952 msm8992 msm8994 msm8996 msm8998,$(TARGET_BOARD_PLATFORM)),) 26 include $(QCOM_MEDIA_ROOT)/libc2dcolorconvert/Android.mk 27 endif 28endif 29