aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2022-09-06 18:17:07 -0700
committerCole Faust <colefaust@google.com>2022-09-06 18:17:07 -0700
commitcd9c9aa9f1a645ab17ae97958ff7d692dabb4ad0 (patch)
tree6c8f99caa41441d024d8d75c5b99ccc241ce94a0
parent16638325b06a97afdc709f905e200f09b0828ef9 (diff)
downloadnanopb-c-cd9c9aa9f1a645ab17ae97958ff7d692dabb4ad0.tar.gz
Convert protoc-gen-nanopb to python 3main-16k
nanopb_generator.py already had code in it to support both python 2 and 3. Start using python 3 in the soong build. Bug: 203436762 Test: Presubmits Change-Id: I99358aaa7a09e4feebc09225bf9591e38ed8957e
-rw-r--r--generator/Android.bp6
1 files changed, 1 insertions, 5 deletions
diff --git a/generator/Android.bp b/generator/Android.bp
index cd7516c..343b0ca 100644
--- a/generator/Android.bp
+++ b/generator/Android.bp
@@ -22,12 +22,8 @@ python_binary_host {
},
libs: ["libprotobuf-python"],
version: {
- py2: {
- enabled: true,
- embedded_launcher: true,
- },
py3: {
- enabled: false,
+ embedded_launcher: true,
},
},
}