Merge "Add a nano proto version of aconfig protos" into main am: 4a2c1b5ca3 am: fd1ca8b6ff

Original change: https://android-review.googlesource.com/c/platform/build/+/3087843

Change-Id: Ic336fdb1a79fd10e38124fe860c6a77babbe8173
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2024-05-15 07:54:02 +00:00 committed by Automerger Merge Worker
commit c6cf9ac793
2 changed files with 18 additions and 2 deletions

View file

@ -17,7 +17,22 @@ java_library {
apex_available: [
"com.android.configinfrastructure",
"//apex_available:platform",
]
],
}
java_library {
name: "libaconfig_java_proto_nano",
srcs: ["protos/aconfig.proto"],
static_libs: ["libprotobuf-java-nano"],
proto: {
type: "nano",
},
sdk_version: "current",
min_sdk_version: "UpsideDownCake",
apex_available: [
"//apex_available:platform",
],
jarjar_rules: "jarjar-nano-rules.txt",
}
java_library_host {
@ -58,7 +73,7 @@ rust_defaults {
],
proc_macros: [
"libpaste",
]
],
}
rust_library {

View file

@ -0,0 +1 @@
rule com.google.protobuf.** android.internal.framework.protobuf.@1