Proto for energy estimation breakdown
Designed to report result for IPowerStats:getEnergyConsumed.
Bug: 178219601
Change-Id: If8954931bdf2bd5e9d8def860047f7d5d5f6207f
diff --git a/BUILD b/BUILD
index e5d78d3..f210bbe 100644
--- a/BUILD
+++ b/BUILD
@@ -1724,6 +1724,7 @@
perfetto_proto_library(
name = "protos_perfetto_common_protos",
srcs = [
+ "protos/perfetto/common/android_energy_consumer_descriptor.proto",
"protos/perfetto/common/android_log_constants.proto",
"protos/perfetto/common/builtin_clock.proto",
"protos/perfetto/common/commit_data_request.proto",
@@ -2795,12 +2796,16 @@
perfetto_proto_library(
name = "protos_perfetto_trace_power_protos",
srcs = [
+ "protos/perfetto/trace/power/android_energy_estimation_breakdown.proto",
"protos/perfetto/trace/power/battery_counters.proto",
"protos/perfetto/trace/power/power_rails.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
+ deps = [
+ ":protos_perfetto_common_protos",
+ ],
)
# GN target: //protos/perfetto/trace/power:zero