Statically link SystemMessagesProto since Wifi uses a few constants defined here e.g. NOTE_NETWORK_NO_MAC_RANDOMIZATION_SUPPORT, NOTE_NETWORK_AVAILABLE, etc. Proto should ensure backwards compatibility of these constants. Bug: 147387246 Test: compiles Change-Id: Id6e704fa50e3500d191ecfa57cbb5a237dfaf01a
35 lines
792 B
Plaintext
35 lines
792 B
Plaintext
java_library_static {
|
|
name: "framework-protos",
|
|
host_supported: true,
|
|
proto: {
|
|
type: "nano",
|
|
},
|
|
srcs: ["src/**/*.proto"],
|
|
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"],
|
|
sdk_version: "system_current",
|
|
}
|
|
|
|
filegroup {
|
|
name: "system-messages-proto-src",
|
|
srcs: ["src/system_messages.proto"],
|
|
}
|