mm: Update code for better portability
[ipc/ipcdev.git] / Android.mk
index 8bda41efebc2a60468743967fe77535a177e56dc..3417ace5385996f1d79d2d8d3bb33fbc44131a62 100644 (file)
@@ -41,6 +41,7 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/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 \
@@ -68,6 +69,7 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/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 \
@@ -91,6 +93,7 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/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 \
@@ -115,6 +118,7 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/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
 
@@ -134,6 +138,7 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH) \
 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
 
@@ -154,6 +159,7 @@ LOCAL_C_INCLUDES +=  $(LOCAL_PATH)/linux/include \
 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 \
@@ -184,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
 
@@ -202,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
 
@@ -220,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
 
@@ -239,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
 
@@ -256,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
 
@@ -274,6 +285,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/MessageQFaultApp.c