platform_build_soong/python
Jingwen Chen 13b9b42f8f bp2build: add python_binary_host converter.
This CL adds a simple python_binary_host to native py_binary converter
for standalone modules that don't depend on libs. It also adds support
for the conditional py2/py3 build target based on the version prop.

Test: milestone-2/demo.sh full
Test: bazel query 'kind("py_binary rule", //bionic/...)'
Test: bazel run //bionic/libc/tools:genfunctosyscallnrs
Test: bazel run //bionic/libc/tools:genseccomp
Test: go tests
Fixes: 182236395
Change-Id: Ibe5ec6cd0dc12a61b3a449a8c723d80b891fae42
2021-03-09 18:58:42 -05:00
..
scripts Simplify python launcher, use __main__.py 2019-02-15 14:33:59 -08:00
tests Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
Android.bp Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
androidmk.go Add ctx to AndroidMkExtraEntriesFunc 2021-02-19 23:05:40 +00:00
binary.go bp2build: add python_binary_host converter. 2021-03-09 18:58:42 -05:00
builder.go Add `data_native_bins` property to java_test_host 2020-07-27 09:14:06 -07:00
defaults.go Remove empty DepsMutator methods 2019-02-01 17:17:58 -08:00
installer.go Merge "Remove old-style support for translated second architectures" 2019-10-07 20:48:07 +00:00
library.go Add comments/refactor for python.go 2020-12-01 13:18:47 -08:00
proto.go Pass pctx and ctx to NewRuleBuilder 2020-12-01 16:22:16 -08:00
python.go bp2build: add python_binary_host converter. 2021-03-09 18:58:42 -05:00
python_test.go Add comments/refactor for python.go 2020-12-01 13:18:47 -08:00
test.go Add comments/refactor for python.go 2020-12-01 13:18:47 -08:00