blob: 30731e95782ffbf9df8e7ca446044478f4ae8127 [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 \
Dima Zavin622bf2b2013-05-22 11:29:34 -07008 ril_event.cpp
The Android Open Source Project00f06fc2009-03-03 19:32:15 -08009
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 \
Dima Zavin622bf2b2013-05-22 11:29:34 -070015 libhardware_legacy \
16 librilutils
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080017
Etan Cohend3652192014-06-20 08:28:44 -070018#LOCAL_CFLAGS := -DANDROID_MULTI_SIM -DDSDA_RILD1
19
20ifeq ($(SIM_COUNT), 2)
21 LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2
22endif
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080023
24LOCAL_MODULE:= libril
25
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080026include $(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:= \
Dima Zavin622bf2b2013-05-22 11:29:34 -070035 ril.cpp
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080036
37LOCAL_STATIC_LIBRARIES := \
38 libutils_static \
Dima Zavin622bf2b2013-05-22 11:29:34 -070039 libcutils \
40 librilutils_static
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080041
Wink Saville7f856802009-06-09 10:23:37 -070042LOCAL_CFLAGS :=
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080043
44LOCAL_MODULE:= libril_static
45
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080046include $(BUILD_STATIC_LIBRARY)
47endif # ANDROID_BIONIC_TRANSITION