1java_library_static { 2 name: "framework-protos", 3 host_supported: true, 4 proto: { 5 type: "nano", 6 }, 7 srcs: ["src/**/*.proto"], 8 sdk_version: "9", 9 // Pin java_version until jarjar is certified to support later versions. http://b/72703434 10 java_version: "1.8", 11 target: { 12 android: { 13 jarjar_rules: "jarjar-rules.txt", 14 }, 15 host: { 16 static_libs: ["libprotobuf-java-nano"], 17 }, 18 }, 19} 20 21java_library_static { 22 name: "metrics-constants-protos", 23 host_supported: true, 24 proto: { 25 type: "nano", 26 }, 27 srcs: ["src/metrics_constants/metrics_constants.proto"], 28 sdk_version: "system_current", 29} 30 31filegroup { 32 name: "system-messages-proto-src", 33 srcs: ["src/system_messages.proto"], 34} 35 36filegroup { 37 name: "ipconnectivity-proto-src", 38 srcs: ["src/ipconnectivity.proto"], 39} 40