diff --git a/packagelistparser/Android.mk b/packagelistparser/Android.mk index 802a3cb25..c8be050e0 100644 --- a/packagelistparser/Android.mk +++ b/packagelistparser/Android.mk @@ -6,9 +6,9 @@ include $(CLEAR_VARS) LOCAL_MODULE := libpackagelistparser LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := packagelistparser.c -LOCAL_COPY_HEADERS_TO := packagelistparser -LOCAL_COPY_HEADERS := packagelistparser.h LOCAL_SHARED_LIBRARIES := liblog +LOCAL_C_INCLUDES := $(LOCAL_PATH)/include +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include LOCAL_CLANG := true LOCAL_SANITIZE := integer @@ -22,9 +22,9 @@ include $(CLEAR_VARS) LOCAL_MODULE := libpackagelistparser LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := packagelistparser.c -LOCAL_COPY_HEADERS_TO := packagelistparser -LOCAL_COPY_HEADERS := packagelistparser.h LOCAL_STATIC_LIBRARIES := liblog +LOCAL_C_INCLUDES := $(LOCAL_PATH)/include +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include LOCAL_CLANG := true LOCAL_SANITIZE := integer diff --git a/packagelistparser/packagelistparser.h b/packagelistparser/include/packagelistparser/packagelistparser.h similarity index 100% rename from packagelistparser/packagelistparser.h rename to packagelistparser/include/packagelistparser/packagelistparser.h diff --git a/packagelistparser/packagelistparser.c b/packagelistparser/packagelistparser.c index 3e2539c76..16052e299 100644 --- a/packagelistparser/packagelistparser.c +++ b/packagelistparser/packagelistparser.c @@ -29,7 +29,7 @@ #define LOG_TAG "packagelistparser" #include -#include "packagelistparser.h" +#include #define CLOGE(fmt, ...) \ do {\