flo/deb: camera: Drop LOCAL_COPY_HEADERS

This commit is contained in:
followmsi 2020-11-05 12:20:47 +01:00
parent b15488b585
commit 0dac8d1064
1 changed files with 7 additions and 3 deletions

View File

@ -16,9 +16,8 @@ ifeq ($(strip $(TARGET_USES_ION)),true)
endif
LOCAL_CFLAGS += -D_ANDROID_
LOCAL_COPY_HEADERS_TO := mm-camera-interface
LOCAL_COPY_HEADERS += ../common/cam_intf.h
LOCAL_COPY_HEADERS += ../common/cam_types.h
LOCAL_HEADER_LIBRARIES := camera_common_headers
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/inc \
@ -41,4 +40,9 @@ LOCAL_PROPRIETARY_MODULE := true
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := camera_common_headers
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/common
include $(BUILD_HEADER_LIBRARY)
LOCAL_PATH := $(OLD_LOCAL_PATH)