File: generate-sources-build.xml

package info (click to toggle)
autofdo 0.19-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,248,592 kB
  • sloc: cpp: 436,213; java: 108,653; objc: 108,251; ansic: 77,107; python: 45,387; cs: 24,942; sh: 16,011; php: 15,368; ruby: 6,255; makefile: 5,807; xml: 2,571; pascal: 388; lisp: 182
file content (20 lines) | stat: -rw-r--r-- 1,232 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<project name="generate-sources">
    <echo message="Running protoc ..."/>
    <mkdir dir="${generated.sources.lite.dir}"/>
    <exec executable="${protoc}">
        <arg value="--java_out=lite:${generated.sources.lite.dir}"/>
        <arg value="--proto_path=${protobuf.source.dir}"/>
        <arg value="${protobuf.source.dir}/google/protobuf/any.proto"/>
        <arg value="${protobuf.source.dir}/google/protobuf/api.proto"/>
        <arg value="${protobuf.source.dir}/google/protobuf/descriptor.proto"/>
        <arg value="${protobuf.source.dir}/google/protobuf/duration.proto"/>
        <arg value="${protobuf.source.dir}/google/protobuf/empty.proto"/>
        <arg value="${protobuf.source.dir}/google/protobuf/field_mask.proto"/>
        <arg value="${protobuf.source.dir}/google/protobuf/source_context.proto"/>
        <arg value="${protobuf.source.dir}/google/protobuf/struct.proto"/>
        <arg value="${protobuf.source.dir}/google/protobuf/timestamp.proto"/>
        <arg value="${protobuf.source.dir}/google/protobuf/type.proto"/>
        <arg value="${protobuf.source.dir}/google/protobuf/wrappers.proto"/>
        <arg value="${protobuf.source.dir}/google/protobuf/compiler/plugin.proto"/>
    </exec>
</project>