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 :=
     19 
     20 LOCAL_MODULE:= libril
     21 
     22 LOCAL_LDLIBS += -lpthread
     23 
     24 include $(BUILD_SHARED_LIBRARY)
     25 
     26 
     27 # For RdoServD which needs a static library
     28 # =========================================
     29 ifneq ($(ANDROID_BIONIC_TRANSITION),)
     30 include $(CLEAR_VARS)
     31 
     32 LOCAL_SRC_FILES:= \
     33     ril.cpp
     34 
     35 LOCAL_STATIC_LIBRARIES := \
     36     libutils_static \
     37     libcutils \
     38     librilutils_static
     39 
     40 LOCAL_CFLAGS :=
     41 
     42 LOCAL_MODULE:= libril_static
     43 
     44 LOCAL_LDLIBS += -lpthread
     45 
     46 include $(BUILD_STATIC_LIBRARY)
     47 endif # ANDROID_BIONIC_TRANSITION
     48