Android.mk: use LOCAL_COPY_HEADERS to export headers. v2
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.
--- Android.mk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
Android.mk +11 -1
@@ -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
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.
Signed-off-by Haitao Huang <[email protected]>[chad: Fixed inconsistent indentation.]Signed-off-by Chad Versace <[email protected]>---
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@@ -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.mkSignature · 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.
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
Signed-off-by Haitao Huang <[email protected]>[chad: Fixed inconsistent indentation.]Signed-off-by Chad Versace <[email protected]>---
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@@ -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.mkSignature · 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
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.
Signed-off-by Haitao Huang <[email protected]>[chad: Fixed inconsistent indentation.]Signed-off-by Chad Versace <[email protected]>--- Android.mk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)Android.mk +4
-1@@ -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
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.
Signed-off-by Haitao Huang <[email protected]>[chad: Fixed inconsistent indentation.]Signed-off-by Chad Versace <[email protected]>--- Android.mk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)Android.mk +11
-1@@ -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