[libcamera-devel] [PATCH 3/5] android: Add missing SPDX headers to Android headers

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Sep 28 14:09:35 CEST 2022


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 at 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 at 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 at 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



More information about the libcamera-devel mailing list