diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-02 03:14:54 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-02 03:14:54 +0000 |
commit | 247756642af9adbb0ef5ab0825f81c20f54d4d6c (patch) | |
tree | e081236f17e785e64e5c431cd42333a1a15c940b | |
parent | 9df47b8953b1f1f5b92b5d59c83863f9d3148f31 (diff) | |
parent | 303dab145d63b339affd800f8c51961d6ef68901 (diff) | |
download | typing-247756642af9adbb0ef5ab0825f81c20f54d4d6c.tar.gz |
Snap for 8672689 from 303dab145d63b339affd800f8c51961d6ef68901 to udc-release
Change-Id: I5722227a58908bb825816681f57c4115abb27b0f
-rw-r--r-- | Android.bp | 29 | ||||
-rw-r--r-- | typing_extensions/Android.bp | 33 |
2 files changed, 62 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..e91fcf1 --- /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_typing_license"], +} + +license { + name: "external_python_typing_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-MIT", + ], + license_text: [ + "LICENSE", + ], +} diff --git a/typing_extensions/Android.bp b/typing_extensions/Android.bp new file mode 100644 index 0000000..0f53b0c --- /dev/null +++ b/typing_extensions/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_typing_license"], +} + +python_library { + name: "typing_extensions", + host_supported: true, + srcs: [ + "src/typing_extensions.py", + ], + version: { + py2: { + enabled: false, + }, + py3: { + enabled: true, + }, + }, + pkg_path: "typing_extensions", +} |