Skip to contentSkip to conversation

Android.mk: use LOCAL_COPY_HEADERS to export headers.

PATCH In review Tapani Pälli 3 participants 3 messages Oct 8, 2012 – Oct 12, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v3 3/3 Android.mk: use LOCAL_COPY_HEADERS to export headers.

From: Haitao Huang <[email protected]>

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

---
[chad: Fixed inconsistent indentation.]

 Android.mk | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
Android.mk +11 -1
index 1029dc6..68db5df 100644
@@ -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
Signature · 6 lines
1.7.11.7

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v3 3/3
#1 lore raw
Quoted 7 lines · Tapani Pälli

From: Haitao Huang <[email protected]>

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

Quoted 36 lines

---
[chad: Fixed inconsistent indentation.]

 Android.mk | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
Android.mk +11 -1
index 1029dc6..68db5df 100644
@@ -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
Signature · 1 line
1.7.11.7
Signature · 1 line
Oliver McFadden.
Tested-by on v3 3/3
#2 lore raw
In reply to Tapani Pälli
Quoted 7 lines · Tapani Pälli

From: Haitao Huang <[email protected]>

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

Glad to see this getting submitted.

Quoted 32 lines

---
[chad: Fixed inconsistent indentation.]
Android.mk | 12 +++++++++++-

1 file changed, 11 insertions(+), 1 deletion(-)
Android.mk +11 -1
index 1029dc6..68db5df 100644
@@ -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)
 
Quoted 8 lines

include $(LOCAL_PATH)/intel/Android.mk

Signature · 6 lines
1.7.11.7

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

Sean V. Kelley <[email protected]>
Open Source Technology Center / SSG
Intel Corp.