Remove LITE from protobuf for serialization to human readable string
TextFormat class methods that output human readable messsages need Message instance where LITE uses MessageLite. Change-Id: I4ff14aa9334acdad608f0b02c81d9cb765e70a60
This commit is contained in:
parent
f4c7807554
commit
0154654539
|
@ -3,8 +3,6 @@
|
|||
|
||||
syntax = "proto2";
|
||||
|
||||
option optimize_for = LITE_RUNTIME;
|
||||
|
||||
package dash_packager;
|
||||
|
||||
message Range {
|
||||
|
|
|
@ -19,6 +19,12 @@
|
|||
'proto_out_dir': 'mpd/base',
|
||||
},
|
||||
'includes': ['../build/protoc.gypi'],
|
||||
'dependencies': [
|
||||
# This target needs to depend on 'protobuf_full_do_not_use' to generate
|
||||
# non-LITE (full) protobuf. We need full protobuf to serialize and
|
||||
# deserialize human readable protobuf messages.
|
||||
'../third_party/protobuf/protobuf.gyp:protobuf_full_do_not_use',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'mpd_builder',
|
||||
|
|
Loading…
Reference in New Issue