summaryrefslogtreecommitdiffstats
path: root/libril/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libril/Android.mk')
-rw-r--r--libril/Android.mk47
1 files changed, 47 insertions, 0 deletions
diff --git a/libril/Android.mk b/libril/Android.mk
new file mode 100644
index 0000000..7a1131b
--- /dev/null
+++ b/libril/Android.mk
@@ -0,0 +1,47 @@
+# 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