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