blob: 62aeb055e5dc0d6033eba873d44460fa671e4d6e [file] [log] [blame]
The Android Open Source Project00f06fc2009-03-03 19:32:15 -08001# Copyright 2006 The Android Open Source Project
2
3LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
6LOCAL_SRC_FILES:= \
7 ril.cpp \
Dima Zavin622bf2b2013-05-22 11:29:34 -07008 ril_event.cpp
The Android Open Source Project00f06fc2009-03-03 19:32:15 -08009
10LOCAL_SHARED_LIBRARIES := \
Ying Wang52688262013-04-09 22:31:00 -070011 liblog \
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080012 libutils \
Mathias Agopian8a3c48c2009-05-19 19:11:50 -070013 libbinder \
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080014 libcutils \
Dima Zavin622bf2b2013-05-22 11:29:34 -070015 libhardware_legacy \
16 librilutils
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080017
Wink Saville7f856802009-06-09 10:23:37 -070018LOCAL_CFLAGS :=
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080019
20LOCAL_MODULE:= libril
21
22LOCAL_LDLIBS += -lpthread
23
24include $(BUILD_SHARED_LIBRARY)
25
26
27# For RdoServD which needs a static library
28# =========================================
29ifneq ($(ANDROID_BIONIC_TRANSITION),)
30include $(CLEAR_VARS)
31
32LOCAL_SRC_FILES:= \
Dima Zavin622bf2b2013-05-22 11:29:34 -070033 ril.cpp
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080034
35LOCAL_STATIC_LIBRARIES := \
36 libutils_static \
Dima Zavin622bf2b2013-05-22 11:29:34 -070037 libcutils \
38 librilutils_static
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080039
Wink Saville7f856802009-06-09 10:23:37 -070040LOCAL_CFLAGS :=
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080041
42LOCAL_MODULE:= libril_static
43
44LOCAL_LDLIBS += -lpthread
45
46include $(BUILD_STATIC_LIBRARY)
47endif # ANDROID_BIONIC_TRANSITION