Test: no test is necessary as it only adds a field to atoms.proto Change-Id: If4e7c9497d1a4a8ba0fda3e8fb1ef67c525d6e64 Bug: 110537998
50 lines
1.0 KiB
Plaintext
50 lines
1.0 KiB
Plaintext
java_library_static {
|
|
name: "framework-protos",
|
|
host_supported: true,
|
|
proto: {
|
|
type: "nano",
|
|
},
|
|
srcs: ["src/**/*.proto"],
|
|
no_framework_libs: true,
|
|
// 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"],
|
|
},
|
|
},
|
|
}
|
|
|
|
cc_library {
|
|
name: "libmetricprotos",
|
|
host_supported: true,
|
|
proto: {
|
|
export_proto_headers: true,
|
|
include_dirs: ["external/protobuf/src"],
|
|
},
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wno-unused-parameter",
|
|
],
|
|
srcs: ["src/metrics_constants.proto"],
|
|
target: {
|
|
host: {
|
|
proto: {
|
|
type: "full",
|
|
},
|
|
},
|
|
android: {
|
|
proto: {
|
|
type: "lite",
|
|
},
|
|
shared: {
|
|
enabled: false,
|
|
},
|
|
},
|
|
},
|
|
}
|