aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kosiński <krzysio@google.com>2022-09-20 20:12:38 +0000
committerKrzysztof Kosiński <krzysio@google.com>2022-09-20 20:44:21 +0000
commit665a6ab3f7ff69213052fe2d02f40a91114a559d (patch)
treee1fb30656cf6c05c654b4fdfdd5affd69adf95b6
parent67a38f85dbb75e70b24f3ecf6d11e0d31afe35cf (diff)
downloadhttplib2-665a6ab3f7ff69213052fe2d02f40a91114a559d.tar.gz
Disable Python 2 variant, but keep sources filegroup.main-16k
The 'path' attribute affects the import path in Python. The change that removed it, aosp/2221331, appears to have accidentally moved the entire content of the module to httplib2.python3.httplib2. Bug: 245854393 Test: presubmit Change-Id: Ib518cb8668fc4c90e85f895d1cb45c1cffc8b42d
-rw-r--r--Android.bp17
1 files changed, 1 insertions, 16 deletions
diff --git a/Android.bp b/Android.bp
index c77abc6..4cb6d72 100644
--- a/Android.bp
+++ b/Android.bp
@@ -57,12 +57,6 @@ filegroup {
}
filegroup {
- name: "py2_httplib2_srcs",
- srcs: ["python2/httplib2/*.py"],
- path: "python2/httplib2",
-}
-
-filegroup {
name: "py3_httplib2_srcs",
srcs: ["python3/httplib2/*.py"],
path: "python3/httplib2",
@@ -73,14 +67,5 @@ python_library {
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: [":py3_httplib2_srcs"],
}