The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 1 | # Copyright 2006 The Android Open Source Project |
| 2 | |
| 3 | LOCAL_PATH:= $(call my-dir) |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_SRC_FILES:= \ |
| 7 | ril.cpp \ |
Dima Zavin | 622bf2b | 2013-05-22 11:29:34 -0700 | [diff] [blame] | 8 | ril_event.cpp |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 9 | |
| 10 | LOCAL_SHARED_LIBRARIES := \ |
Ying Wang | 5268826 | 2013-04-09 22:31:00 -0700 | [diff] [blame] | 11 | liblog \ |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 12 | libutils \ |
Mathias Agopian | 8a3c48c | 2009-05-19 19:11:50 -0700 | [diff] [blame] | 13 | libbinder \ |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 14 | libcutils \ |
Dima Zavin | 622bf2b | 2013-05-22 11:29:34 -0700 | [diff] [blame] | 15 | libhardware_legacy \ |
| 16 | librilutils |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 17 | |
Etan Cohen | d365219 | 2014-06-20 08:28:44 -0700 | [diff] [blame^] | 18 | #LOCAL_CFLAGS := -DANDROID_MULTI_SIM -DDSDA_RILD1 |
| 19 | |
| 20 | ifeq ($(SIM_COUNT), 2) |
| 21 | LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2 |
| 22 | endif |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 23 | |
| 24 | LOCAL_MODULE:= libril |
| 25 | |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 26 | include $(BUILD_SHARED_LIBRARY) |
| 27 | |
| 28 | |
| 29 | # For RdoServD which needs a static library |
| 30 | # ========================================= |
| 31 | ifneq ($(ANDROID_BIONIC_TRANSITION),) |
| 32 | include $(CLEAR_VARS) |
| 33 | |
| 34 | LOCAL_SRC_FILES:= \ |
Dima Zavin | 622bf2b | 2013-05-22 11:29:34 -0700 | [diff] [blame] | 35 | ril.cpp |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 36 | |
| 37 | LOCAL_STATIC_LIBRARIES := \ |
| 38 | libutils_static \ |
Dima Zavin | 622bf2b | 2013-05-22 11:29:34 -0700 | [diff] [blame] | 39 | libcutils \ |
| 40 | librilutils_static |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 41 | |
Wink Saville | 7f85680 | 2009-06-09 10:23:37 -0700 | [diff] [blame] | 42 | LOCAL_CFLAGS := |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 43 | |
| 44 | LOCAL_MODULE:= libril_static |
| 45 | |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 46 | include $(BUILD_STATIC_LIBRARY) |
| 47 | endif # ANDROID_BIONIC_TRANSITION |