diff options
author | Elliott Hughes <enh@google.com> | 2018-05-24 18:00:39 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-05-24 18:04:31 -0700 |
commit | dc803126283444431c0d06f0386eddada0fe6b77 (patch) | |
tree | 1ea923034a483bc3b935d7a6a1eeb85712eea244 /init/action_parser.cpp | |
parent | 54be246a1f916a9be409b59ceaebf7a564170d2c (diff) |
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/action_parser.cpp')
-rw-r--r-- | init/action_parser.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/init/action_parser.cpp b/init/action_parser.cpp index a2c96718b..f9b96eb5e 100644 --- a/init/action_parser.cpp +++ b/init/action_parser.cpp @@ -16,13 +16,12 @@ #include "action_parser.h" +#include <android-base/properties.h> #include <android-base/strings.h> #include "stable_properties.h" -#if defined(__ANDROID__) -#include <android-base/properties.h> -#else +#if !defined(__ANDROID__) #include "host_init_stubs.h" #endif |