Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
5.0 KiB
52 lines
5.0 KiB
<project name="generate-test-sources"> |
|
<mkdir dir="${generated.testsources.dir}"/> |
|
<exec executable="${protoc}"> |
|
<arg value="--java_out=lite:${generated.testsources.dir}"/> |
|
<arg value="--proto_path=${protobuf.source.dir}"/> |
|
<arg value="--proto_path=${protobuf.basedir}/java/core/${test.proto.dir}"/> |
|
<arg value="${protobuf.source.dir}/google/protobuf/descriptor.proto"/> |
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest.proto"/> |
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_import.proto"/> |
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_import_lite.proto"/> |
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public.proto"/> |
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public_lite.proto"/> |
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_lite.proto"/> |
|
<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"/> |
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_optimize_for.proto"/> |
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_proto3.proto"/> |
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_proto3_optional.proto"/> |
|
<arg value="${protobuf.source.dir}/google/protobuf/unittest_well_known_types.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/any_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/cached_field_size_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/deprecated_file.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/field_presence_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/lazy_fields_lite.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/lite_equals_and_hash.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/map_for_proto2_lite_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/map_for_proto2_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/map_initialization_order_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/map_lite_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/map_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/message_lite_extension_util_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/nested_builders_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/nested_extension.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/nested_extension_lite.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/non_nested_extension.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/non_nested_extension_lite.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/outer_class_name_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/outer_class_name_test2.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/outer_class_name_test3.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/packed_field_test.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/proto2_message.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/proto2_message_lite.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/proto2_unknown_enum_values.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/proto3_message.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/proto3_message_lite.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/test_bad_identifiers.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/test_check_utf8.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/test_check_utf8_size.proto"/> |
|
<arg value="${protobuf.basedir}/java/core/${test.proto.dir}/com/google/protobuf/wrappers_test.proto"/> |
|
</exec> |
|
</project>
|
|
|