summaryrefslogtreecommitdiffstats
path: root/edify
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-06 16:43:41 +0200
committerTao Bao <tbao@google.com>2017-10-09 23:07:54 +0200
commit1fc5bf353a8719d16fd9ba29a661d211bad4038f (patch)
tree644083a8406ab70e674040e460942d878fca5ab5 /edify
parentMerge "applypatch: Forward declare struct Value." (diff)
downloadandroid_bootable_recovery-1fc5bf353a8719d16fd9ba29a661d211bad4038f.tar
android_bootable_recovery-1fc5bf353a8719d16fd9ba29a661d211bad4038f.tar.gz
android_bootable_recovery-1fc5bf353a8719d16fd9ba29a661d211bad4038f.tar.bz2
android_bootable_recovery-1fc5bf353a8719d16fd9ba29a661d211bad4038f.tar.lz
android_bootable_recovery-1fc5bf353a8719d16fd9ba29a661d211bad4038f.tar.xz
android_bootable_recovery-1fc5bf353a8719d16fd9ba29a661d211bad4038f.tar.zst
android_bootable_recovery-1fc5bf353a8719d16fd9ba29a661d211bad4038f.zip
Diffstat (limited to 'edify')
-rw-r--r--edify/Android.mk5
-rw-r--r--edify/expr.cpp2
-rw-r--r--edify/expr.h2
3 files changed, 5 insertions, 4 deletions
diff --git a/edify/Android.mk b/edify/Android.mk
index fbf2b1b06..527698e68 100644
--- a/edify/Android.mk
+++ b/edify/Android.mk
@@ -30,8 +30,9 @@ LOCAL_CFLAGS := -Wall -Werror
LOCAL_CPPFLAGS := -Wno-unused-parameter
LOCAL_CPPFLAGS += -Wno-deprecated-register
LOCAL_MODULE := libedify
-LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
-LOCAL_STATIC_LIBRARIES += libbase
+LOCAL_STATIC_LIBRARIES += \
+ libotautil \
+ libbase
include $(BUILD_STATIC_LIBRARY)
diff --git a/edify/expr.cpp b/edify/expr.cpp
index 403162d6d..104c0fd90 100644
--- a/edify/expr.cpp
+++ b/edify/expr.cpp
@@ -31,7 +31,7 @@
#include <android-base/stringprintf.h>
#include <android-base/strings.h>
-#include "error_code.h"
+#include "otautil/error_code.h"
// Functions should:
//
diff --git a/edify/expr.h b/edify/expr.h
index 32828028a..770d1cf0d 100644
--- a/edify/expr.h
+++ b/edify/expr.h
@@ -23,7 +23,7 @@
#include <string>
#include <vector>
-// Forward declaration to avoid including "error_code.h".
+// Forward declaration to avoid including "otautil/error_code.h".
enum ErrorCode : int;
enum CauseCode : int;