Skip to content

Commit cd0af76

Browse files
xavierdfacebook-github-bot
authored andcommitted
utils: compile ProcessAccessLog and ProcessNameCache on Windows
Summary: Even though these might not be fully ported on Windows, they do compile and tests are passing, so let's compile them. Reviewed By: chadaustin Differential Revision: D23505509 fbshipit-source-id: 567e8668ca489daf89c1c6576973bbaaabbb6c88
1 parent a5c85ec commit cd0af76

File tree

4 files changed

+1
-5
lines changed

4 files changed

+1
-5
lines changed

eden/fs/utils/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ if (WIN32)
1111
${CMAKE_CURRENT_SOURCE_DIR}/CoverageSet.cpp
1212
${CMAKE_CURRENT_SOURCE_DIR}/FutureUnixSocket.cpp
1313
${CMAKE_CURRENT_SOURCE_DIR}/IoFuture.cpp
14-
${CMAKE_CURRENT_SOURCE_DIR}/ProcessAccessLog.cpp
15-
${CMAKE_CURRENT_SOURCE_DIR}/ProcessNameCache.cpp
1614
${CMAKE_CURRENT_SOURCE_DIR}/SSLContext.cpp
1715
${CMAKE_CURRENT_SOURCE_DIR}/Thread.cpp
1816
${CMAKE_CURRENT_SOURCE_DIR}/UnixSocket.cpp

eden/fs/utils/ProcessNameCache.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <sys/types.h>
1515
#include <chrono>
1616
#include <map>
17+
#include <optional>
1718
#include <string>
1819
#include <vector>
1920

eden/fs/utils/test/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ if (WIN32)
1010
${CMAKE_CURRENT_SOURCE_DIR}/CoverageSetTest.cpp
1111
${CMAKE_CURRENT_SOURCE_DIR}/IoFutureTest.cpp
1212
${CMAKE_CURRENT_SOURCE_DIR}/MappedDiskVectorTest.cpp
13-
${CMAKE_CURRENT_SOURCE_DIR}/ProcessAccessLogTest.cpp
14-
${CMAKE_CURRENT_SOURCE_DIR}/ProcessNameCacheTest.cpp
1513
${CMAKE_CURRENT_SOURCE_DIR}/ProcUtilTest.cpp
1614
${CMAKE_CURRENT_SOURCE_DIR}/UnixSocketTest.cpp
1715
)

eden/fs/utils/test/ProcessAccessLogTest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <gmock/gmock.h>
99
#include <gtest/gtest.h>
1010
#include <sys/types.h>
11-
#include <unistd.h>
1211
#include <utility>
1312

1413
#include "eden/fs/utils/ProcessAccessLog.h"

0 commit comments

Comments
 (0)