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