summaryrefslogtreecommitdiff
path: root/squashfs_utils
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2017-01-11 15:14:51 -0800
committerAlex Deymo <deymo@google.com>2017-01-11 19:17:43 -0800
commitf0b1f9f23f56fcdea20978a1b5ad7f196029a90a (patch)
treea69faecd22e9bec6acde54307e073c4afc3e7fae /squashfs_utils
parent992dab285fc35fec7067869df9d33ec0942eae7a (diff)
downloadextras-f0b1f9f23f56fcdea20978a1b5ad7f196029a90a.tar.gz
Export libsquashfs_utils include path in the library.
When using the libsquashfs_utils we need to include its only header, so exposing the include path for this library avoids repeating the path when using it. This patch also removes the include path from the only call site (libfec). Bug: None. Change-Id: I82380b89652f758e4f33a0dc90650b04223c0940
Diffstat (limited to 'squashfs_utils')
-rw-r--r--squashfs_utils/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/squashfs_utils/Android.mk b/squashfs_utils/Android.mk
index b7dbcd59..b80da092 100644
--- a/squashfs_utils/Android.mk
+++ b/squashfs_utils/Android.mk
@@ -6,6 +6,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := squashfs_utils.c
LOCAL_STATIC_LIBRARIES := libcutils
LOCAL_C_INCLUDES := external/squashfs-tools/squashfs-tools
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_MODULE := libsquashfs_utils
include $(BUILD_STATIC_LIBRARY)
@@ -13,6 +14,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := squashfs_utils.c
LOCAL_STATIC_LIBRARIES := libcutils
LOCAL_C_INCLUDES := external/squashfs-tools/squashfs-tools
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_CFLAGS := -Wall -Werror -D_GNU_SOURCE -DSQUASHFS_NO_KLOG
LOCAL_MODULE := libsquashfs_utils
include $(BUILD_HOST_STATIC_LIBRARY)