Skip to content

Instantly share code, notes, and snippets.

View uelordi01's full-sized avatar

Unai uelordi01

View GitHub Profile
@uelordi01
uelordi01 / build_protobuf_android.sh
Created February 7, 2018 16:32 — forked from helayzhang/build_protobuf_android.sh
Build Google Protobuf library for android development. With android ndk stand alone tool chains.
PREFIX=`pwd`/protobuf/android
rm -rf ${PREFIX}
mkdir ${PREFIX}
export NDK=YOUR_NDK_ROOT
# 1. Use the tools from the Standalone Toolchain
export PATH=YOUR_NDK_STAND_ALONE_TOOL_PATH/bin:$PATH
export SYSROOT=YOUR_NDK_STAND_ALONE_TOOL_PATH/sysroot