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:
Rintaro Kuroiwa 2014-01-14 11:01:53 -08:00
parent f4c7807554
commit 0154654539
2 changed files with 6 additions and 2 deletions

View File

@ -3,8 +3,6 @@
syntax = "proto2"; syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package dash_packager; package dash_packager;
message Range { message Range {

View File

@ -19,6 +19,12 @@
'proto_out_dir': 'mpd/base', 'proto_out_dir': 'mpd/base',
}, },
'includes': ['../build/protoc.gypi'], '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', 'target_name': 'mpd_builder',