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 | |
Wink Saville | 7f85680 | 2009-06-09 10:23:37 -0700 | [diff] [blame] | 18 | LOCAL_CFLAGS := |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 19 | |
| 20 | LOCAL_MODULE:= libril |
| 21 | |
| 22 | LOCAL_LDLIBS += -lpthread |
| 23 | |
| 24 | include $(BUILD_SHARED_LIBRARY) |
| 25 | |
| 26 | |
| 27 | # For RdoServD which needs a static library |
| 28 | # ========================================= |
| 29 | ifneq ($(ANDROID_BIONIC_TRANSITION),) |
| 30 | include $(CLEAR_VARS) |
| 31 | |
| 32 | LOCAL_SRC_FILES:= \ |
Dima Zavin | 622bf2b | 2013-05-22 11:29:34 -0700 | [diff] [blame^] | 33 | ril.cpp |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 34 | |
| 35 | LOCAL_STATIC_LIBRARIES := \ |
| 36 | libutils_static \ |
Dima Zavin | 622bf2b | 2013-05-22 11:29:34 -0700 | [diff] [blame^] | 37 | libcutils \ |
| 38 | librilutils_static |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 39 | |
Wink Saville | 7f85680 | 2009-06-09 10:23:37 -0700 | [diff] [blame] | 40 | LOCAL_CFLAGS := |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 41 | |
| 42 | LOCAL_MODULE:= libril_static |
| 43 | |
| 44 | LOCAL_LDLIBS += -lpthread |
| 45 | |
| 46 | include $(BUILD_STATIC_LIBRARY) |
| 47 | endif # ANDROID_BIONIC_TRANSITION |