| Index: third_party/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/unittest_lite_imports_nonlite.proto
|
| diff --git a/third_party/protobuf/python/google/protobuf/internal/any_test.proto b/third_party/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/unittest_lite_imports_nonlite.proto
|
| similarity index 83%
|
| copy from third_party/protobuf/python/google/protobuf/internal/any_test.proto
|
| copy to third_party/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/unittest_lite_imports_nonlite.proto
|
| index cd641ca0b8efaab4d60767f359490946f90400fb..d52cb8cc36d8924a3454f9170f6b338f14a59c5c 100644
|
| --- a/third_party/protobuf/python/google/protobuf/internal/any_test.proto
|
| +++ b/third_party/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/unittest_lite_imports_nonlite.proto
|
| @@ -1,6 +1,6 @@
|
| // Protocol Buffers - Google's data interchange format
|
| // Copyright 2008 Google Inc. All rights reserved.
|
| -// https://developers.google.com/protocol-buffers/
|
| +// http://code.google.com/p/protobuf/
|
| //
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| @@ -28,15 +28,16 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -// Author: jieluo@google.com (Jie Luo)
|
| +// Author: kenton@google.com (Kenton Varda)
|
| +//
|
| +// Tests that a "lite" message can import a regular message.
|
|
|
| -syntax = "proto3";
|
| +package protobuf_unittest;
|
|
|
| -package google.protobuf.internal;
|
| +import "google/protobuf/unittest.proto";
|
|
|
| -import "google/protobuf/any.proto";
|
| +option optimize_for = LITE_RUNTIME;
|
|
|
| -message TestAny {
|
| - google.protobuf.Any value = 1;
|
| - int32 int_value = 2;
|
| +message TestLiteImportsNonlite {
|
| + optional TestAllTypes message = 1;
|
| }
|
|
|