Merge "adb: Only use properties on device builds"

This commit is contained in:
Nick Kralevich 2013-05-24 21:36:04 +00:00 committed by Android (Google) Code Review
commit cf41bbf311
4 changed files with 5 additions and 1 deletions

View file

@ -34,6 +34,7 @@
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
#if !ADB_HOST
#include <cutils/properties.h>
#include <private/android_filesystem_config.h>
#include <sys/capability.h>
#include <linux/prctl.h>

View file

@ -35,6 +35,7 @@
# endif
#else
# include <cutils/android_reboot.h>
# include <cutils/properties.h>
#endif
typedef struct stinfo stinfo;

View file

@ -261,7 +261,6 @@ extern char* adb_strtok_r(char *str, const char *delim, char **saveptr);
#include "fdevent.h"
#include <cutils/sockets.h>
#include <cutils/properties.h>
#include <cutils/misc.h>
#include <signal.h>
#include <sys/wait.h>

View file

@ -21,6 +21,9 @@
#include "sysdeps.h"
#include <sys/types.h>
#if !ADB_HOST
#include <cutils/properties.h>
#endif
#define TRACE_TAG TRACE_TRANSPORT
#include "adb.h"