summaryrefslogtreecommitdiffstats
path: root/otautil
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-08 22:24:27 +0100
committerTao Bao <tbao@google.com>2016-11-08 23:46:43 +0100
commit3c38f5623f99189c3ee943db4c3c37d50279b0e5 (patch)
treecf879d64bd8c4137b2dc8529e262eeee2d4ca42c /otautil
parentMerge "Make make_parent() to take const argument" am: 52e2a97aa7 am: 1fd9f0aff7 am: 260573b3c2 (diff)
downloadandroid_bootable_recovery-3c38f5623f99189c3ee943db4c3c37d50279b0e5.tar
android_bootable_recovery-3c38f5623f99189c3ee943db4c3c37d50279b0e5.tar.gz
android_bootable_recovery-3c38f5623f99189c3ee943db4c3c37d50279b0e5.tar.bz2
android_bootable_recovery-3c38f5623f99189c3ee943db4c3c37d50279b0e5.tar.lz
android_bootable_recovery-3c38f5623f99189c3ee943db4c3c37d50279b0e5.tar.xz
android_bootable_recovery-3c38f5623f99189c3ee943db4c3c37d50279b0e5.tar.zst
android_bootable_recovery-3c38f5623f99189c3ee943db4c3c37d50279b0e5.zip
Diffstat (limited to 'otautil')
-rw-r--r--otautil/Android.mk6
-rw-r--r--otautil/SysUtil.cpp6
2 files changed, 0 insertions, 12 deletions
diff --git a/otautil/Android.mk b/otautil/Android.mk
index 3acfa533e..e602f19ee 100644
--- a/otautil/Android.mk
+++ b/otautil/Android.mk
@@ -20,16 +20,10 @@ LOCAL_SRC_FILES := \
DirUtil.cpp \
ZipUtil.cpp
-LOCAL_C_INCLUDES := \
- external/zlib \
- external/safe-iop/include
-
LOCAL_STATIC_LIBRARIES := libselinux libbase
LOCAL_MODULE := libotautil
-LOCAL_CLANG := true
-
LOCAL_CFLAGS += -Werror -Wall
include $(BUILD_STATIC_LIBRARY)
diff --git a/otautil/SysUtil.cpp b/otautil/SysUtil.cpp
index 5156514f0..a2133b953 100644
--- a/otautil/SysUtil.cpp
+++ b/otautil/SysUtil.cpp
@@ -16,18 +16,12 @@
#include "SysUtil.h"
-#include <assert.h>
#include <errno.h>
#include <fcntl.h>
-#include <limits.h>
#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <unistd.h>
#include <algorithm>
#include <string>