aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kosiński <krzysio@google.com>2022-09-20 01:39:55 +0000
committerKrzysztof Kosiński <krzysio@google.com>2022-09-20 01:41:19 +0000
commit8b48d0a9faeb5ec683be44e91148e5839bf7a73c (patch)
tree8c33fed48401a337cdc31cb3c981394f6fc41b37
parent5706956a0d60856f44dc6b5ec2ce2d2a71f10592 (diff)
downloadhttplib2-8b48d0a9faeb5ec683be44e91148e5839bf7a73c.tar.gz
Disable unused Python 2 variant.
Bug: 245854393 Test: presubmit Change-Id: Ib12fd4b854bfa2d4ec1da4406ccdb328397a3d8f
-rw-r--r--Android.bp23
1 files changed, 1 insertions, 22 deletions
diff --git a/Android.bp b/Android.bp
index c77abc6..32aafcd 100644
--- a/Android.bp
+++ b/Android.bp
@@ -56,31 +56,10 @@ filegroup {
path: "python3/httplib2",
}
-filegroup {
- name: "py2_httplib2_srcs",
- srcs: ["python2/httplib2/*.py"],
- path: "python2/httplib2",
-}
-
-filegroup {
- name: "py3_httplib2_srcs",
- srcs: ["python3/httplib2/*.py"],
- path: "python3/httplib2",
-}
-
python_library {
name: "py-httplib2",
host_supported: true,
data: [":cacert_data"],
pkg_path: "httplib2",
- version: {
- py2: {
- enabled: true,
- srcs: [":py2_httplib2_srcs"],
- },
- py3: {
- enabled: true,
- srcs: [":py3_httplib2_srcs"],
- },
- },
+ srcs: ["python3/httplib2/*.py"],
}