5 Commits

Author SHA1 Message Date
Tyler Dewey
4c5d89e69d Update build target names & code location for roleservice.proto usages
in framework.

Bug: 217406624
Test: built and flashed
Change-Id: Ibcb924df059af5d518b7f6f80487a3fb57bd6623
2022-03-07 05:48:42 +00:00
Aaron Huang
d87c9cb26b Fix proto invalid write type
While dumpProtoLocked is called, InvalidProtocolBufferException
occurred because types are mismatched between platform side and
module side.

netstats.proto was moved into connectivity module, both the
platform(incident.proto) and the module uses protoc-gen-javastream
to generate the Java classes from it. It should be fine since
platform includes the source of the proto, and jarjar the generated
classess in the module to avoid conflict with platform.

Bug: 218566849
Test: adb shell incident 3001
      adb shell dumpsys netstats --proto
      atest CtsIncidentHostTestCases:IncidentdTest#testIncidentReportDumpAuto
Change-Id: I4654350a59dc1ca1a925785ad37f34aa7b481235
Merged-In: I4654350a59dc1ca1a925785ad37f34aa7b481235
2022-03-04 06:39:30 +00:00
Cole Faust
2fd661b283 Use enabled: false to disable errorprone
Enabled: false is more performant than -XepDisableAllChecks,
as normally the module is built twice, once with and once
without errorprone. Enabled: false will entirely remove
the second build.

Bug: 190944875
Bug: 72714520
Change-Id: Ie393f41a33e59dc4fd36b98ca2fd87f53c0f9785
Test: Presumbits
2021-06-19 00:54:35 +00:00
Dichen Zhang
c2ae00b80d enum migration
Move proto messages out of enum/ directory.

Test: make
Bug: b/184754707
Change-Id: Ia240c2608227c34d8caa0fa89d62a00bf2bb6908
2021-04-13 15:24:22 -07:00
Anton Hansson
31fb58bd22 Move framework proto build rules to separate file
The proto build rules are quite large and makes the top-level Android.bp
file difficult to navigate. Move them to a separate file.

Bug: 185128417
Test: m
Change-Id: I5719ba0fa8e03dcfca0cc32dc30db3f87ea4e3cd
2021-04-12 18:39:20 +01:00