perfetto: add proto lite java config to bazel build
Change-Id: I4b756f8e58eeb43a9b844fb65f539ea1b34f3ce8
diff --git a/bazel/rules.bzl b/bazel/rules.bzl
index 498f34a..65ff4b0 100644
--- a/bazel/rules.bzl
+++ b/bazel/rules.bzl
@@ -64,6 +64,10 @@
if not _rule_override("java_proto_library", **kwargs):
native.java_proto_library(**kwargs)
+def perfetto_java_lite_proto_library(**kwargs):
+ if not _rule_override("java_lite_proto_library", **kwargs):
+ native.java_lite_proto_library(**kwargs)
+
# +----------------------------------------------------------------------------+
# | Misc rules. |
# +----------------------------------------------------------------------------+