mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
added empty line at the end of files (was removed by clang-format)
This commit is contained in:
parent
c63302f731
commit
f038f7aa3f
|
@ -20,7 +20,8 @@ set(CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED 17)
|
set(CMAKE_CXX_STANDARD_REQUIRED 17)
|
||||||
|
|
||||||
# Build SAPI library
|
# Build SAPI library
|
||||||
set(SAPI_ROOT "" CACHE PATH "Path to the Sandboxed API source tree")
|
#set(SAPI_ROOT "" CACHE PATH "Path to the Sandboxed API source tree")
|
||||||
|
set(SAPI_ROOT "/usr/local/google/home/amedar/internship/sandboxed-api" CACHE PATH "Path to the Sandboxed API source tree")
|
||||||
|
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
|
@ -57,3 +58,4 @@ target_include_directories(libarchive_sapi INTERFACE
|
||||||
|
|
||||||
add_subdirectory(examples)
|
add_subdirectory(examples)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
|
|
||||||
|
|
|
@ -45,3 +45,4 @@ The available options are:
|
||||||
- *z* - Compress with GZIP.
|
- *z* - Compress with GZIP.
|
||||||
|
|
||||||
If no compression method is chosen (in the case of archive creation) the files will only be stored.
|
If no compression method is chosen (in the case of archive creation) the files will only be stored.
|
||||||
|
|
||||||
|
|
|
@ -40,3 +40,4 @@ add_executable(sapi_minitar
|
||||||
target_link_libraries(sapi_minitar PRIVATE
|
target_link_libraries(sapi_minitar PRIVATE
|
||||||
sapi_minitar_lib
|
sapi_minitar_lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -145,3 +145,4 @@ class SapiLibarchiveSandboxExtract : public LibarchiveSandbox {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SAPI_LIBARCHIVE_EXAMPLES_SANDBOX_H
|
#endif // SAPI_LIBARCHIVE_EXAMPLES_SANDBOX_H
|
||||||
|
|
||||||
|
|
|
@ -544,3 +544,4 @@ absl::StatusOr<std::string> CreateTempDirAtCWD() {
|
||||||
SAPI_ASSIGN_OR_RETURN(std::string result, sandbox2::CreateTempDir(cwd));
|
SAPI_ASSIGN_OR_RETURN(std::string result, sandbox2::CreateTempDir(cwd));
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,3 +61,4 @@ absl::StatusOr<std::string> CheckStatusAndGetString(
|
||||||
absl::StatusOr<std::string> CreateTempDirAtCWD();
|
absl::StatusOr<std::string> CreateTempDirAtCWD();
|
||||||
|
|
||||||
#endif // SAPI_LIBARCHIVE_EXAMPLES_MINITAR_H
|
#endif // SAPI_LIBARCHIVE_EXAMPLES_MINITAR_H
|
||||||
|
|
||||||
|
|
|
@ -128,3 +128,4 @@ int main(int unused_argc, const char** argv) {
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,3 +26,4 @@ target_link_libraries(sapi_minitar_test PRIVATE
|
||||||
)
|
)
|
||||||
|
|
||||||
gtest_discover_tests(sapi_minitar_test)
|
gtest_discover_tests(sapi_minitar_test)
|
||||||
|
|
||||||
|
|
|
@ -305,3 +305,4 @@ TEST_F(MiniTarTest, TestPaths) {
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user