Merge remote-tracking branch 'GITHUB/main' into HEAD
Merging recent change to have pull request #277
Change-Id: Ibf15a4af53b42daaee9a128f73db56bb7471e3b5
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..9cb3d08
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,64 @@
+package {
+ default_applicable_licenses: ["external_python_bumble_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_python_bumble_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
+python_library_host {
+ name: "bumble",
+ srcs: [
+ "bumble/*.py",
+ "bumble/drivers/*.py",
+ "bumble/profiles/*.py",
+ "bumble/transport/*.py",
+ ],
+ libs: [
+ "pyee",
+ ]
+}
+
+python_library_host {
+ name: "bumble-pandora",
+ srcs: [
+ "bumble/pandora/*.py",
+ ],
+ libs: [
+ "bumble",
+ "pandora-python",
+ "libprotobuf-python",
+ ],
+ data: [
+ "bumble/pandora/py.typed"
+ ]
+}
+
+python_test_host {
+ name: "bumble_pandora_server",
+ main: "apps/pandora_server.py",
+ srcs: [
+ "apps/pandora_server.py",
+ ],
+ libs: [
+ "bumble-pandora",
+ "pandora-python",
+ ],
+
+ test_options: {
+ unit_test: false,
+ },
+
+ test_suites: [
+ "general-tests"
+ ]
+}
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..30444f1
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,17 @@
+name: "Bumble"
+description:
+ "Bumble is a full-featured Bluetooth stack written entirely in Python."
+
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://google.github.io/bumble/"
+ }
+ url {
+ type: GIT
+ value: "https://github.com/google/bumble"
+ }
+ version: "c66b357de6908cf3680d83a73c6744451e2d0fa0"
+ last_upgrade_date { year: 2022 month: 7 day: 25 }
+ 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..610a689
--- /dev/null
+++ b/OWNERS
@@ -0,0 +1,5 @@
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]