Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 673 Bytes

README.rst

File metadata and controls

22 lines (14 loc) · 673 Bytes

This repository has moved

This repository is unmaintained and contains a port of protobuf 2. For protobuf 3, see

https://github.com/Dimon4eg/protobuf-android

Google protobuf for Android NDK

This builds a static library to use protobuf with C++ on android.

This is based on protobuf-2.6.1 and it boils down to :

  • Copying the minimal set of .cc files to build the library (without tests)
  • Write a config.h and Android.mk that work on android

The example directory contains an example protobuf that can be compiled & linked by NDK to check that the linker has all the dependencies:

cd example

./build.sh