blob: ce6331364a21cd0e16bd8b014433d21cd49b0eb8 [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
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020024include $(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 \
Andrew Jiangca4a9a02014-01-18 18:04:08 -050037 libcutils \
38 librilutils_static
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020039
40LOCAL_CFLAGS :=
41
42LOCAL_MODULE:= libril_static
43
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020044include $(BUILD_STATIC_LIBRARY)
45endif # ANDROID_BIONIC_TRANSITION
46endif # BOARD_PROVIDES_LIBRIL