VirtQueue: dra7xx: poll for init completion status
[ipc/ipcdev.git] / Android.mk
index f129812ba772c36736b2ce4f7d66bc73372d82d7..3417ace5385996f1d79d2d8d3bb33fbc44131a62 100644 (file)
@@ -39,7 +39,9 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include \
                      $(LOCAL_PATH)/hlos_common/include
 
 LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID -DGATEMP_SUPPORT -fPIC
+LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
 LOCAL_MODULE_TAGS:= optional
+LOCAL_VENDOR_MODULE := true
 
 LOCAL_SRC_FILES:= linux/src/api/MultiProc.c \
                   linux/src/api/NameServer.c \
@@ -47,7 +49,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
@@ -64,7 +67,9 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include \
                      $(LOCAL_PATH)/hlos_common/include
 
 LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID
+LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
 LOCAL_MODULE_TAGS:= optional
+LOCAL_VENDOR_MODULE := true
 
 LOCAL_SRC_FILES:= linux/src/utils/LAD_client.c \
                   linux/src/utils/SocketFxns.c \
@@ -86,7 +91,9 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include \
                      $(LOCAL_PATH)/hlos_common/include
 
 LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID
+LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
 LOCAL_MODULE_TAGS:= optional
+LOCAL_VENDOR_MODULE := true
 
 LOCAL_SRC_FILES:= linux/src/utils/LAD_client.c \
                   linux/src/utils/SocketFxns.c \
@@ -109,7 +116,9 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include \
                      $(LOCAL_PATH)/hlos_common/include
 
 LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID
+LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
 LOCAL_MODULE_TAGS:= optional
+LOCAL_VENDOR_MODULE := true
 
 LOCAL_SRC_FILES:= linux/src/transport/TransportRpmsg.c
 
@@ -127,7 +136,9 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH) \
                     $(LOCAL_PATH)/packages
 
 LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID
+LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
 LOCAL_MODULE_TAGS:= optional
+LOCAL_VENDOR_MODULE := true
 
 LOCAL_SRC_FILES:= packages/ti/ipc/mm/MmRpc.c
 
@@ -145,8 +156,10 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include \
                      $(LOCAL_PATH)/packages \
                      $(LOCAL_PATH)/hlos_common/include
 
-LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID -DGATEMP_SUPPORT
+LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID -DGATEMP_SUPPORT -DDAEMON=0
+LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
 LOCAL_MODULE_TAGS:= optional
+LOCAL_VENDOR_MODULE := true
 
 LOCAL_SRC_FILES:= linux/src/daemon/lad.c \
                   linux/src/daemon/Ipc_daemon.c \
@@ -177,6 +190,7 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include \
 
 LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID
 LOCAL_MODULE_TAGS:= optional
+LOCAL_VENDOR_MODULE := true
 
 LOCAL_SRC_FILES:= linux/src/tests/MessageQApp.c
 
@@ -195,6 +209,7 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include \
 
 LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID
 LOCAL_MODULE_TAGS:= optional
+LOCAL_VENDOR_MODULE := true
 
 LOCAL_SRC_FILES:= linux/src/tests/MessageQBench.c
 
@@ -213,6 +228,7 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include \
 
 LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID
 LOCAL_MODULE_TAGS:= optional
+LOCAL_VENDOR_MODULE := true
 
 LOCAL_SRC_FILES:= linux/src/tests/MessageQMulti.c
 
@@ -232,6 +248,7 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include \
 
 LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID
 LOCAL_MODULE_TAGS:= optional
+LOCAL_VENDOR_MODULE := true
 
 LOCAL_SRC_FILES:= linux/src/tests/NameServerApp.c
 
@@ -249,6 +266,7 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include
 
 LOCAL_CFLAGS += -DIPC_BUILDOS_ANDROID
 LOCAL_MODULE_TAGS:= optional
+LOCAL_VENDOR_MODULE := true
 
 LOCAL_SRC_FILES:= linux/src/tests/ping_rpmsg.c
 
@@ -257,3 +275,22 @@ 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_VENDOR_MODULE := true
+
+LOCAL_SRC_FILES:= linux/src/tests/MessageQFaultApp.c
+
+LOCAL_SHARED_LIBRARIES := \
+    liblog libtiipcutils libtiipc libtitransportrpmsg
+
+LOCAL_MODULE:= messageQFaultApp
+include $(BUILD_EXECUTABLE)