blob: ce6331364a21cd0e16bd8b014433d21cd49b0eb8 [file] [log] [blame]
# Copyright 2006 The Android Open Source Project
ifeq ($(BOARD_PROVIDES_LIBRIL),true)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
ril.cpp \
ril_event.cpp
LOCAL_SHARED_LIBRARIES := \
liblog \
libutils \
libbinder \
libcutils \
libhardware_legacy \
librilutils
LOCAL_CFLAGS :=
LOCAL_MODULE:= libril
include $(BUILD_SHARED_LIBRARY)
# For RdoServD which needs a static library
# =========================================
ifneq ($(ANDROID_BIONIC_TRANSITION),)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
ril.cpp
LOCAL_STATIC_LIBRARIES := \
libutils_static \
libcutils \
librilutils_static
LOCAL_CFLAGS :=
LOCAL_MODULE:= libril_static
include $(BUILD_STATIC_LIBRARY)
endif # ANDROID_BIONIC_TRANSITION
endif # BOARD_PROVIDES_LIBRIL