diff --git a/build_files_updated_unittest.sh b/build_files_updated_unittest.sh index 95de01f22f..9c1f77a388 100755 --- a/build_files_updated_unittest.sh +++ b/build_files_updated_unittest.sh @@ -2,6 +2,8 @@ # This script verifies that BUILD files and cmake files are in sync with src/Makefile.am +set -euo pipefail + cp "BUILD" "BUILD.orginal" cp "cmake/extract_includes.bat.in" "cmake/extract_includes.bat.in.orginal" cp "cmake/libprotobuf-lite.cmake" "cmake/libprotobuf-lite.cmake.orginal" diff --git a/cmake/extract_includes.bat.in b/cmake/extract_includes.bat.in index ae264e57e1..007cc80669 100644 --- a/cmake/extract_includes.bat.in +++ b/cmake/extract_includes.bat.in @@ -56,6 +56,7 @@ copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\implicit_weak_message copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\inlined_string_field.h" include\google\protobuf\inlined_string_field.h copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\io\coded_stream.h" include\google\protobuf\io\coded_stream.h copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\io\gzip_stream.h" include\google\protobuf\io\gzip_stream.h +copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\io\io_win32.h" include\google\protobuf\io\io_win32.h copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\io\printer.h" include\google\protobuf\io\printer.h copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\io\strtod.h" include\google\protobuf\io\strtod.h copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\io\tokenizer.h" include\google\protobuf\io\tokenizer.h diff --git a/src/Makefile.am b/src/Makefile.am index ed862661e4..58c9cd88bd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -105,6 +105,7 @@ nobase_include_HEADERS = \ google/protobuf/has_bits.h \ google/protobuf/implicit_weak_message.h \ google/protobuf/inlined_string_field.h \ + google/protobuf/io/io_win32.h \ google/protobuf/map_entry.h \ google/protobuf/map_entry_lite.h \ google/protobuf/map_field.h \ @@ -184,7 +185,6 @@ libprotobuf_lite_la_SOURCES = \ google/protobuf/stubs/int128.cc \ google/protobuf/stubs/int128.h \ google/protobuf/io/io_win32.cc \ - google/protobuf/io/io_win32.h \ google/protobuf/stubs/map_util.h \ google/protobuf/stubs/mathutil.h \ google/protobuf/stubs/status.cc \