1// Copyright 2019 Google Inc. All rights reserved. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14package { 15 // See: http://go/android-license-faq 16 // A large-scale-change added 'default_applicable_licenses' to import 17 // all of the 'license_kinds' from "external_python_asn1crypto_license" 18 // to get the below license kinds: 19 // SPDX-license-identifier-MIT 20 default_applicable_licenses: ["external_python_asn1crypto_license"], 21} 22 23python_library { 24 name: "py-asn1crypto", 25 host_supported: true, 26 srcs: [ 27 "*.py", 28 "_perf/*.py", 29 ], 30 version: { 31 py2: { 32 enabled: true, 33 }, 34 py3: { 35 enabled: true, 36 }, 37 }, 38 pkg_path: "asn1crypto", 39} 40