diff mbox

[v3,3/3] Android.mk: use LOCAL_COPY_HEADERS to export headers.

Message ID 1349700740-3596-1-git-send-email-tapani.palli@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Tapani Pälli Oct. 8, 2012, 12:52 p.m. UTC
From: Haitao Huang <haitao.huang@intel.com>

Export necessary header files used by other components for Android,
such as libva intel-driver, gralloc, hwcomposer, etc.

Signed-off-by: Haitao Huang <haitao.huang@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
---
[chad: Fixed inconsistent indentation.]
 Android.mk | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

Comments

Oliver McFadden Oct. 9, 2012, 4:01 a.m. UTC | #1
On Mon, Oct 08, 2012 at 03:52:20PM +0300, Tapani Pälli wrote:
> From: Haitao Huang <haitao.huang@intel.com>
> 
> Export necessary header files used by other components for Android,
> such as libva intel-driver, gralloc, hwcomposer, etc.
> 
> Signed-off-by: Haitao Huang <haitao.huang@intel.com>
> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
> ---
> [chad: Fixed inconsistent indentation.]
>  Android.mk | 12 +++++++++++-
>  1 file changed, 11 insertions(+), 1 deletion(-)
> 
> diff --git a/Android.mk b/Android.mk
> index 1029dc6..68db5df 100644
> --- a/Android.mk
> +++ b/Android.mk
> @@ -1,5 +1,5 @@
>  #
> -# Copyright © 2011 Intel Corporation
> +# Copyright © 2011-2012 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
>  # copy of this software and associated documentation files (the "Software"),
> @@ -45,6 +45,16 @@ LOCAL_C_INCLUDES := \
>  LOCAL_CFLAGS := \
>  	-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
>  
> +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 $(BUILD_SHARED_LIBRARY)
>  
>  include $(LOCAL_PATH)/intel/Android.mk
> -- 
> 1.7.11.7
>
Kelley, Sean V Oct. 12, 2012, 5:14 p.m. UTC | #2
On Oct 8, 2012, at 5:52 AM, Tapani Pälli <tapani.palli@intel.com> wrote:

> From: Haitao Huang <haitao.huang@intel.com>
> 
> Export necessary header files used by other components for Android,
> such as libva intel-driver, gralloc, hwcomposer, etc.
> 
> Signed-off-by: Haitao Huang <haitao.huang@intel.com>
> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>

Glad to see this getting submitted.

Tested-by: Sean V Kelley <sean.v.kelley@intel.com>


> ---
> [chad: Fixed inconsistent indentation.]
> Android.mk | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
> 
> diff --git a/Android.mk b/Android.mk
> index 1029dc6..68db5df 100644
> --- a/Android.mk
> +++ b/Android.mk
> @@ -1,5 +1,5 @@
> #
> -# Copyright © 2011 Intel Corporation
> +# Copyright © 2011-2012 Intel Corporation
> #
> # Permission is hereby granted, free of charge, to any person obtaining a
> # copy of this software and associated documentation files (the "Software"),
> @@ -45,6 +45,16 @@ LOCAL_C_INCLUDES := \
> LOCAL_CFLAGS := \
> 	-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
> 
> +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 $(BUILD_SHARED_LIBRARY)
> 
> include $(LOCAL_PATH)/intel/Android.mk
> -- 
> 1.7.11.7
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

Sean V. Kelley <sean.v.kelley@intel.com>
Open Source Technology Center / SSG
Intel Corp.
diff mbox

Patch

diff --git a/Android.mk b/Android.mk
index 1029dc6..68db5df 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,5 +1,5 @@ 
 #
-# Copyright © 2011 Intel Corporation
+# Copyright © 2011-2012 Intel Corporation
 #
 # Permission is hereby granted, free of charge, to any person obtaining a
 # copy of this software and associated documentation files (the "Software"),
@@ -45,6 +45,16 @@  LOCAL_C_INCLUDES := \
 LOCAL_CFLAGS := \
 	-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
 
+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 $(BUILD_SHARED_LIBRARY)
 
 include $(LOCAL_PATH)/intel/Android.mk