Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e0e9bc0 authored by Muhammad Qureshi's avatar Muhammad Qureshi
Browse files

Pass the supportQ flag to stats-log-api-gen

Statsd is becoming a Mainline module in R. As part of that effort,
the logging schema has been updated. However, mainline modules
using statsd that are updated in Q still need to use the legacy schema.
So we've added support for that in the autogeneration tool by passing a
flag to support legacy logging schema.

Note: this change is not needed if this module will not be updated in Q.

Bug: 145624233
Test: m
Test: flashes successfully
Change-Id: Ib855001f791c28ec5166bb4400119bd04783dbb1
parent cee96948
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -223,7 +223,8 @@ genrule {
    name: "statslog-networkstack-java-gen",
    tools: ["stats-log-api-gen"],
    cmd: "$(location stats-log-api-gen) --java $(out) --module network_stack" +
         " --javaPackage com.android.networkstack.metrics --javaClass NetworkStackStatsLog",
         " --javaPackage com.android.networkstack.metrics --javaClass NetworkStackStatsLog" +
         " --supportQ",
    out: ["com/android/networkstack/metrics/NetworkStackStatsLog.java"],
}