Skip to content

Commit

Permalink
drm-intel: use LOCAL_COPY_HEADERS to export headers
Browse files Browse the repository at this point in the history
Export necessary header files used by other components for Android,
such as libva intel-driver, gralloc, hwcomposer, etc.

Signed-off-by: li zhuangzhi <zhuangzhi.li@intel.com>
  • Loading branch information
lizhuanagzhi authored and kalyankondapally committed Apr 10, 2018
1 parent bc2991e commit b1e934f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/include/drm

LOCAL_COPY_HEADERS := \
xf86drm.h \
include/drm/drm_fourcc.h \
include/drm/drm.h \
include/drm/drm_mode.h \
include/drm/drm_sarea.h \
include/drm/i915_drm.h \
intel/intel_bufmgr.h \

LOCAL_COPY_HEADERS_TO := libdrm

include $(LIBDRM_COMMON_MK)
include $(BUILD_SHARED_LIBRARY)

Expand Down

0 comments on commit b1e934f

Please sign in to comment.