anv: track the current frame and write it into the driver identifier BO
[mesa.git] / src / intel / Android.compiler.mk
index 8bbfb1cbd40fd080b85647e78059dbdf0bee9638..c2b01221dfc321cc800b17e638fbb3dd7ef47762 100644 (file)
@@ -43,11 +43,9 @@ LOCAL_C_INCLUDES := \
        $(MESA_TOP)/src/gallium/include \
        $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_glsl,,)/glsl \
        $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir \
+       $(MESA_TOP)/src/intel/compiler \
        $(MESA_TOP)/src/compiler/nir
 
-LOCAL_SHARED_LIBRARIES := \
-       libdrm_intel
-
 brw_nir_trig_workarounds_deps := \
        $(LOCAL_PATH)/compiler/brw_nir_trig_workarounds.py \
        $(MESA_TOP)/src/compiler/nir/nir_algebraic.py
@@ -56,7 +54,7 @@ intermediates := $(call local-generated-sources-dir)
 
 $(intermediates)/compiler/brw_nir_trig_workarounds.c: $(brw_nir_trig_workarounds_deps)
        @mkdir -p $(dir $@)
-       $(hide) PYTHONPATH=$(MESA_TOP)/src/compiler/nir $(MESA_PYTHON2) $< > $@
+       $(hide) $(MESA_PYTHON2) $< -p $(MESA_TOP)/src/compiler/nir > $@
 
 LOCAL_STATIC_LIBRARIES = libmesa_genxml