From 00028b4adbe1475fe799a7cec148b37182ac5e9f Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Wed, 9 Apr 2014 14:29:02 -0500 Subject: Add find file class to search for files Scan a folder for a file based on file name. First scan the files in the current path, then search real directories and finally search symlinks in that order. Goal is to locate important sysfs files for things like brightness, battery capacity, lun files, etc This implementation just scans for the brightness file for the LCD Change-Id: I8ed3e74a2e2851d58b443718b6e92b50a5491f08 --- Android.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index 98c442791..fbddef7e3 100644 --- a/Android.mk +++ b/Android.mk @@ -22,6 +22,7 @@ LOCAL_SRC_FILES := \ twrpTar.cpp \ twrpDU.cpp \ twrpDigest.cpp \ + find_file.cpp LOCAL_SRC_FILES += \ data.cpp \ -- cgit v1.2.3