Daniel Hillenbrand | 601dc85 | 2013-07-07 10:06:59 +0200 | [diff] [blame] | 1 | # Copyright 2006 The Android Open Source Project |
| 2 | |
| 3 | ifeq ($(BOARD_PROVIDES_LIBRIL),true) |
| 4 | |
| 5 | LOCAL_PATH:= $(call my-dir) |
| 6 | include $(CLEAR_VARS) |
| 7 | |
| 8 | LOCAL_SRC_FILES:= \ |
| 9 | ril.cpp \ |
| 10 | ril_event.cpp |
| 11 | |
| 12 | LOCAL_SHARED_LIBRARIES := \ |
Ethan Chen | d6e3065 | 2013-08-04 22:49:56 -0700 | [diff] [blame^] | 13 | liblog \ |
Daniel Hillenbrand | 601dc85 | 2013-07-07 10:06:59 +0200 | [diff] [blame] | 14 | libutils \ |
| 15 | libbinder \ |
| 16 | libcutils \ |
| 17 | libhardware_legacy |
| 18 | |
| 19 | LOCAL_CFLAGS := |
| 20 | |
| 21 | LOCAL_MODULE:= libril |
| 22 | |
| 23 | LOCAL_LDLIBS += -lpthread |
| 24 | |
| 25 | include $(BUILD_SHARED_LIBRARY) |
| 26 | |
| 27 | |
| 28 | # For RdoServD which needs a static library |
| 29 | # ========================================= |
| 30 | ifneq ($(ANDROID_BIONIC_TRANSITION),) |
| 31 | include $(CLEAR_VARS) |
| 32 | |
| 33 | LOCAL_SRC_FILES:= \ |
| 34 | ril.cpp |
| 35 | |
| 36 | LOCAL_STATIC_LIBRARIES := \ |
| 37 | libutils_static \ |
| 38 | libcutils |
| 39 | |
| 40 | LOCAL_CFLAGS := |
| 41 | |
| 42 | LOCAL_MODULE:= libril_static |
| 43 | |
| 44 | LOCAL_LDLIBS += -lpthread |
| 45 | |
| 46 | include $(BUILD_STATIC_LIBRARY) |
| 47 | endif # ANDROID_BIONIC_TRANSITION |
| 48 | endif # BOARD_PROVIDES_LIBRIL |