diff options
author | Dheeraj Shetty <dshetty@codeaurora.org> | 2014-07-02 21:27:57 +0200 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2015-04-08 22:58:37 -0700 |
commit | 27976c479473bb772703fe4caa100e535e635e84 (patch) | |
tree | a2c1bd91533a7e7ce0d6a9bde31b5298c5c1b0a4 /libril/Android.mk | |
parent | 8905d89997ee4e4884a563254da87a3d341dbebb (diff) | |
download | android_hardware_ril-27976c479473bb772703fe4caa100e535e635e84.tar.gz android_hardware_ril-27976c479473bb772703fe4caa100e535e635e84.tar.bz2 android_hardware_ril-27976c479473bb772703fe4caa100e535e635e84.zip |
Introduction of the new SAP-UIM socket
Added new socket connection for communication between the SAP module
in Telephony and User Identity Module with DSDA support.
New classes added are:
RilSocket
---------
Base class(virtual) for any type of socket. Has listen
and commands callbacks similar to that of the existing
telephony->rild socket.
RilSapSocket
------------
Derived class for socket for communication between BT SAP
and the sim module in the modem. It initialises
socket, calls Sap_Uim_Init to get the handles and
starts the socket thread.
rilSocketQueue
--------------
Queue for managing socket requests.
Change-Id: I8828173941d6ae76f1f9cc0d567efaf41a77d175
Diffstat (limited to 'libril/Android.mk')
-rw-r--r-- | libril/Android.mk | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/libril/Android.mk b/libril/Android.mk index 30731e9..5ac5fb3 100644 --- a/libril/Android.mk +++ b/libril/Android.mk @@ -5,7 +5,9 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES:= \ ril.cpp \ - ril_event.cpp + ril_event.cpp\ + RilSocket.cpp \ + RilSapSocket.cpp \ LOCAL_SHARED_LIBRARIES := \ liblog \ @@ -13,7 +15,10 @@ LOCAL_SHARED_LIBRARIES := \ libbinder \ libcutils \ libhardware_legacy \ - librilutils + librilutils \ + +LOCAL_STATIC_LIBRARIES := \ + libnanopb-c-2.8.0-enable_malloc \ #LOCAL_CFLAGS := -DANDROID_MULTI_SIM -DDSDA_RILD1 @@ -21,8 +26,14 @@ ifeq ($(SIM_COUNT), 2) LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2 endif +LOCAL_C_INCLUDES += $(TARGET_OUT_HEADER)/librilutils +LOCAL_C_INCLUDES += external/nanopb-c + LOCAL_MODULE:= libril +LOCAL_COPY_HEADERS_TO := libril +LOCAL_COPY_HEADERS := ril_ex.h + include $(BUILD_SHARED_LIBRARY) @@ -37,7 +48,8 @@ LOCAL_SRC_FILES:= \ LOCAL_STATIC_LIBRARIES := \ libutils_static \ libcutils \ - librilutils_static + librilutils_static \ + libnanopb-c-2.8.0-enable_malloc \ LOCAL_CFLAGS := |