summaryrefslogtreecommitdiff
path: root/libnativeloader/native_loader.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-05-04 03:10:48 +0900
committerJiyong Park <jiyong@google.com>2019-05-16 08:55:11 +0900
commit16a9896ff7acbf05fae5786027fd46739309e736 (patch)
treec562d803c55edc2578ad0fd549de3905f92b52b8 /libnativeloader/native_loader.cpp
parent8537781cc7bf7e866a1c0d1aed904c578ce7391c (diff)
Fix style around header inclusion
This change is to be in sync with other libraries in system/core. External headers are included via #include <...> rather than #include "...", which is for headers from the current library. Bug: 130388701 Test: build & pass presubmit tests Change-Id: Ifb87ebaea1b0ff95e2e79352e6a42e3bfd949c52
Diffstat (limited to 'libnativeloader/native_loader.cpp')
-rw-r--r--libnativeloader/native_loader.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/libnativeloader/native_loader.cpp b/libnativeloader/native_loader.cpp
index d6304a916..0c29324e6 100644
--- a/libnativeloader/native_loader.cpp
+++ b/libnativeloader/native_loader.cpp
@@ -14,9 +14,10 @@
* limitations under the License.
*/
-#include "nativeloader/native_loader.h"
#define LOG_TAG "nativeloader"
+#include "nativeloader/native_loader.h"
+
#include <dlfcn.h>
#include <sys/types.h>
@@ -25,16 +26,17 @@
#include <string>
#include <vector>
-#include "android-base/file.h"
-#include "android-base/macros.h"
-#include "android-base/strings.h"
+#include <android-base/file.h>
+#include <android-base/macros.h>
+#include <android-base/strings.h>
+#include <nativebridge/native_bridge.h>
+#include <nativehelper/ScopedUtfChars.h>
+
#ifdef __ANDROID__
+#include <log/log.h>
#include "library_namespaces.h"
-#include "log/log.h"
#include "nativeloader/dlext_namespaces.h"
#endif
-#include "nativebridge/native_bridge.h"
-#include "nativehelper/ScopedUtfChars.h"
namespace android {