summaryrefslogtreecommitdiffstats
path: root/otautil
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-03 23:37:21 +0200
committerTao Bao <tbao@google.com>2017-10-03 23:41:32 +0200
commitcfe53c2c018eaac7991faa98b144543c8fcd174d (patch)
tree1d805fa745c42dd208dc011643adecc27bcd4c5a /otautil
parentMerge "roots: Fix an issue with volume_for_path()." (diff)
downloadandroid_bootable_recovery-cfe53c2c018eaac7991faa98b144543c8fcd174d.tar
android_bootable_recovery-cfe53c2c018eaac7991faa98b144543c8fcd174d.tar.gz
android_bootable_recovery-cfe53c2c018eaac7991faa98b144543c8fcd174d.tar.bz2
android_bootable_recovery-cfe53c2c018eaac7991faa98b144543c8fcd174d.tar.lz
android_bootable_recovery-cfe53c2c018eaac7991faa98b144543c8fcd174d.tar.xz
android_bootable_recovery-cfe53c2c018eaac7991faa98b144543c8fcd174d.tar.zst
android_bootable_recovery-cfe53c2c018eaac7991faa98b144543c8fcd174d.zip
Diffstat (limited to 'otautil')
-rw-r--r--otautil/Android.bp4
-rw-r--r--otautil/DirUtil.cpp2
-rw-r--r--otautil/SysUtil.cpp2
-rw-r--r--otautil/ThermalUtil.cpp4
-rw-r--r--otautil/include/otautil/DirUtil.h (renamed from otautil/DirUtil.h)0
-rw-r--r--otautil/include/otautil/SysUtil.h (renamed from otautil/SysUtil.h)0
-rw-r--r--otautil/include/otautil/ThermalUtil.h (renamed from otautil/ThermalUtil.h)0
7 files changed, 8 insertions, 4 deletions
diff --git a/otautil/Android.bp b/otautil/Android.bp
index a2eaa0402..9cde7baa7 100644
--- a/otautil/Android.bp
+++ b/otautil/Android.bp
@@ -30,4 +30,8 @@ cc_library_static {
"-Werror",
"-Wall",
],
+
+ export_include_dirs: [
+ "include",
+ ],
}
diff --git a/otautil/DirUtil.cpp b/otautil/DirUtil.cpp
index fffc82219..61c832813 100644
--- a/otautil/DirUtil.cpp
+++ b/otautil/DirUtil.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#include "DirUtil.h"
+#include "otautil/DirUtil.h"
#include <dirent.h>
#include <errno.h>
diff --git a/otautil/SysUtil.cpp b/otautil/SysUtil.cpp
index dfa215073..d54a824d2 100644
--- a/otautil/SysUtil.cpp
+++ b/otautil/SysUtil.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#include "SysUtil.h"
+#include "otautil/SysUtil.h"
#include <fcntl.h>
#include <stdint.h> // SIZE_MAX
diff --git a/otautil/ThermalUtil.cpp b/otautil/ThermalUtil.cpp
index 13d36432a..5d9bd45c0 100644
--- a/otautil/ThermalUtil.cpp
+++ b/otautil/ThermalUtil.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#include "ThermalUtil.h"
+#include "otautil/ThermalUtil.h"
#include <dirent.h>
#include <stdio.h>
@@ -77,4 +77,4 @@ int GetMaxValueFromThermalZone() {
}
LOG(INFO) << "current maximum temperature: " << max_temperature;
return max_temperature;
-} \ No newline at end of file
+}
diff --git a/otautil/DirUtil.h b/otautil/include/otautil/DirUtil.h
index 85d6c16d1..85d6c16d1 100644
--- a/otautil/DirUtil.h
+++ b/otautil/include/otautil/DirUtil.h
diff --git a/otautil/SysUtil.h b/otautil/include/otautil/SysUtil.h
index 52f6d20a7..52f6d20a7 100644
--- a/otautil/SysUtil.h
+++ b/otautil/include/otautil/SysUtil.h
diff --git a/otautil/ThermalUtil.h b/otautil/include/otautil/ThermalUtil.h
index 43ab55940..43ab55940 100644
--- a/otautil/ThermalUtil.h
+++ b/otautil/include/otautil/ThermalUtil.h