platform_build_soong/python/tests
Cole Faust af4b13dbe4 Add flag to not add top-level modules to PYTHONPATH
stub_template_host.txt added all the top-level modules to the
PYTHONPATH, which isn't correct, and caused absl.logging to
override the built-in logging module.

Removing this also makes it more consistent with python binaries
built with embedded_launcher: true. embedded_launcher: true
binaries don't add the top-level modules.

Fixes: 245583294
Test: m py_dont_add_top_level_dirs_test && out/host/linux-x86/testcases/py_dont_add_top_level_dirs_test/x86_64/py_dont_add_top_level_dirs_test
Change-Id: Id3069565d2b2c4b2bda0ff5301e757a7b4201751
2022-09-23 11:06:11 -07:00
..
proto_pkg_path Make protobufs respect pkg_path properly 2022-09-20 16:00:51 -07:00
testpkg Add tests for py(2|3)-cmd 2020-02-19 19:40:38 -08:00
top_level_dirs Add flag to not add top-level modules to PYTHONPATH 2022-09-23 11:06:11 -07:00
Android.bp Mark par_test as not unit tests 2021-04-20 15:56:09 +00:00
par_test.py Test par file argument handling 2019-12-03 23:54:04 -08:00
py-cmd_test.py Add tests for py(2|3)-cmd 2020-02-19 19:40:38 -08:00
runtest.sh Add tests for py(2|3)-cmd 2020-02-19 19:40:38 -08:00