diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 22:27:57 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 22:27:57 +0000 |
commit | baefae90f294a981c973bffbdd3eccabfe796b6a (patch) | |
tree | d55ee1e86fe8db74ed7bbebfd844bdd803f343b4 /dbus | |
parent | 5a246999dda2dd518d88f160294a071b4dd6486b (diff) | |
download | chromium_src-baefae90f294a981c973bffbdd3eccabfe796b6a.zip chromium_src-baefae90f294a981c973bffbdd3eccabfe796b6a.tar.gz chromium_src-baefae90f294a981c973bffbdd3eccabfe796b6a.tar.bz2 |
Linux: change protobuf default option to allow building
with unpatched system protobuf.
This is a preparation for landing https://codereview.chromium.org/11231046/
and a solution chosen because our custom protobuf changes will not
be accepted upstream.
Setting defaults to optimize for lite runtime and retain unknown fields
makes it possible to use the same .proto files with system protobuf.
BUG=157155
TEST=none
Review URL: https://codereview.chromium.org/11228038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166534 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/test_proto.proto | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dbus/test_proto.proto b/dbus/test_proto.proto index 0a1d06f..2f5c154 100644 --- a/dbus/test_proto.proto +++ b/dbus/test_proto.proto @@ -2,12 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -option optimize_for = LITE_RUNTIME; - // This is a simple dummy protocol buffer that is used for testing handling of // protocol buffers in MessageReader and MessageWriter. message TestProto { optional string text = 1; optional int32 number = 2; -}
\ No newline at end of file +} |