|
@@ -107,10 +107,10 @@ LINK_OPTS = select({
|
|
|
load(
|
|
|
":protobuf.bzl",
|
|
|
"cc_proto_library",
|
|
|
- "py_proto_library",
|
|
|
"internal_copied_filegroup",
|
|
|
"internal_gen_well_known_protos_java",
|
|
|
"internal_protobuf_py_tests",
|
|
|
+ "py_proto_library",
|
|
|
)
|
|
|
|
|
|
cc_library(
|
|
@@ -515,6 +515,7 @@ cc_proto_library(
|
|
|
COMMON_TEST_SRCS = [
|
|
|
# AUTOGEN(common_test_srcs)
|
|
|
"src/google/protobuf/arena_test_util.cc",
|
|
|
+ "src/google/protobuf/map_test_util.inc",
|
|
|
"src/google/protobuf/test_util.cc",
|
|
|
"src/google/protobuf/test_util.inc",
|
|
|
"src/google/protobuf/testing/file.cc",
|
|
@@ -627,7 +628,7 @@ cc_test(
|
|
|
"src/google/protobuf/wire_format_unittest.cc",
|
|
|
] + select({
|
|
|
"//conditions:default": [
|
|
|
- # Doesn't pass on Windows with MSVC
|
|
|
+ # AUTOGEN(non_msvc_test_srcs)
|
|
|
"src/google/protobuf/compiler/command_line_interface_unittest.cc",
|
|
|
],
|
|
|
":msvc": [],
|
|
@@ -1238,3 +1239,20 @@ cc_binary(
|
|
|
":text_format_conformance_suite",
|
|
|
],
|
|
|
)
|
|
|
+
|
|
|
+sh_test(
|
|
|
+ name = "build_files_updated_unittest",
|
|
|
+ srcs = [
|
|
|
+ "build_files_updated_unittest.sh",
|
|
|
+ ],
|
|
|
+ data = [
|
|
|
+ "BUILD",
|
|
|
+ "cmake/extract_includes.bat.in",
|
|
|
+ "cmake/libprotobuf.cmake",
|
|
|
+ "cmake/libprotobuf-lite.cmake",
|
|
|
+ "cmake/libprotoc.cmake",
|
|
|
+ "cmake/tests.cmake",
|
|
|
+ "src/Makefile.am",
|
|
|
+ "update_file_lists.sh",
|
|
|
+ ],
|
|
|
+)
|