Android: clean-up and fix DRI module path handling
[mesa.git] / src / mesa / drivers / dri / Android.mk
index 64e237b1744b55c9afceac91daadd1476809231e..7e7587b075328abe05881c137327782e2e963b61 100644 (file)
@@ -28,14 +28,10 @@ include $(LOCAL_PATH)/common/Makefile.sources
 #-----------------------------------------------
 # Variables common to all DRI drivers
 
-MESA_DRI_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/dri
-MESA_DRI_MODULE_UNSTRIPPED_PATH := $(TARGET_OUT_SHARED_LIBRARIES_UNSTRIPPED)/dri
-
 MESA_DRI_CFLAGS := \
        -DHAVE_ANDROID_PLATFORM
 
 MESA_DRI_C_INCLUDES := \
-       $(call intermediates-dir-for,STATIC_LIBRARIES,libmesa_dri_common) \
        $(addprefix $(MESA_TOP)/, $(mesa_dri_common_INCLUDES)) \
        $(MESA_TOP)/src/gallium/include \
        $(MESA_TOP)/src/gallium/auxiliary \
@@ -43,6 +39,8 @@ MESA_DRI_C_INCLUDES := \
 
 MESA_DRI_WHOLE_STATIC_LIBRARIES := \
        libmesa_glsl \
+       libmesa_compiler \
+       libmesa_nir \
        libmesa_megadriver_stub \
        libmesa_dri_common \
        libmesa_dricore \
@@ -56,9 +54,6 @@ MESA_DRI_SHARED_LIBRARIES := \
        libglapi \
        liblog
 
-# All DRI modules must add this to LOCAL_GENERATED_SOURCES.
-MESA_DRI_OPTIONS_H := $(call intermediates-dir-for,STATIC_LIBRARIES,libmesa_dri_common)/xmlpool/options.h
-
 #-----------------------------------------------
 # Build drivers and libmesa_dri_common