From e0a7c773edf401df3f8170174030912e49526842 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 16 Sep 2016 10:43:56 -0700 Subject: [PATCH] Move libusbhost's headers into libusbhost. Change-Id: Ic5ff65bd6456ea3cc92e0c8f9d7a6f499e58dbfc --- libusbhost/Android.mk | 14 ++++++-------- {include => libusbhost/include}/usbhost/usbhost.h | 0 2 files changed, 6 insertions(+), 8 deletions(-) rename {include => libusbhost/include}/usbhost/usbhost.h (100%) diff --git a/libusbhost/Android.mk b/libusbhost/Android.mk index 5c12f2c77..943984665 100644 --- a/libusbhost/Android.mk +++ b/libusbhost/Android.mk @@ -22,11 +22,11 @@ LOCAL_PATH := $(call my-dir) ifeq ($(HOST_OS),linux) include $(CLEAR_VARS) - LOCAL_MODULE := libusbhost LOCAL_SRC_FILES := usbhost.c LOCAL_CFLAGS := -Werror - +LOCAL_C_INCLUDES := $(LOCAL_PATH)/include +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include include $(BUILD_HOST_STATIC_LIBRARY) endif @@ -35,24 +35,22 @@ endif # ======================================================== include $(CLEAR_VARS) - LOCAL_MODULE := libusbhost LOCAL_SRC_FILES := usbhost.c - LOCAL_CFLAGS := -g -DUSE_LIBLOG -Werror - +LOCAL_C_INCLUDES := $(LOCAL_PATH)/include +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include # needed for logcat LOCAL_SHARED_LIBRARIES := libcutils - include $(BUILD_SHARED_LIBRARY) # Static library for target # ======================================================== include $(CLEAR_VARS) - LOCAL_MODULE := libusbhost LOCAL_SRC_FILES := usbhost.c LOCAL_CFLAGS := -Werror - +LOCAL_C_INCLUDES := $(LOCAL_PATH)/include +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include include $(BUILD_STATIC_LIBRARY) diff --git a/include/usbhost/usbhost.h b/libusbhost/include/usbhost/usbhost.h similarity index 100% rename from include/usbhost/usbhost.h rename to libusbhost/include/usbhost/usbhost.h