blob: b099d4b6429c7b488e31187d74984f4d8117e504 [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 \
8 ril_event.cpp
9
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 \
15 libhardware_legacy
16
Wink Saville7f856802009-06-09 10:23:37 -070017LOCAL_CFLAGS :=
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080018
19LOCAL_MODULE:= libril
20
21LOCAL_LDLIBS += -lpthread
22
23include $(BUILD_SHARED_LIBRARY)
24
25
26# For RdoServD which needs a static library
27# =========================================
28ifneq ($(ANDROID_BIONIC_TRANSITION),)
29include $(CLEAR_VARS)
30
31LOCAL_SRC_FILES:= \
32 ril.cpp
33
34LOCAL_STATIC_LIBRARIES := \
35 libutils_static \
36 libcutils
37
Wink Saville7f856802009-06-09 10:23:37 -070038LOCAL_CFLAGS :=
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080039
40LOCAL_MODULE:= libril_static
41
42LOCAL_LDLIBS += -lpthread
43
44include $(BUILD_STATIC_LIBRARY)
45endif # ANDROID_BIONIC_TRANSITION