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 := \ |
codeworkx | afc051f | 2013-07-27 09:02:14 +0200 | [diff] [blame] | 13 | liblog \ |
Daniel Hillenbrand | 601dc85 | 2013-07-07 10:06:59 +0200 | [diff] [blame] | 14 | libutils \ |
| 15 | libbinder \ |
| 16 | libcutils \ |
Andrew Jiang | ca4a9a0 | 2014-01-18 18:04:08 -0500 | [diff] [blame] | 17 | libhardware_legacy \ |
| 18 | librilutils |
Daniel Hillenbrand | 601dc85 | 2013-07-07 10:06:59 +0200 | [diff] [blame] | 19 | |
| 20 | LOCAL_CFLAGS := |
| 21 | |
| 22 | LOCAL_MODULE:= libril |
| 23 | |
Daniel Hillenbrand | 601dc85 | 2013-07-07 10:06:59 +0200 | [diff] [blame] | 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:= \ |
| 33 | ril.cpp |
| 34 | |
| 35 | LOCAL_STATIC_LIBRARIES := \ |
| 36 | libutils_static \ |
Andrew Jiang | ca4a9a0 | 2014-01-18 18:04:08 -0500 | [diff] [blame] | 37 | libcutils \ |
| 38 | librilutils_static |
Daniel Hillenbrand | 601dc85 | 2013-07-07 10:06:59 +0200 | [diff] [blame] | 39 | |
| 40 | LOCAL_CFLAGS := |
| 41 | |
| 42 | LOCAL_MODULE:= libril_static |
| 43 | |
Daniel Hillenbrand | 601dc85 | 2013-07-07 10:06:59 +0200 | [diff] [blame] | 44 | include $(BUILD_STATIC_LIBRARY) |
| 45 | endif # ANDROID_BIONIC_TRANSITION |
| 46 | endif # BOARD_PROVIDES_LIBRIL |