Upgrade pybind11 to 'v2.6.1'
"Combining older versions of pybind11 (< 2.6.0) with Python 3.9.0 will
trigger undefined behavior that typically manifests as crashes during
interpreter shutdown (but could also destroy your data. You have been
warned.)"
Change-Id: Ide85f8e710f46a3deaa500fff2ad496ea4bb25fd
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..9e7844d
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,5 @@
+cc_library_headers {
+ name: "pybind11_headers",
+ host_supported: true,
+ export_include_dirs: ["include"],
+}
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..05c3ffb
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,19 @@
+name: "pybind11"
+description: "pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code."
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://pybind11.readthedocs.io/en/stable/"
+ }
+ url {
+ type: GIT
+ value: "https://github.com/pybind/pybind11.git"
+ }
+ version: "v2.6.1"
+ license_type: NOTICE
+ last_upgrade_date {
+ year: 2021
+ month: 1
+ day: 13
+ }
+}
diff --git a/MODULE_LICENSE_BSD b/MODULE_LICENSE_BSD
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_BSD