diff options
author | Jingwen Chen <jingwen@google.com> | 2021-03-08 07:32:28 -0500 |
---|---|---|
committer | Jingwen Chen <jingwen@google.com> | 2021-03-09 18:58:42 -0500 |
commit | 13b9b42f8fe775e852c7837c51c609ee9c0eb631 (patch) | |
tree | 858b559b98abb15fa1b0a553ff600a326911f6ab /python/python.go | |
parent | 9c35c5d2a6c434c8f0d7acc0cbd5f7e159b002fe (diff) |
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
Diffstat (limited to 'python/python.go')
-rw-r--r-- | python/python.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/python.go b/python/python.go index b3e3d13b2..a078c0b58 100644 --- a/python/python.go +++ b/python/python.go @@ -125,6 +125,7 @@ type pathMapping struct { type Module struct { android.ModuleBase android.DefaultableModuleBase + android.BazelModuleBase properties BaseProperties protoProperties android.ProtoProperties |