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