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.

34 lines
859 B

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_nanopb-c_license"
// to get the below license kinds:
// SPDX-license-identifier-BSD
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_nanopb-c_license"],
}
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,
},
},
}