diff options
author | Tom Cherry <tomcherry@google.com> | 2020-02-20 10:50:00 -0800 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2020-02-20 11:31:35 -0800 |
commit | a2f9136b2c54a2ab5224e217548a274db2a91478 (patch) | |
tree | 1032ece266b0bb612265839011164763f5ad856a /init/service_parser.cpp | |
parent | e53f8b8f9d0c52e927f970b42146f203611798d2 (diff) |
Refactor libinit_test_utils to not use libinit and expose its libraries
Users of libinit_test_utils must include all libraries that it uses.
If it uses libinit, then there is a large number of libraries that
must be included. To avoid this, make libinit_test_utils only use
init_common_sources and the small number of required libraries that go
along with those sources. Additionally, expose these sources as a
default for users of libinit_test_utils.
Test: build
Change-Id: I224fa7e0590d073e4cd40412b5dcb6f72a64b6bf
Diffstat (limited to 'init/service_parser.cpp')
-rw-r--r-- | init/service_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/service_parser.cpp b/init/service_parser.cpp index 4b04ba05c..560f693f9 100644 --- a/init/service_parser.cpp +++ b/init/service_parser.cpp @@ -34,7 +34,7 @@ #include "service_utils.h" #include "util.h" -#if defined(__ANDROID__) +#ifdef INIT_FULL_SOURCES #include <android/api-level.h> #include <sys/system_properties.h> |