blob: adf4b93c39b9dad5c5f87739025fb37ea4e15732 [file] [log] [blame]
Daniel Hillenbrand601dc852013-07-07 10:06:59 +02001# Copyright 2006 The Android Open Source Project
2
3ifeq ($(BOARD_PROVIDES_LIBRIL),true)
4
5LOCAL_PATH:= $(call my-dir)
6include $(CLEAR_VARS)
7
8LOCAL_SRC_FILES:= \
9 ril.cpp \
10 ril_event.cpp
11
12LOCAL_SHARED_LIBRARIES := \
Ethan Chend6e30652013-08-04 22:49:56 -070013 liblog \
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020014 libutils \
15 libbinder \
16 libcutils \
Andrew Jiangca4a9a02014-01-18 18:04:08 -050017 libhardware_legacy \
18 librilutils
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020019
20LOCAL_CFLAGS :=
21
22LOCAL_MODULE:= libril
23
24LOCAL_LDLIBS += -lpthread
25
26include $(BUILD_SHARED_LIBRARY)
27
28
29# For RdoServD which needs a static library
30# =========================================
31ifneq ($(ANDROID_BIONIC_TRANSITION),)
32include $(CLEAR_VARS)
33
34LOCAL_SRC_FILES:= \
35 ril.cpp
36
37LOCAL_STATIC_LIBRARIES := \
38 libutils_static \
Andrew Jiangca4a9a02014-01-18 18:04:08 -050039 libcutils \
40 librilutils_static
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020041
42LOCAL_CFLAGS :=
43
44LOCAL_MODULE:= libril_static
45
46LOCAL_LDLIBS += -lpthread
47
48include $(BUILD_STATIC_LIBRARY)
49endif # ANDROID_BIONIC_TRANSITION
50endif # BOARD_PROVIDES_LIBRIL