summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-05-31 19:13:00 -0700
committer Mathias Agopian <mathias@google.com> 2009-05-31 19:13:00 -0700
commite0c322049ab2be291c1fc40f79702543d4e77934 (patch)
treee3e672f4f4fdd72b465cc0f39fb95c7711814122
parentd07f2a523f43051a681683657f7c0da2c49f46a4 (diff)
get rid of utils.h
-rw-r--r--cmds/runtime/main_runtime.cpp4
-rw-r--r--include/ui/EventHub.h5
-rw-r--r--include/utils.h33
-rw-r--r--include/utils/misc.h2
-rw-r--r--libs/ui/EventHub.cpp4
5 files changed, 11 insertions, 37 deletions
diff --git a/cmds/runtime/main_runtime.cpp b/cmds/runtime/main_runtime.cpp
index 6ae3a5c0a9..21e0e4d026 100644
--- a/cmds/runtime/main_runtime.cpp
+++ b/cmds/runtime/main_runtime.cpp
@@ -7,7 +7,9 @@
#include "ServiceManager.h"
#include "SignalHandler.h"
-#include <utils.h>
+#include <utils/threads.h>
+#include <utils/Errors.h>
+
#include <binder/IPCThreadState.h>
#include <binder/ProcessState.h>
#include <utils/Log.h>
diff --git a/include/ui/EventHub.h b/include/ui/EventHub.h
index 3848d8c3bd..e12c4f13ea 100644
--- a/include/ui/EventHub.h
+++ b/include/ui/EventHub.h
@@ -20,7 +20,10 @@
#include <utils/String8.h>
#include <utils/threads.h>
-#include <utils.h>
+#include <utils/Log.h>
+#include <utils/threads.h>
+#include <utils/List.h>
+#include <utils/Errors.h>
#include <linux/input.h>
diff --git a/include/utils.h b/include/utils.h
deleted file mode 100644
index 30648b1851..0000000000
--- a/include/utils.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2005 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.
- */
-
-//
-// Handy utility functions and portability code. This file includes all
-// of the generally-useful headers in the "utils" directory.
-//
-#ifndef _LIBS_UTILS_H
-#define _LIBS_UTILS_H
-
-#include <utils/ported.h>
-#include <utils/Log.h>
-#include <utils/threads.h>
-#include <utils/Timers.h>
-#include <utils/List.h>
-#include <utils/string_array.h>
-#include <utils/misc.h>
-#include <utils/Errors.h>
-
-#endif // _LIBS_UTILS_H
diff --git a/include/utils/misc.h b/include/utils/misc.h
index 62e84b4892..23f2a4c7c5 100644
--- a/include/utils/misc.h
+++ b/include/utils/misc.h
@@ -21,7 +21,7 @@
#define _LIBS_UTILS_MISC_H
#include <sys/time.h>
-#include "utils/Endian.h"
+#include <utils/Endian.h>
namespace android {
diff --git a/libs/ui/EventHub.cpp b/libs/ui/EventHub.cpp
index 52aa0c0146..13c30a795c 100644
--- a/libs/ui/EventHub.cpp
+++ b/libs/ui/EventHub.cpp
@@ -21,7 +21,9 @@
#include <cutils/properties.h>
#include <utils/Log.h>
#include <utils/Timers.h>
-#include <utils.h>
+#include <utils/threads.h>
+#include <utils/List.h>
+#include <utils/Errors.h>
#include <stdlib.h>
#include <stdio.h>