blob: 7f826b3a9a6f4f1eb31602da24e8e29e6e69ee6f [file] [log] [blame]
java_library_static {
name: "framework-protos",
host_supported: true,
proto: {
type: "nano",
},
srcs: ["src/**/*.proto"],
no_framework_libs: true,
sdk_version: "9",
// Pin java_version until jarjar is certified to support later versions. http://b/72703434
java_version: "1.8",
target: {
android: {
jarjar_rules: "jarjar-rules.txt",
},
host: {
static_libs: ["libprotobuf-java-nano"],
},
},
}
java_library_static {
name: "metrics-constants-protos",
host_supported: true,
proto: {
type: "nano",
},
srcs: ["src/metrics_constants/metrics_constants.proto"],
no_framework_libs: true,
sdk_version: "system_current",
// Pin java_version until jarjar is certified to support later versions. http://b/72703434
java_version: "1.8",
target: {
android: {
jarjar_rules: "jarjar-rules.txt",
},
host: {
static_libs: ["libprotobuf-java-nano"],
},
},
}