• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<project name="generate-sources">
2    <echo message="Running protoc ..."/>
3    <mkdir dir="${generated.sources.lite.dir}"/>
4    <exec executable="${protoc}">
5        <arg value="--java_out=lite:${generated.sources.lite.dir}"/>
6        <arg value="--proto_path=${protobuf.source.dir}"/>
7        <arg value="${protobuf.source.dir}/google/protobuf/any.proto"/>
8        <arg value="${protobuf.source.dir}/google/protobuf/api.proto"/>
9        <arg value="${protobuf.source.dir}/google/protobuf/descriptor.proto"/>
10        <arg value="${protobuf.source.dir}/google/protobuf/duration.proto"/>
11        <arg value="${protobuf.source.dir}/google/protobuf/empty.proto"/>
12        <arg value="${protobuf.source.dir}/google/protobuf/field_mask.proto"/>
13        <arg value="${protobuf.source.dir}/google/protobuf/source_context.proto"/>
14        <arg value="${protobuf.source.dir}/google/protobuf/struct.proto"/>
15        <arg value="${protobuf.source.dir}/google/protobuf/timestamp.proto"/>
16        <arg value="${protobuf.source.dir}/google/protobuf/type.proto"/>
17        <arg value="${protobuf.source.dir}/google/protobuf/wrappers.proto"/>
18        <arg value="${protobuf.source.dir}/google/protobuf/compiler/plugin.proto"/>
19    </exec>
20</project>
21