otautil: Export headers.

Test: mmma bootable/recovery
Change-Id: Ic01b68e2a394d578fc9fc09da2dabe9061b98122
This commit is contained in:
Tao Bao
2017-10-03 14:37:21 -07:00
parent dd7a4b5264
commit cfe53c2c01
8 changed files with 9 additions and 4 deletions

View File

@@ -56,6 +56,7 @@ endif
LOCAL_MODULE := librecovery
LOCAL_STATIC_LIBRARIES := \
libminui \
libotautil \
libvintf_recovery \
libcrypto_utils \
libcrypto \

View File

@@ -30,4 +30,8 @@ cc_library_static {
"-Werror",
"-Wall",
],
export_include_dirs: [
"include",
],
}

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "DirUtil.h"
#include "otautil/DirUtil.h"
#include <dirent.h>
#include <errno.h>

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "SysUtil.h"
#include "otautil/SysUtil.h"
#include <fcntl.h>
#include <stdint.h> // SIZE_MAX

View File

@@ -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;
}
}