From baf52bd79e80b019370a1bfda70e46ff6a692e2b Mon Sep 17 00:00:00 2001 From: Chad Whipkey Date: Fri, 15 Apr 2016 09:23:50 -0700 Subject: Change protobuf CPP proto generator to support the 'lite' option in proto3. Added a couple unit test proto3 files, for arena_lite and lite. Cloned the proto3_arena_unittest to test some of the basics of generated code (and to ensure that the generated proto3 test files are used by some test). --- BUILD | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'BUILD') diff --git a/BUILD b/BUILD index 1615486f..09d917b7 100644 --- a/BUILD +++ b/BUILD @@ -376,6 +376,8 @@ RELATIVE_TEST_PROTOS = [ "google/protobuf/unittest_preserve_unknown_enum.proto", "google/protobuf/unittest_preserve_unknown_enum2.proto", "google/protobuf/unittest_proto3_arena.proto", + "google/protobuf/unittest_proto3_arena_lite.proto", + "google/protobuf/unittest_proto3_lite.proto", "google/protobuf/unittest_well_known_types.proto", "google/protobuf/util/internal/testdata/anys.proto", "google/protobuf/util/internal/testdata/books.proto", @@ -461,6 +463,8 @@ cc_test( "src/google/protobuf/no_field_presence_test.cc", "src/google/protobuf/preserve_unknown_enum_test.cc", "src/google/protobuf/proto3_arena_unittest.cc", + "src/google/protobuf/proto3_arena_lite_unittest.cc", + "src/google/protobuf/proto3_lite_unittest.cc", "src/google/protobuf/reflection_ops_unittest.cc", "src/google/protobuf/repeated_field_reflection_unittest.cc", "src/google/protobuf/repeated_field_unittest.cc", -- cgit v1.2.3