diff options
author | 2025-01-31 10:54:46 -0800 | |
---|---|---|
committer | 2025-01-31 10:54:46 -0800 | |
commit | d85c6771d7493ea0d3798174a03c25591050f80c (patch) | |
tree | c290d8d7426ab7aba463924a620e5abd9d20e023 /python/testing.go | |
parent | d015ce2e687d5b7d56fe55e657cd5e6d68c7b737 (diff) |
Remove python2 support from soong rules
Python2 has been removed from the android build.
Removing the python version transition mutator should lead to some
slight analysis time performance improvements.
I also made embedded_launcher in base_properties no longer
blueprint:"mutated", so that we can migrate usages to the main property
struct and remove the `version` property struct.
Many python tests were not being run due to a
`if d.desc != "module with duplicate runfile path" { continue }` line,
I removed that and fixed the tests. I also removed the test for an
error when there are no source files, because that check has been
relaxed since, and I think it's legitimate to have a python library that
only has data files, not source files. And there are some of those
libraries in the source tree.
Bug: 203436762
Test: m nothing --no-skip-soong-tests
Change-Id: Idf18e39233418237ecc83f70f65d83d4ea496633
Diffstat (limited to 'python/testing.go')
-rw-r--r-- | python/testing.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/testing.go b/python/testing.go index ce1a5ab27..fe53ee528 100644 --- a/python/testing.go +++ b/python/testing.go @@ -20,5 +20,4 @@ var PrepareForTestWithPythonBuildComponents = android.GroupFixturePreparers( android.FixtureRegisterWithContext(registerPythonBinaryComponents), android.FixtureRegisterWithContext(registerPythonLibraryComponents), android.FixtureRegisterWithContext(registerPythonTestComponents), - android.FixtureRegisterWithContext(registerPythonMutators), ) |