Reset heapId after reading socket in TransportRpmsg
[ipc/ipcdev.git] / Android.mk
index f129812ba772c36736b2ce4f7d66bc73372d82d7..3a44921fd454e258830bc0c097e490c70617db08 100644 (file)
@@ -47,7 +47,8 @@ LOCAL_SRC_FILES:= linux/src/api/MultiProc.c \
                   linux/src/api/MessageQ.c \
                   linux/src/api/gates/GateMP.c \
                   linux/src/api/gates/GateMutex.c \
-                  linux/src/api/gates/GateHWSpinlock.c
+                  linux/src/api/gates/GateHWSpinlock.c \
+                  linux/src/heaps/HeapStd.c
 
 LOCAL_SHARED_LIBRARIES := \
     liblog libtiipcutils
@@ -257,3 +258,21 @@ LOCAL_SHARED_LIBRARIES := \
 
 LOCAL_MODULE:= ping_rpmsg
 include $(BUILD_EXECUTABLE)
+
+
+############### MessageQFaultApp ###############
+include $(CLEAR_VARS)
+
+LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include \
+                     $(LOCAL_PATH)/packages
+
+LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID
+LOCAL_MODULE_TAGS:= optional
+
+LOCAL_SRC_FILES:= linux/src/tests/fault.c
+
+LOCAL_SHARED_LIBRARIES := \
+    liblog libtiipcutils libtiipc libtitransportrpmsg
+
+LOCAL_MODULE:= messageQFaultApp
+include $(BUILD_EXECUTABLE)