diff options
-rw-r--r-- | Android.mk | 4 | ||||
-rw-r--r-- | samsung-ril.h | 14 | ||||
-rw-r--r-- | util.c | 2 |
3 files changed, 18 insertions, 2 deletions
@@ -41,7 +41,7 @@ LOCAL_SRC_FILES := \ rfs.c LOCAL_SHARED_LIBRARIES := \ - libcutils libutils libril + libcutils libutils libril liblog LOCAL_STATIC_LIBRARIES := libsamsung-ipc @@ -100,7 +100,7 @@ LOCAL_PRELINK_MODULE := false ifeq (foo,foo) # build shared library LOCAL_SHARED_LIBRARIES += \ - libcutils libnetutils libutils + libcutils libnetutils libutils liblog LOCAL_LDLIBS += -lpthread LOCAL_CFLAGS += -DRIL_SHLIB LOCAL_MODULE:= libsamsung-ril diff --git a/samsung-ril.h b/samsung-ril.h index f6db9d8..acb5077 100644 --- a/samsung-ril.h +++ b/samsung-ril.h @@ -27,6 +27,20 @@ #include <telephony/ril.h> #include <radio.h> +#include <cutils/log.h> + +#ifndef LOGE + #define LOGE ALOGE +#endif + +#ifndef LOGI + #define LOGI ALOGI +#endif + +#ifndef LOGD + #define LOGD ALOGD +#endif + #include "ipc.h" #include "srs.h" @@ -25,6 +25,8 @@ #include <utils/Log.h> #include "util.h" +#include "samsung-ril.h" + /** * Converts a hexidecimal string to binary */ |