diff options
author | Jeff Davidson <jpd@google.com> | 2014-04-25 22:11:03 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-04-25 22:11:04 +0000 |
commit | a2724e7cf3bf550daa4727f689092957395b0f50 (patch) | |
tree | 0f751a2c700f4192e58f3489ca04ad2b1881c0d1 /java/README.txt | |
parent | f1019531a6d587b247d08acb71dc5fe1f0577aa4 (diff) | |
parent | ec4b1ce0b67a2386c270551146ce7932003525a7 (diff) | |
download | protobuf-a2724e7cf3bf550daa4727f689092957395b0f50.tar.gz protobuf-a2724e7cf3bf550daa4727f689092957395b0f50.tar.bz2 protobuf-a2724e7cf3bf550daa4727f689092957395b0f50.zip |
Merge "Support generation of Parcelable nano messages."
Diffstat (limited to 'java/README.txt')
-rw-r--r-- | java/README.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/java/README.txt b/java/README.txt index f922c4be..c6933138 100644 --- a/java/README.txt +++ b/java/README.txt @@ -476,6 +476,7 @@ java_nano_generate_has -> true or false [DEPRECATED] optional_field_style -> default or accessors enum_style -> c or java ignore_services -> true or false +parcelable_messages -> true or false java_package: java_outer_classname: @@ -588,6 +589,9 @@ ignore_services={true,false} (default: false) it will generate a compilation error. If this flag is set to true, services will be silently ignored, instead. +parcelable_messages={true,false} (default: false) + Android-specific option to generate Parcelable messages. + To use nano protobufs within the Android repo: @@ -638,8 +642,13 @@ Please run the following steps to test: - cd ../../.. - . build/envsetup.sh - lunch 1 -- "make -j12 aprotoc libprotobuf-java-2.3.0-nano aprotoc-test-nano-params" and +- "make -j12 aprotoc libprotobuf-java-2.3.0-nano aprotoc-test-nano-params NanoAndroidTest" and check for build errors. +- Plug in an Android device or start an emulator. +- adb install -r out/target/product/generic/data/app/NanoAndroidTest.apk +- Run: + "adb shell am instrument -w com.google.protobuf.nano.test/android.test.InstrumentationTestRunner" + and verify all tests pass. - repo sync -c -j256 - "make -j12" and check for build errors |