3
0
replicant-device_samsung_ga.../libril/Android.mk
Daniel Hillenbrand 8829d2cfbc galaxys2: add opensource libril, remove ril class
- remove blob rild
- remove blob libril.so

Change-Id: I9f6d99bbd0ecf7c591c64a53e738339f0eaa3905
2013-05-24 12:31:07 +02:00

48 lines
809 B
Makefile

# 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 := \
libutils \
libbinder \
libcutils \
libhardware_legacy
LOCAL_CFLAGS :=
LOCAL_MODULE:= libril
LOCAL_LDLIBS += -lpthread
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
LOCAL_CFLAGS :=
LOCAL_MODULE:= libril_static
LOCAL_LDLIBS += -lpthread
include $(BUILD_STATIC_LIBRARY)
endif # ANDROID_BIONIC_TRANSITION
endif # BOARD_PROVIDES_LIBRIL