Third-Party Import of: https://github.com/KhronosGroup/OpenCL-CLHPP
Request Document: go/android3p
For CL Reviewers: go/android3p#reviewing-a-cl
For Build Team: go/ab-third-party-imports
Bug: http://b/339404338
Original import of the code can be found at: https://googleplex-android.googlesource.com/platform/external/OpenCL-CLHPP/+/refs/heads/third-party-review.
Security Questionnaire: http://b/339404338#comment1
Change-Id: I4d5fd8db9d1a0eee0174f3fcac3df068a7a1ee87
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..9ceea60
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,20 @@
+package {
+ default_applicable_licenses: ["OpenCL-CLHPP_license"],
+ default_visibility: ["//visibility:public"],
+}
+
+license {
+ name: "OpenCL-CLHPP_license",
+ visibility: [":__subpackages__"],
+ license_kinds: ["SPDX-license-identifier-Apache-2.0"],
+ license_text: ["LICENSE.txt"],
+}
+
+cc_library_headers {
+ name: "OpenCL-CLHPP",
+ export_include_dirs: [
+ "include",
+ "include/CL",
+ ],
+ soc_specific: true,
+}
diff --git a/LICENSE.txt b/LICENSE
similarity index 100%
rename from LICENSE.txt
rename to LICENSE
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..c695e5d
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,15 @@
+name: "OpenCL-ICD-Loader"
+description:
+ "OpenCL API C++ bindings"
+
+third_party {
+homepage: "https://github.com/KhronosGroup/OpenCL-CLHPP"
+ identifier {
+ type: "Archive"
+ value: "https://github.com/KhronosGroup/OpenCL-CLHPP"
+ primary_source: true
+ }
+ version: "v2023.12.14"
+ last_upgrade_date { year: 2024 month: 5 day: 20 }
+ license_type: NOTICE
+}
diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_APACHE2
diff --git a/OWNERS b/OWNERS
new file mode 100644
index 0000000..584f012
--- /dev/null
+++ b/OWNERS
@@ -0,0 +1,7 @@
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
+include platform/system/core:main:/janitors/OWNERS