diff options
author | Elliott Hughes <enh@google.com> | 2022-08-15 19:51:10 +0000 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2022-08-15 20:39:36 +0000 |
commit | d635737d8b6769a282e9af03435248ab7187ff44 (patch) | |
tree | fc6dbbc8718bb8aa1de8aa9457a0fc856460064d | |
parent | b58ccaad87f273a509ee40b0053520344ddb3d94 (diff) | |
download | funcsigs-d635737d8b6769a282e9af03435248ab7187ff44.tar.gz |
Remove support for python2, which was EOL two years ago.
Test: treehugger
Change-Id: Ie4ad9892db4b1461867302f677c25cfe28855d69
-rw-r--r-- | Android.bp | 34 | ||||
-rw-r--r-- | funcsigs/Android.bp | 8 |
2 files changed, 0 insertions, 42 deletions
@@ -43,32 +43,6 @@ license { } python_test { - name: "py2-funcsigs-tests", - // use _ instead of . in the name to avoid error: - // error: external/python/funcsigs/Android.bp:18:7: module "py2-funcsigs-tests" variant - // "linux_glibc_x86_64_PY2": srcs: the path "Android.tests.py" contains invalid token "Android.tests". - main: "Android_tests.py", - srcs: [ - // important: the tests must be run as if they were in the 'tests' module - // (i.e. from external/python/funcsigs) otherwise one of the tests will fail. - "tests/*.py", - "Android_tests.py", - ], - host_supported: true, - libs: ["py-funcsigs"], - version: { - py2: { - enabled: true, - }, - py3: { - enabled: false, - }, - }, - // required for tests.test_funcsigs.TestFunctionSignatures - data: ["README.rst"], -} - -python_test { name: "py3-funcsigs-tests", main: "Android_tests.py", srcs: [ @@ -77,13 +51,5 @@ python_test { ], host_supported: true, libs: ["py-funcsigs"], - version: { - py2: { - enabled: false, - }, - py3: { - enabled: true, - }, - }, data: ["README.rst"], } diff --git a/funcsigs/Android.bp b/funcsigs/Android.bp index dd3e9b6..74882e7 100644 --- a/funcsigs/Android.bp +++ b/funcsigs/Android.bp @@ -27,13 +27,5 @@ python_library { srcs: [ "*.py", ], - version: { - py2: { - enabled: true, - }, - py3: { - enabled: true, - }, - }, pkg_path: "funcsigs", } |