• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

修订版34c22c5ba951e4df7cc72d8d10da78064d5cfbe4 (tree)
时间2009-05-19 00:37:02
作者David 'Digit' Turner <digit@goog...>
CommiterThe Android Open Source Project

Log Message

am 414ff7d9: Move fdevent from libcutils into adb directory. ADB is the only client of this API, and I intend to modify it extensively to clean its codebase soon.

Merge commit '414ff7d98ac8d7610a26206335954ad15f43f3ac'

* commit '414ff7d98ac8d7610a26206335954ad15f43f3ac':

Move fdevent from libcutils into adb directory. ADB is the only client of this API, and I intend to modify it extensively to clean its codebase soon.

更改概述

差异

--- a/adb/Android.mk
+++ b/adb/Android.mk
@@ -57,6 +57,8 @@ LOCAL_SRC_FILES := \
5757
5858 ifneq ($(USE_SYSDEPS_WIN32),)
5959 LOCAL_SRC_FILES += sysdeps_win32.c
60+else
61+ LOCAL_SRC_FILES += fdevent.c
6062 endif
6163
6264 LOCAL_CFLAGS += -O2 -g -DADB_HOST=1 -Wall -Wno-unused-parameter
@@ -98,6 +100,7 @@ include $(CLEAR_VARS)
98100
99101 LOCAL_SRC_FILES := \
100102 adb.c \
103+ fdevent.c \
101104 transport.c \
102105 transport_local.c \
103106 transport_usb.c \
--- a/libcutils/fdevent.c
+++ b/adb/fdevent.c
@@ -26,7 +26,7 @@
2626 #include <stdarg.h>
2727 #include <stddef.h>
2828
29-#include <cutils/fdevent.h>
29+#include "fdevent.h"
3030
3131 #define TRACE(x...) fprintf(stderr,x)
3232
--- a/adb/framebuffer_service.c
+++ b/adb/framebuffer_service.c
@@ -20,7 +20,7 @@
2020 #include <string.h>
2121 #include <fcntl.h>
2222
23-#include <cutils/fdevent.h>
23+#include "fdevent.h"
2424 #include "adb.h"
2525
2626 #include <linux/fb.h>
--- a/adb/sysdeps.h
+++ b/adb/sysdeps.h
@@ -169,7 +169,7 @@ extern int socket_network_client(const char *host, int port, int type);
169169 extern int socket_loopback_server(int port, int type);
170170 extern int socket_inaddr_any_server(int port, int type);
171171
172-/* normally provided by <cutils/fdevent.h> */
172+/* normally provided by "fdevent.h" */
173173
174174 #define FDE_READ 0x0001
175175 #define FDE_WRITE 0x0002
@@ -252,7 +252,7 @@ static __inline__ int adb_is_absolute_host_path( const char* path )
252252
253253 #else /* !_WIN32 a.k.a. Unix */
254254
255-#include <cutils/fdevent.h>
255+#include "fdevent.h"
256256 #include <cutils/sockets.h>
257257 #include <cutils/properties.h>
258258 #include <cutils/misc.h>
--- a/libcutils/Android.mk
+++ b/libcutils/Android.mk
@@ -61,7 +61,6 @@ else
6161 commonSources += \
6262 mspace.c \
6363 selector.c \
64- fdevent.c \
6564 tztime.c \
6665 adb_networking.c \
6766 zygote.c