diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2017-10-18 14:31:23 -0700 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2017-10-18 14:31:23 -0700 |
commit | 1c682e0b0b33dd5982b2fb78c2f97005dd378b5d (patch) | |
tree | 6aeaa9e0fd47519ea950a00f2551a53af4cc694c | |
parent | ecf29571061337e6fbd70283f0a6ad0202e94b24 (diff) | |
download | protobuf-1c682e0b0b33dd5982b2fb78c2f97005dd378b5d.tar.gz protobuf-1c682e0b0b33dd5982b2fb78c2f97005dd378b5d.tar.bz2 protobuf-1c682e0b0b33dd5982b2fb78c2f97005dd378b5d.zip |
Fix bazel build
-rw-r--r-- | BUILD | 1 | ||||
-rw-r--r-- | src/google/protobuf/stubs/io_win32_unittest.cc | 6 |
2 files changed, 3 insertions, 4 deletions
@@ -541,6 +541,7 @@ cc_test( "src/google/protobuf/any_test.cc", "src/google/protobuf/arena_unittest.cc", "src/google/protobuf/arenastring_unittest.cc", + "src/google/protobuf/compiler/annotation_test_util.cc", "src/google/protobuf/compiler/command_line_interface_unittest.cc", "src/google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc", "src/google/protobuf/compiler/cpp/cpp_move_unittest.cc", diff --git a/src/google/protobuf/stubs/io_win32_unittest.cc b/src/google/protobuf/stubs/io_win32_unittest.cc index 3ef6c75d..288f27ab 100644 --- a/src/google/protobuf/stubs/io_win32_unittest.cc +++ b/src/google/protobuf/stubs/io_win32_unittest.cc @@ -123,8 +123,7 @@ void IoWin32Test::SetUp() { // "\\?\" prefix (except on Windows 10 version 1607 and beyond, after // opting in to long paths by default [1]). // - // [1] https://msdn.microsoft.com/en-us/library/windows/ \ - // desktop/aa365247(v=vs.85).aspx#maxpath + // [1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath DWORD result = ::GetCurrentDirectoryA(MAX_PATH, buffer); if (result > 0) { test_tmpdir = string(buffer); @@ -142,8 +141,7 @@ void IoWin32Test::SetUp() { test_tmpdir += "\\io_win32_unittest.tmp"; // CreateDirectoryA's limit is 248 chars, see MSDN. - // https://msdn.microsoft.com/en-us/library/windows/ \ - // desktop/aa363855(v=vs.85).aspx + // https://msdn.microsoft.com/en-us/library/windows/desktop/aa363855(v=vs.85).aspx wtest_tmpdir = testonly_path_to_winpath(test_tmpdir); if (!DeleteAllUnder(wtest_tmpdir) || !CreateAllUnder(wtest_tmpdir)) { GOOGLE_CHECK_OK(false); |