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