Add .proto files to extract_includes.bat
For google/or-tools, on windows, we need to use `import "google/protobuf/wrappers.proto";` since we want "optional" int64 and in version3 POD get default value...
-> so we use "google.protobuf.Int64Value" since 0 is a valid value and different from "not set" for our use case.
diff --git a/update_file_lists.sh b/update_file_lists.sh
index a064d65..37aa996 100755
--- a/update_file_lists.sh
+++ b/update_file_lists.sh
@@ -139,6 +139,17 @@
WINPATH=$(echo $HEADER | sed 's;/;\\;g')
echo "copy \"\${PROTOBUF_SOURCE_WIN32_PATH}\\..\\src\\$WINPATH\" include\\$WINPATH" >> $EXTRACT_INCLUDES_BAT
done
+for PROTO in ${WKT_PROTOS}; do
+ PROTO_DIR=$(dirname "$PROTO")
+ while [ ! "$PROTO_DIR" = "." ]; do
+ echo "mkdir include\\${PROTO_DIR//\//\\}"
+ PROTO_DIR=$(dirname "$PROTO_DIR")
+ done
+done | sort | uniq >> $EXTRACT_INCLUDES_BAT
+for PROTO in $WKT_PROTOS; do
+ WINPATH=${PROTO//\//\\}
+ echo "copy \"\${PROTOBUF_SOURCE_WIN32_PATH}\\..\\src\\$WINPATH\" include\\$WINPATH" >> $EXTRACT_INCLUDES_BAT
+done
################################################################################
# Update bazel BUILD files.