You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
486 B

python_binary_host {
name: "protoc-gen-nanopb",
main: "nanopb_generator.py",
srcs: [
"nanopb_generator.py",
"proto/nanopb.proto",
"proto/plugin.proto",
],
proto: {
canonical_path_from_root: false,
include_dirs: ["external/protobuf/src"],
},
libs: ["libprotobuf-python"],
version: {
py2: {
enabled: true,
embedded_launcher: true,
},
py3: {
enabled: false,
},
},
}