aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--METADATA19
-rw-r--r--MODULE_LICENSE_MIT0
-rw-r--r--TEST_MAPPING8
-rw-r--r--asn1crypto/Android.bp30
4 files changed, 57 insertions, 0 deletions
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..02bee43
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,19 @@
+name: "asn1crypto"
+description: "A fast, pure Python library for parsing and serializing ASN.1 structures."
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://github.com/wbond/asn1crypto"
+ }
+ url {
+ type: GIT
+ value: "https://github.com/wbond/asn1crypto"
+ }
+ version: "1.4.0"
+ license_type: NOTICE
+ last_upgrade_date {
+ year: 2020
+ month: 10
+ day: 28
+ }
+}
diff --git a/MODULE_LICENSE_MIT b/MODULE_LICENSE_MIT
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_MIT
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..61a80b2
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,8 @@
+{
+ "presubmit" : [
+ {
+ "name" : "acloud_test",
+ "host" : true
+ }
+ ]
+}
diff --git a/asn1crypto/Android.bp b/asn1crypto/Android.bp
new file mode 100644
index 0000000..43e55a3
--- /dev/null
+++ b/asn1crypto/Android.bp
@@ -0,0 +1,30 @@
+// Copyright 2019 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.
+python_library {
+ name: "py-asn1crypto",
+ host_supported: true,
+ srcs: [
+ "*.py",
+ "_perf/*.py",
+ ],
+ version: {
+ py2: {
+ enabled: true,
+ },
+ py3: {
+ enabled: true,
+ },
+ },
+ pkg_path: "asn1crypto",
+}