diff options
author | Max Cai <maxtroy@google.com> | 2014-04-24 18:51:56 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-04-24 18:51:56 +0000 |
commit | f1019531a6d587b247d08acb71dc5fe1f0577aa4 (patch) | |
tree | c3716ae0d3bda52eb181078361ea0cda05ec2b41 /java | |
parent | 56cba8eeae57043aa507c13b190ab16015872135 (diff) | |
parent | d9425a621844065d5a5535448ebe801bad2df56b (diff) | |
download | protobuf-f1019531a6d587b247d08acb71dc5fe1f0577aa4.tar.gz protobuf-f1019531a6d587b247d08acb71dc5fe1f0577aa4.tar.bz2 protobuf-f1019531a6d587b247d08acb71dc5fe1f0577aa4.zip |
Merge "Adds --ignore_service nano proto compiler flag"
Diffstat (limited to 'java')
-rw-r--r-- | java/README.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/java/README.txt b/java/README.txt index f958d147..f922c4be 100644 --- a/java/README.txt +++ b/java/README.txt @@ -475,6 +475,7 @@ java_multiple_files -> true or false java_nano_generate_has -> true or false [DEPRECATED] optional_field_style -> default or accessors enum_style -> c or java +ignore_services -> true or false java_package: java_outer_classname: @@ -580,6 +581,13 @@ enum_style={c,java} (default: c) compiler inlines all referenced enum constants into the call sites, the interface remains unused and can be removed by ProGuard. +ignore_services={true,false} (default: false) + Skips services definitions. + + Nano doesn't support services. By default, if a service is defined + it will generate a compilation error. If this flag is set to true, + services will be silently ignored, instead. + To use nano protobufs within the Android repo: |