Update protobuf

This commit is contained in:
vshcherb 2013-11-11 00:21:01 +01:00
parent 119623e98a
commit 5e0ec9c1e1
2 changed files with 11 additions and 0 deletions

View file

@ -1,5 +1,6 @@
bin bin
c-src c-src
OsmAnd-core.jar OsmAnd-core.jar
protobuf-src
OsmAnd-core-android.jar OsmAnd-core-android.jar
src/net/osmand/core/jni/* src/net/osmand/core/jni/*

View file

@ -5,6 +5,7 @@
<property name="src.dir" value="src" /> <property name="src.dir" value="src" />
<property name="src.absolute.dir" location="${src.dir}" /> <property name="src.absolute.dir" location="${src.dir}" />
<property name="protobuf.src" location="protobuf-src" />
<property name="bin.dir" value="bin" /> <property name="bin.dir" value="bin" />
<property name="bin.absolute.dir" location="${bin.dir}" /> <property name="bin.absolute.dir" location="${bin.dir}" />
<property name="lib.dir" value="libs" /> <property name="lib.dir" value="libs" />
@ -52,6 +53,15 @@
</target> </target>
<target name="patch-protobuf">
<copy file="${protobuf.src}/com/google/protobuf/CodedInputStream.java"
tofile="${protobuf.src}/com/google/protobuf/CodedInputStreamRAF.java" overwrite="yes">
</copy>
<!--
<copy todir="${src.absolute.dir}">
<fileset dir="${protobuf.src}"/>
</copy> -->
</target>
<target name="compile" depends="-dirs,copy_resources"> <target name="compile" depends="-dirs,copy_resources">
<copy todir="${bin.absolute.dir}"> <copy todir="${bin.absolute.dir}">
<fileset dir="${src.absolute.dir}"> <fileset dir="${src.absolute.dir}">