base: backport from main

This commit is contained in:
Corentin Le Molgat
2024-03-25 11:22:45 +01:00
parent bd97b225bd
commit 48ace85e13
2 changed files with 6 additions and 13 deletions

View File

@@ -195,9 +195,13 @@ cc_library(
cc_library(
name = "file",
srcs = ["file.cc"],
srcs = [
"file.cc",
"filesystem.cc",
],
hdrs = [
"file.h",
"filesystem.h",
"helpers.h",
"options.h",
],
@@ -211,17 +215,6 @@ cc_library(
],
)
cc_library(
name = "filesystem",
srcs = ["filesystem.cc"],
hdrs = ["filesystem.h"],
deps = [
":file",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
],
)
cc_library(
name = "status_matchers",
hdrs = ["status_matchers.h"],

View File

@@ -14,7 +14,7 @@
#include "ortools/base/filesystem.h"
#include <filesystem> // NOLINT(build/c++17)
#include <regex> // NOLINT
#include <regex> // NOLINT
#include "absl/status/status.h"
#include "absl/strings/str_replace.h"