Home | History | Annotate | Download | only in libril
      1 # Copyright 2006 The Android Open Source Project
      2 
      3 LOCAL_PATH:= $(call my-dir)
      4 include $(CLEAR_VARS)
      5 
      6 LOCAL_SRC_FILES:= \
      7     ril.cpp \
      8     ril_event.cpp
      9 
     10 LOCAL_SHARED_LIBRARIES := \
     11     liblog \
     12     libutils \
     13     libbinder \
     14     libcutils \
     15     libhardware_legacy \
     16     librilutils
     17 
     18 #LOCAL_CFLAGS := -DANDROID_MULTI_SIM -DDSDA_RILD1
     19 
     20 ifeq ($(SIM_COUNT), 2)
     21     LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2
     22 endif
     23 
     24 LOCAL_MODULE:= libril
     25 
     26 include $(BUILD_SHARED_LIBRARY)
     27 
     28 
     29 # For RdoServD which needs a static library
     30 # =========================================
     31 ifneq ($(ANDROID_BIONIC_TRANSITION),)
     32 include $(CLEAR_VARS)
     33 
     34 LOCAL_SRC_FILES:= \
     35     ril.cpp
     36 
     37 LOCAL_STATIC_LIBRARIES := \
     38     libutils_static \
     39     libcutils \
     40     librilutils_static
     41 
     42 LOCAL_CFLAGS :=
     43 
     44 LOCAL_MODULE:= libril_static
     45 
     46 include $(BUILD_STATIC_LIBRARY)
     47 endif # ANDROID_BIONIC_TRANSITION
     48