diff options
author | Krzysztof Kosiński <krzysio@google.com> | 2022-09-20 20:12:38 +0000 |
---|---|---|
committer | Krzysztof Kosiński <krzysio@google.com> | 2022-09-20 20:44:21 +0000 |
commit | 665a6ab3f7ff69213052fe2d02f40a91114a559d (patch) | |
tree | e1fb30656cf6c05c654b4fdfdd5affd69adf95b6 | |
parent | 67a38f85dbb75e70b24f3ecf6d11e0d31afe35cf (diff) | |
download | httplib2-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.bp | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -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"], } |