diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-14 13:46:18 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-14 13:46:18 +0000 |
commit | b9d570bf862ef37eb1c6a72d9aae8fc69c8aeecf (patch) | |
tree | 05a9c9635dc973c4dcae62be6f7ceb4c8a69f772 | |
parent | 2d58be716dbb2702c6f6be8007e8baa5e08115fb (diff) | |
parent | e4819095405163a12bf42aeb40c1411a85216566 (diff) | |
download | pyserial-android13-mainline-sdkext-release.tar.gz |
Snap for 8720775 from e4819095405163a12bf42aeb40c1411a85216566 to mainline-sdkext-releaseaml_sdk_331812000aml_sdk_331811100aml_sdk_331811000aml_sdk_331412000aml_sdk_331410000aml_sdk_331310010aml_sdk_331111000aml_sdk_330810050aml_sdk_330810010android13-mainline-sdkext-release
Change-Id: Ie9a383e3451f0e033ed581ee36e5bc7888763fc8
-rw-r--r-- | Android.bp | 29 | ||||
-rw-r--r-- | serial/Android.bp | 33 |
2 files changed, 62 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..db508a2 --- /dev/null +++ b/Android.bp @@ -0,0 +1,29 @@ +// +// Copyright (C) 2022 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package { + default_applicable_licenses: ["external_python_pyserial_license"], +} + +license { + name: "external_python_pyserial_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-BSD", + ], + license_text: [ + "LICENSE", + ], +} diff --git a/serial/Android.bp b/serial/Android.bp new file mode 100644 index 0000000..9242660 --- /dev/null +++ b/serial/Android.bp @@ -0,0 +1,33 @@ +// Copyright 2022 Google Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +package { + default_applicable_licenses: ["external_python_pyserial_license"], +} + +python_library { + name: "pyserial", + host_supported: true, + srcs: [ + "**/*.py", + ], + version: { + py2: { + enabled: false, + }, + py3: { + enabled: true, + }, + }, + pkg_path: "serial", +} |