aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLive Channels Team <no-reply@google.com>2018-05-10 09:27:12 -0700
committerNick Chalko <nchalko@google.com>2018-05-18 10:26:53 -0700
commit8899abad832e62df14e0d04e80111faa6d296a94 (patch)
treeaf4c5f220441418064845810663f7e0ef4633f4b
parent6aa5442626556435e47007846041df302530e1fd (diff)
downloadTV-8899abad832e62df14e0d04e80111faa6d296a94.tar.gz
Explicitly mark proto symbols with nano Java usage with _as_lite=false.
This change is in preparation for flipping the default value for the _as_lite options to true which will help in restricting the growth of nano Java usage in google3. These options only affect nano Java generated code and have no impact on the characteristics of the serialized proto. Generated using: //depot/google3/experimental/users/arielb/protos/spam_set_as_nano.sh More information: go/nano2lite-lsc, go/nano2lite-as-lite-options Tested: TAP --sample for global presubmit queue http://test/OCL:196118562:BASE:196116172:1525965509977:c79491b8 PiperOrigin-RevId: 196126335 Change-Id: I6fa827453a6660540a9d6fb2ece860d5eb6d03bd
-rw-r--r--tuner/proto/channel.proto3
-rw-r--r--tuner/proto/track.proto3
2 files changed, 6 insertions, 0 deletions
diff --git a/tuner/proto/channel.proto b/tuner/proto/channel.proto
index 1f994522..12c64f7d 100644
--- a/tuner/proto/channel.proto
+++ b/tuner/proto/channel.proto
@@ -21,6 +21,9 @@ package com.android.tv.tuner.data;
option java_package = "com.android.tv.tuner.data";
option java_outer_classname = "Channel";
+import "third_party/android/nanoproto/nano_descriptor.proto";
+option (proto2.nano.file_as_lite) = false;
+
import "track.proto";
// Holds information about a channel used in the tuners.
diff --git a/tuner/proto/track.proto b/tuner/proto/track.proto
index fe60fed5..801c0424 100644
--- a/tuner/proto/track.proto
+++ b/tuner/proto/track.proto
@@ -17,6 +17,9 @@
syntax = "proto2";
package com.android.tv.tuner.data;
+import "third_party/android/nanoproto/nano_descriptor.proto";
+option (proto2.nano.file_as_lite) = false;
+
option java_package = "com.android.tv.tuner.data";
option java_outer_classname = "Track";