aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
Commit message (Collapse)AuthorAgeFilesLines
* Fix gradle builds of libprotobuf-lite.Jeff Davidson2015-01-151-19/+26
| | | | | Change-Id: I23f6ce1245e30624dafa102257e9cb6d6cf38af8 TODO: Move this into AOSP.
* am c4616e71: am 77a6b2f4: Merge "Update protobuf library from 2.3 to 2.6."Jeff Davidson2015-01-161-3/+3
|\ | | | | | | | | * commit 'c4616e7140586f06dce57a7fe970a22832f50ccc': Update protobuf library from 2.3 to 2.6.
| * Update protobuf library from 2.3 to 2.6.Jeff Davidson2015-01-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copied in all files from the open source protobuf project at commit edc5994525c79cd1919859a370837a6ff7c8e308, removing files which have been renamed (COPYING.txt -> LICENSE, README.txt -> README.md). Removed 2.3 prebuilts, which is an approach that will not work due to incompatibility with the 2.6 runtime. Merged in micro/nano-specific changes in the following files: -Android.mk - updated list of C++/Java sources, bumped versions -java/README.txt - merged in micro/nano instructions, bumped versions -java/pom.xml - merged in micro/nano build rules, set packaging to jar -src/Makefile.am - merged in references to micro/nano generators -src/google/protobuf/compiler/javamicro/javamicro_file.h - imported google/protobuf/compiler/code_generator.h and removed redundant OutputDirectory class. -src/google/protobuf/compiler/javanano/javanano_file.h - same -Replaced instances of vector with std::vector as needed to get libprotobuf-cpp-full to compile. Plan to upstream this fix per discussion with protobuf maintainers. Reran autogen.sh to update ./configure and associated scripts. Change-Id: I949d32fb5126f1c05e2a6ed48f6636a4a9b15a48
* | Add a 'lite' configuration for building protobufHarsh Modi2014-07-151-0/+37
|/ | | | Change-Id: I9b34720c761d75f42ce2f033fe22abeabefdae90
* Support generation of Parcelable nano messages.Jeff Davidson2014-04-251-3/+18
| | | | | | | | | | | | | | | | | | | | This CL adds the "parcelable_messages" option. When enabled, all generated message classes will conform to the Android Parcelable contract. This is achieved by introducing a new parent class for generated classes which implements the required functionality. Since the store_unknown_fields option also makes use of a superclass, ExtendableMessageNano, we have two versions of the new Parcelable superclass: one extending MessageNano, and one extending ExtendableMessageNano. These classes are otherwise identical. As these classes depend on Android framework jars, they are not included in the host .jar build of the nanoproto library. Finally, add a test suite for running tests of Android-specific functionality, as this cannot be done on a desktop JVM. Change-Id: Icc2a257f03317e947f7078dbb9857c3286857497
* Merge commit '11c3b27d' into fix-mcWink Saville2013-08-131-1/+19
|\ | | | | | | | | | | | | * commit '11c3b27d': Add a Gradle build file for the protobuf libraries. Change-Id: Id785093c51eb423576292994a98d42efbbc3fddb
| * Add a Gradle build file for the protobuf libraries.Adam Metcalf2013-08-081-0/+68
| | | | | | Has two configurations: micro and nano. Change-Id: I009f956e11cf13694738743a757438ebf181b340
* Added micro/nano configurations to protobuf in gradle.Adam Metcalf2013-07-151-36/+36
| | | | Change-Id: I7655fafcb4ca3bd6e090d7fd549eda2eb989bfcf
* Gradle project file.Adam Metcalf2013-06-171-0/+51
Adds a gradle project file so that other projects can use the :micro and :nano libraries. Change-Id: I7e5aeb584acd11d39e57bf9d4ecfc3af175ffbb2