Skip to contentSkip to conversation

Android.mk: use LOCAL_COPY_HEADERS to export headers. v2

PATCH Superseded Tapani Pälli 3 participants 5 messages Oct 8, 2012 – Oct 11, 2012

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Android.mk: use LOCAL_COPY_HEADERS to export headers. v2

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
#1 lore raw
Quoted 9 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.

[chad: Fixed inconsistent indentation.]

---

Normal syntax is "Subject: [PATCH v2 N/M] ..." You should add a comment here describing the v1..v2 diff.

Quoted 38 lines
 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
Signature · 1 line
Oliver McFadden.
#2 lore raw
Quoted 6 lines · Oliver McFadden
Quoted 5 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 7 lines
Quoted 4 lines
[chad: Fixed inconsistent indentation.]

---

Normal syntax is "Subject: [PATCH v2 N/M] ..." You should add a comment here describing the v1..v2 diff.

ok, I took away the gerrit 'change-id' row, I'll send v3 with your suggested changes.

Quoted 39 lines
Quoted 38 lines
 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
Signature · 1 line
// Tapani

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

#3 lore raw
In reply to Tapani Pälli

Is the only difference between v2 and v1 of this patch the removal of the Change-ID tag?

Quoted 31 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.

[chad: Fixed inconsistent indentation.]
---
 Android.mk | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
Android.mk +4 -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 \

Android.mk LOCAL_C_INCLUDES := \ · line 60

Quoted 10 lines
Android.mk +7 -0
+	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

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

#4 lore raw
Quoted 2 lines · Chad Versace

Is the only difference between v2 and v1 of this patch the removal of the Change-ID tag?

yep that is the diff (sorry for not noting it), there is the v3 as well where I've removed the [] comment per Oliver's suggestion.

Quoted 43 lines · Tapani Pälli
Quoted 41 lines

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 · 1 line
// Tapani

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