OSDN Git Service

android: Remove not needed cutils/log.h stub
authorSzymon Janc <szymon.janc@tieto.com>
Sun, 20 Oct 2013 17:45:46 +0000 (19:45 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 20 Oct 2013 19:38:53 +0000 (22:38 +0300)
Makefile.android
android/cutils/log.h [deleted file]

index e9992d9..8196583 100644 (file)
@@ -31,7 +31,6 @@ android_libhal_internal_la_SOURCES = android/hal.h android/hal-bluetooth.c \
                                        android/hardware/bt_rc.h \
                                        android/hardware/bt_sock.h \
                                        android/hardware/hardware.h \
-                                       android/cutils/log.h \
                                        android/cutils/properties.h \
                                        android/hal-log.h
 
@@ -93,5 +92,4 @@ EXTRA_DIST += android/hardware/bluetooth.h \
                android/hardware/bt_rc.h \
                android/hardware/bt_sock.h \
                android/hardware/hardware.h \
-               android/cutils/log.h \
                android/cutils/properties.h
diff --git a/android/cutils/log.h b/android/cutils/log.h
deleted file mode 100644 (file)
index 389542b..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (C) 2007 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef _CUTILS_LOG_H
-#define _CUTILS_LOG_H
-
-static inline void ALOG() {};
-
-#define ALOGV(...) ALOG("V", __VA_ARGS__)
-#define ALOGD(...) ALOG("D", __VA_ARGS__)
-#define ALOGI(...) ALOG("I", __VA_ARGS__)
-#define ALOGW(...) ALOG("W", __VA_ARGS__)
-#define ALOGE(...) ALOG("E", __VA_ARGS__)
-#define LOG_ALWAYS_FATAL(...)   do { ALOGE(__VA_ARGS__); exit(1); } while (0)
-
-#endif // _CUTILS_LOG_H