summaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-13 10:09:12 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-13 10:09:12 +0200
commit272eedf93d683c3065e621c85ecb809572c0eea4 (patch)
tree7dced004f2b82d467609891e2bbdccd5476fd92e /minui
parentSnap for 4388640 from 6d5da419715a852e29dde9f25858dc3802819dea to pi-release (diff)
parentMerge "Fix owner email address." am: b4a8c6abd9 am: 97d9ae086a am: bb971cce89 (diff)
downloadandroid_bootable_recovery-272eedf93d683c3065e621c85ecb809572c0eea4.tar
android_bootable_recovery-272eedf93d683c3065e621c85ecb809572c0eea4.tar.gz
android_bootable_recovery-272eedf93d683c3065e621c85ecb809572c0eea4.tar.bz2
android_bootable_recovery-272eedf93d683c3065e621c85ecb809572c0eea4.tar.lz
android_bootable_recovery-272eedf93d683c3065e621c85ecb809572c0eea4.tar.xz
android_bootable_recovery-272eedf93d683c3065e621c85ecb809572c0eea4.tar.zst
android_bootable_recovery-272eedf93d683c3065e621c85ecb809572c0eea4.zip
Diffstat (limited to 'minui')
-rw-r--r--minui/Android.mk5
-rw-r--r--minui/events.cpp1
2 files changed, 6 insertions, 0 deletions
diff --git a/minui/Android.mk b/minui/Android.mk
index 1db401f0d..546ba2fe5 100644
--- a/minui/Android.mk
+++ b/minui/Android.mk
@@ -13,6 +13,9 @@
# limitations under the License.
LOCAL_PATH := $(call my-dir)
+
+# libminui (static library)
+# ===============================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
@@ -66,6 +69,8 @@ endif
include $(BUILD_STATIC_LIBRARY)
+# libminui (shared library)
+# ===============================
# Used by OEMs for factory test images.
include $(CLEAR_VARS)
LOCAL_MODULE := libminui
diff --git a/minui/events.cpp b/minui/events.cpp
index 24c2a8277..2894c3b6b 100644
--- a/minui/events.cpp
+++ b/minui/events.cpp
@@ -15,6 +15,7 @@
*/
#include <dirent.h>
+#include <errno.h>
#include <fcntl.h>
#include <linux/input.h>
#include <stdio.h>