blob: 7a1131b968a99339b8ccc8115c6c5bf5010722b6 [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 := \
13 libutils \
14 libbinder \
15 libcutils \
16 libhardware_legacy
17
18LOCAL_CFLAGS :=
19
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:= \
33 ril.cpp
34
35LOCAL_STATIC_LIBRARIES := \
36 libutils_static \
37 libcutils
38
39LOCAL_CFLAGS :=
40
41LOCAL_MODULE:= libril_static
42
43LOCAL_LDLIBS += -lpthread
44
45include $(BUILD_STATIC_LIBRARY)
46endif # ANDROID_BIONIC_TRANSITION
47endif # BOARD_PROVIDES_LIBRIL