Frameworks: convert platformprotos to soong
Bug: 64328974
Test: m
Change-Id: I3729a3132c1ef07dded69801373edf51006fa623
diff --git a/Android.bp b/Android.bp
index 2de1a6c..77a273c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -766,6 +766,24 @@
dxflags: ["--core-library"],
}
+// ==== java proto host library ==============================
+java_library_host {
+ name: "platformprotos",
+ srcs: [
+ "cmds/am/proto/instrumentation_data.proto",
+ "core/proto/**/*.proto",
+ "libs/incident/proto/**/*.proto",
+ "cmds/statsd/src/**/*.proto",
+ ],
+ proto: {
+ include_dirs: ["external/protobuf/src"],
+ type: "full",
+ },
+ errorprone: {
+ javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
+ },
+}
+
// ==== c++ proto device library ==============================
cc_library {
name: "libplatformprotos",