summaryrefslogtreecommitdiffstats
path: root/init/util.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-05-24 18:00:39 -0700
committerElliott Hughes <enh@google.com>2018-05-24 18:04:31 -0700
commitdc803126283444431c0d06f0386eddada0fe6b77 (patch)
tree1ea923034a483bc3b935d7a6a1eeb85712eea244 /init/util.cpp
parent54be246a1f916a9be409b59ceaebf7a564170d2c (diff)
downloadsystem_core-dc803126283444431c0d06f0386eddada0fe6b77.tar.gz
system_core-dc803126283444431c0d06f0386eddada0fe6b77.tar.bz2
system_core-dc803126283444431c0d06f0386eddada0fe6b77.zip
libbase: add host properties support.
Move init and libprocessgroup away from their existing hacks. Bug: N/A Test: ran tests Change-Id: Ifabdd38e0cc4ab2582f1ea59d32159d386f48eb6
Diffstat (limited to 'init/util.cpp')
-rw-r--r--init/util.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/init/util.cpp b/init/util.cpp
index 4455b2eb1..5f2b87d71 100644
--- a/init/util.cpp
+++ b/init/util.cpp
@@ -33,6 +33,7 @@
#include <android-base/file.h>
#include <android-base/logging.h>
+#include <android-base/properties.h>
#include <android-base/stringprintf.h>
#include <android-base/strings.h>
#include <android-base/unique_fd.h>
@@ -43,8 +44,6 @@
#include "reboot.h"
#if defined(__ANDROID__)
-#include <android-base/properties.h>
-
#include "selinux.h"
#else
#include "host_init_stubs.h"