2016-01-08 17:19:11 +00:00
|
|
|
<project name="generate-test-sources">
|
|
|
|
<mkdir dir="${generated.testsources.dir}"/>
|
|
|
|
<exec executable="${protoc}">
|
|
|
|
<arg value="--java_out=${generated.testsources.dir}"/>
|
|
|
|
<arg value="--proto_path=${protobuf.source.dir}"/>
|
|
|
|
<arg value="--proto_path=${test.proto.dir}"/>
|
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest.proto"/>
|
2019-04-09 13:48:01 +00:00
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_custom_options.proto"/>
|
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_enormous_descriptor.proto"/>
|
2016-01-08 17:19:11 +00:00
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_import.proto"/>
|
2019-04-09 13:48:01 +00:00
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_import_lite.proto"/>
|
2016-01-08 17:19:11 +00:00
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public.proto"/>
|
2019-04-09 13:48:01 +00:00
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public_lite.proto"/>
|
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_lite.proto"/>
|
2016-01-08 17:19:11 +00:00
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_mset.proto"/>
|
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_mset_wire_format.proto"/>
|
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_no_generic_services.proto"/>
|
2019-04-09 13:48:01 +00:00
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_optimize_for.proto"/>
|
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_proto3.proto"/>
|
2020-05-12 18:34:02 +00:00
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_proto3_optional.proto"/>
|
2016-01-08 17:19:11 +00:00
|
|
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_well_known_types.proto"/>
|
2019-04-09 13:48:01 +00:00
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/any_test.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/cached_field_size_test.proto"/>
|
2017-08-31 17:49:58 +00:00
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/deprecated_file.proto"/>
|
2019-04-09 13:48:01 +00:00
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/field_presence_test.proto"/>
|
2016-01-08 17:19:11 +00:00
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/lazy_fields_lite.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/lite_equals_and_hash.proto"/>
|
2019-04-09 13:48:01 +00:00
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/map_for_proto2_lite_test.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/map_for_proto2_test.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/map_initialization_order_test.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/map_lite_test.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/map_test.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/message_lite_extension_util_test.proto"/>
|
2016-01-08 17:19:11 +00:00
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/multiple_files_test.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/nested_builders_test.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/nested_extension.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/non_nested_extension.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/outer_class_name_test.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/outer_class_name_test2.proto"/>
|
2019-04-09 13:48:01 +00:00
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/outer_class_name_test3.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/packed_field_test.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/proto2_message.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/proto2_message_lite.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/proto2_unknown_enum_values.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/proto3_message.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/proto3_message_lite.proto"/>
|
2016-01-08 17:19:11 +00:00
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/test_bad_identifiers.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/test_check_utf8.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/test_check_utf8_size.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/test_custom_options.proto"/>
|
2019-04-09 13:48:01 +00:00
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/wrappers_test.proto"/>
|
|
|
|
</exec>
|
|
|
|
<!-- Also generate some Lite protos needed for ExtensionRegistryFactoryTest -->
|
|
|
|
<exec executable="${protoc}">
|
|
|
|
<arg value="--java_out=lite:${generated.testsources.dir}"/>
|
|
|
|
<arg value="--proto_path=${protobuf.source.dir}"/>
|
|
|
|
<arg value="--proto_path=${test.proto.dir}"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/nested_extension_lite.proto"/>
|
|
|
|
<arg value="${test.proto.dir}/com/google/protobuf/non_nested_extension_lite.proto"/>
|
2016-01-08 17:19:11 +00:00
|
|
|
</exec>
|
2017-07-18 22:38:30 +00:00
|
|
|
</project>
|