Bob Badour | b74aa59 | 2022-08-18 10:45:13 -0700 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["external_python_bumble_license"], |
| 3 | } |
| 4 | |
| 5 | // Added automatically by a large-scale-change |
| 6 | // See: http://go/android-license-faq |
| 7 | license { |
| 8 | name: "external_python_bumble_license", |
| 9 | visibility: [":__subpackages__"], |
| 10 | license_kinds: [ |
| 11 | "SPDX-license-identifier-Apache-2.0", |
| 12 | ], |
| 13 | license_text: [ |
| 14 | "LICENSE", |
| 15 | ], |
| 16 | } |
| 17 | |
David Duarte | 0885abe | 2022-08-10 18:11:24 +0000 | [diff] [blame] | 18 | python_library_host { |
| 19 | name: "bumble", |
| 20 | srcs: [ |
| 21 | "bumble/*.py", |
uael | 74376c1 | 2023-08-02 18:11:13 +0000 | [diff] [blame] | 22 | "bumble/drivers/*.py", |
David Duarte | 0885abe | 2022-08-10 18:11:24 +0000 | [diff] [blame] | 23 | "bumble/profiles/*.py", |
| 24 | "bumble/transport/*.py", |
| 25 | ], |
uael | cca9c09 | 2023-02-23 17:08:26 +0000 | [diff] [blame] | 26 | libs: [ |
| 27 | "pyee", |
| 28 | ] |
David Duarte | 0885abe | 2022-08-10 18:11:24 +0000 | [diff] [blame] | 29 | } |
uael | 81d7bc0 | 2023-05-23 04:52:41 +0000 | [diff] [blame] | 30 | |
| 31 | python_library_host { |
| 32 | name: "bumble-pandora", |
| 33 | srcs: [ |
| 34 | "bumble/pandora/*.py", |
| 35 | ], |
| 36 | libs: [ |
| 37 | "bumble", |
| 38 | "pandora-python", |
| 39 | "libprotobuf-python", |
| 40 | ], |
| 41 | data: [ |
| 42 | "bumble/pandora/py.typed" |
| 43 | ] |
| 44 | } |
| 45 | |
| 46 | python_test_host { |
| 47 | name: "bumble_pandora_server", |
| 48 | main: "apps/pandora_server.py", |
| 49 | srcs: [ |
| 50 | "apps/pandora_server.py", |
| 51 | ], |
| 52 | libs: [ |
| 53 | "bumble-pandora", |
| 54 | "pandora-python", |
| 55 | ], |
| 56 | |
| 57 | test_options: { |
| 58 | unit_test: false, |
| 59 | }, |
| 60 | |
| 61 | test_suites: [ |
| 62 | "general-tests" |
| 63 | ] |
| 64 | } |