Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / panfrost / Android.midgard.mk
index 6c9cd4c18e93d276cae7302693fa57bdd2cf57b4..b192e9b311e475fafb1e275609b4013cbb25201f 100644 (file)
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 # DEALINGS IN THE SOFTWARE.
 
+# build libpanfrost_midgard_disasm
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libpanfrost_midgard_disasm
+
+LOCAL_SRC_FILES := \
+       $(midgard_disasm_FILES)
+
+LOCAL_C_INCLUDES := \
+       $(MESA_TOP)/include \
+       $(MESA_TOP)/src/compiler/nir/ \
+       $(MESA_TOP)/src/gallium/auxiliary/ \
+       $(MESA_TOP)/src/gallium/include/ \
+       $(MESA_TOP)/src/mapi/ \
+       $(MESA_TOP)/src/mesa/ \
+       $(MESA_TOP)/src/panfrost/include/ \
+       $(MESA_TOP)/src/panfrost/midgard/
+
+LOCAL_EXPORT_C_INCLUDE_DIRS := \
+       $(MESA_TOP)/src/panfrost/midgard/ \
+
+include $(MESA_COMMON_MK)
+include $(BUILD_STATIC_LIBRARY)
+
+# build libpanfrost_midgard
 include $(CLEAR_VARS)
 
 LOCAL_MODULE := libpanfrost_midgard
@@ -44,7 +69,9 @@ LOCAL_C_INCLUDES := \
 LOCAL_STATIC_LIBRARIES := \
        libmesa_glsl \
        libmesa_nir \
-       libmesa_st_mesa
+       libmesa_st_mesa \
+       libpanfrost_util \
+       libpanfrost_midgard_disasm
 
 midgard_nir_algebraic_gen := $(LOCAL_PATH)/midgard/midgard_nir_algebraic.py
 midgard_nir_algebraic_deps := \
@@ -58,4 +85,4 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := \
        $(MESA_TOP)/src/panfrost/midgard/ \
 
 include $(MESA_COMMON_MK)
-include $(BUILD_STATIC_LIBRARY)
\ No newline at end of file
+include $(BUILD_STATIC_LIBRARY)