forked from protocolbuffers/protobuf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing structure to have kotlin submodules
- Loading branch information
1 parent
438d777
commit 726241f
Showing
1,735 changed files
with
218,645 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<project name="generate-sources"> | ||
<echo message="Running protoc ..."/> | ||
<mkdir dir="${generated.sources.dir}"/> | ||
<exec executable="${protoc}"> | ||
<arg value="--java_out=lite:${generated.sources.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/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"/> | ||
</exec> | ||
</project> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<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/kotlin/${test.proto.dir}"/> | ||
<arg value="--experimental_allow_proto3_optional"/> | ||
<arg value="${protobuf.source.dir}/google/protobuf/map_lite_unittest.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_proto3.proto"/> | ||
<arg value="${protobuf.basedir}/java/kotlin/${test.proto.dir}/com/google/protobuf/evil_names_proto2.proto"/> | ||
<arg value="${protobuf.basedir}/java/kotlin/${test.proto.dir}/com/google/protobuf/evil_names_proto3.proto"/> | ||
<arg value="${protobuf.basedir}/java/kotlin/${test.proto.dir}/com/google/protobuf/example_extensible_message.proto"/> | ||
<arg value="${protobuf.basedir}/java/kotlin/${test.proto.dir}/com/google/protobuf/multiple_files_proto3.proto"/> | ||
</exec> | ||
<exec executable="${protoc}"> | ||
<arg value="--kotlin_out=lite:${generated.testsources.dir}"/> | ||
<arg value="--proto_path=${protobuf.source.dir}"/> | ||
<arg value="--proto_path=${protobuf.basedir}/java/kotlin/${test.proto.dir}"/> | ||
<arg value="--experimental_allow_proto3_optional"/> | ||
<arg value="${protobuf.source.dir}/google/protobuf/map_lite_unittest.proto"/> | ||
<arg value="${protobuf.source.dir}/google/protobuf/unittest_lite.proto"/> | ||
<arg value="${protobuf.source.dir}/google/protobuf/unittest_proto3.proto"/> | ||
<arg value="${protobuf.basedir}/java/kotlin/${test.proto.dir}/com/google/protobuf/evil_names_proto2.proto"/> | ||
<arg value="${protobuf.basedir}/java/kotlin/${test.proto.dir}/com/google/protobuf/evil_names_proto3.proto"/> | ||
<arg value="${protobuf.basedir}/java/kotlin/${test.proto.dir}/com/google/protobuf/example_extensible_message.proto"/> | ||
<arg value="${protobuf.basedir}/java/kotlin/${test.proto.dir}/com/google/protobuf/multiple_files_proto3.proto"/> | ||
</exec> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Remove code enclosed by "BEGIN FULL-RUNTIME" and "END FULL-RUNTIME" to | ||
# create the lite-only version of a test file. | ||
|
||
BEGIN { | ||
in_full_runtime = 0; | ||
} | ||
|
||
/BEGIN FULL-RUNTIME/ { | ||
in_full_runtime = 1; | ||
next; | ||
} | ||
|
||
/END FULL-RUNTIME/ { | ||
in_full_runtime = 0; | ||
next; | ||
} | ||
|
||
in_full_runtime { | ||
# Skip full runtime code path. | ||
next; | ||
} | ||
|
||
{ | ||
print; | ||
} |
Oops, something went wrong.