Move error_code.h into otautil.

This way it stops requiring relative path ".." in LOCAL_C_INCLUDES
(uncrypt and edify). Soong doesn't accept non-local ".." in
"local_include_dirs".

Test: mmma bootable/recovery
Change-Id: Ia4649789cef2aaeb2785483660e9ea5a8b389c62
This commit is contained in:
Tao Bao
2017-10-04 08:55:24 -07:00
parent 281d4eefb1
commit 623fe7e701
12 changed files with 19 additions and 11 deletions
+3 -2
View File
@@ -30,7 +30,8 @@ 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)