[libcamera-devel,3/5] android: Add missing SPDX headers to Android headers
diff mbox series

Message ID 20220928120937.10031-4-laurent.pinchart@ideasonboard.com
State Accepted
Headers show
Series
  • libcamera: Add missing license identifiers
Related show

Commit Message

Laurent Pinchart Sept. 28, 2022, 12:09 p.m. UTC
Most headers imported from Android have an SPDX tag (added manually in
commit 190bebef0840), but four headers that have been imported more
recently are missing license identifiers. Fix them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 include/android/system/core/include/system/graphics-base-v1.0.h | 1 +
 include/android/system/core/include/system/graphics-base-v1.1.h | 1 +
 include/android/system/core/include/system/graphics-base.h      | 1 +
 include/android/system/core/include/system/graphics-sw.h        | 1 +
 4 files changed, 4 insertions(+)

Comments

Kieran Bingham Sept. 30, 2022, 10:25 a.m. UTC | #1
Quoting Laurent Pinchart via libcamera-devel (2022-09-28 13:09:35)
> Most headers imported from Android have an SPDX tag (added manually in
> commit 190bebef0840), but four headers that have been imported more
> recently are missing license identifiers. Fix them.
> 


Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
>  include/android/system/core/include/system/graphics-base-v1.0.h | 1 +
>  include/android/system/core/include/system/graphics-base-v1.1.h | 1 +
>  include/android/system/core/include/system/graphics-base.h      | 1 +
>  include/android/system/core/include/system/graphics-sw.h        | 1 +
>  4 files changed, 4 insertions(+)
> 
> diff --git a/include/android/system/core/include/system/graphics-base-v1.0.h b/include/android/system/core/include/system/graphics-base-v1.0.h
> index 44913cc61f25..7548d879cafb 100644
> --- a/include/android/system/core/include/system/graphics-base-v1.0.h
> +++ b/include/android/system/core/include/system/graphics-base-v1.0.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: Apache-2.0 */
>  // This file is autogenerated by hidl-gen. Do not edit manually.
>  // Source: android.hardware.graphics.common@1.0
>  // Location: hardware/interfaces/graphics/common/1.0/
> diff --git a/include/android/system/core/include/system/graphics-base-v1.1.h b/include/android/system/core/include/system/graphics-base-v1.1.h
> index f95b9ba213f6..3513072445aa 100644
> --- a/include/android/system/core/include/system/graphics-base-v1.1.h
> +++ b/include/android/system/core/include/system/graphics-base-v1.1.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: Apache-2.0 */
>  // This file is autogenerated by hidl-gen. Do not edit manually.
>  // Source: android.hardware.graphics.common@1.1
>  // Location: hardware/interfaces/graphics/common/1.1/
> diff --git a/include/android/system/core/include/system/graphics-base.h b/include/android/system/core/include/system/graphics-base.h
> index ea920071c74d..d01e9874f989 100644
> --- a/include/android/system/core/include/system/graphics-base.h
> +++ b/include/android/system/core/include/system/graphics-base.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: Apache-2.0 */
>  #ifndef SYSTEM_CORE_GRAPHICS_BASE_H_
>  #define SYSTEM_CORE_GRAPHICS_BASE_H_
>  
> diff --git a/include/android/system/core/include/system/graphics-sw.h b/include/android/system/core/include/system/graphics-sw.h
> index 9e1a88e9e395..4a1cf8294dad 100644
> --- a/include/android/system/core/include/system/graphics-sw.h
> +++ b/include/android/system/core/include/system/graphics-sw.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: Apache-2.0 */
>  #ifndef SYSTEM_CORE_GRAPHICS_SW_H_
>  #define SYSTEM_CORE_GRAPHICS_SW_H_
>  
> -- 
> Regards,
> 
> Laurent Pinchart
>

Patch
diff mbox series

diff --git a/include/android/system/core/include/system/graphics-base-v1.0.h b/include/android/system/core/include/system/graphics-base-v1.0.h
index 44913cc61f25..7548d879cafb 100644
--- a/include/android/system/core/include/system/graphics-base-v1.0.h
+++ b/include/android/system/core/include/system/graphics-base-v1.0.h
@@ -1,3 +1,4 @@ 
+/* SPDX-License-Identifier: Apache-2.0 */
 // This file is autogenerated by hidl-gen. Do not edit manually.
 // Source: android.hardware.graphics.common@1.0
 // Location: hardware/interfaces/graphics/common/1.0/
diff --git a/include/android/system/core/include/system/graphics-base-v1.1.h b/include/android/system/core/include/system/graphics-base-v1.1.h
index f95b9ba213f6..3513072445aa 100644
--- a/include/android/system/core/include/system/graphics-base-v1.1.h
+++ b/include/android/system/core/include/system/graphics-base-v1.1.h
@@ -1,3 +1,4 @@ 
+/* SPDX-License-Identifier: Apache-2.0 */
 // This file is autogenerated by hidl-gen. Do not edit manually.
 // Source: android.hardware.graphics.common@1.1
 // Location: hardware/interfaces/graphics/common/1.1/
diff --git a/include/android/system/core/include/system/graphics-base.h b/include/android/system/core/include/system/graphics-base.h
index ea920071c74d..d01e9874f989 100644
--- a/include/android/system/core/include/system/graphics-base.h
+++ b/include/android/system/core/include/system/graphics-base.h
@@ -1,3 +1,4 @@ 
+/* SPDX-License-Identifier: Apache-2.0 */
 #ifndef SYSTEM_CORE_GRAPHICS_BASE_H_
 #define SYSTEM_CORE_GRAPHICS_BASE_H_
 
diff --git a/include/android/system/core/include/system/graphics-sw.h b/include/android/system/core/include/system/graphics-sw.h
index 9e1a88e9e395..4a1cf8294dad 100644
--- a/include/android/system/core/include/system/graphics-sw.h
+++ b/include/android/system/core/include/system/graphics-sw.h
@@ -1,3 +1,4 @@ 
+/* SPDX-License-Identifier: Apache-2.0 */
 #ifndef SYSTEM_CORE_GRAPHICS_SW_H_
 #define SYSTEM_CORE_GRAPHICS_SW_H_