blob: e3e022e421dedf336d7930a38824cd8c10487399 [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 \
17 libhardware_legacy
18
19LOCAL_CFLAGS :=
20
21LOCAL_MODULE:= libril
22
23LOCAL_LDLIBS += -lpthread
24
25include $(BUILD_SHARED_LIBRARY)
26
27
28# For RdoServD which needs a static library
29# =========================================
30ifneq ($(ANDROID_BIONIC_TRANSITION),)
31include $(CLEAR_VARS)
32
33LOCAL_SRC_FILES:= \
34 ril.cpp
35
36LOCAL_STATIC_LIBRARIES := \
37 libutils_static \
38 libcutils
39
40LOCAL_CFLAGS :=
41
42LOCAL_MODULE:= libril_static
43
44LOCAL_LDLIBS += -lpthread
45
46include $(BUILD_STATIC_LIBRARY)
47endif # ANDROID_BIONIC_TRANSITION
48endif # BOARD_PROVIDES_LIBRIL