1// Copyright 2018 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_pyasn1-modules_license" 18 // to get the below license kinds: 19 // SPDX-license-identifier-BSD 20 default_applicable_licenses: ["external_python_pyasn1-modules_license"], 21} 22 23python_library { 24 name: "py-pyasn1-modules", 25 host_supported: true, 26 srcs: [ 27 "*.py", 28 ], 29 version: { 30 py2: { 31 enabled: true, 32 }, 33 py3: { 34 enabled: true, 35 }, 36 }, 37 libs: [ 38 "py-pyasn1", 39 ], 40 pkg_path: "pyasn1_modules" 41} 42