Files
ortools-clone/ortools/port/BUILD.bazel
2025-09-22 18:05:44 +02:00

64 lines
1.6 KiB
Python

# Copyright 2010-2025 Google LLC
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("@rules_cc//cc:cc_library.bzl", "cc_library")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "os",
hdrs = ["os.h"],
)
cc_library(
name = "sysinfo",
srcs = ["sysinfo.cc"],
hdrs = ["sysinfo.h"],
deps = [
"//ortools/base:sysinfo",
"//ortools/base:types",
],
)
cc_library(
name = "proto_utils",
srcs = ["proto_utils.cc"],
hdrs = ["proto_utils.h"],
deps = [
"//ortools/util:parse_proto",
"@abseil-cpp//absl/base:core_headers",
"@abseil-cpp//absl/log",
"@abseil-cpp//absl/strings",
"@protobuf",
],
)
cc_library(
name = "file",
srcs = ["file.cc"],
hdrs = ["file.h"],
deps = [
"//ortools/base",
"//ortools/base:file",
"//ortools/base:status_macros",
"@abseil-cpp//absl/status",
"@abseil-cpp//absl/strings",
],
)
cc_library(
name = "scoped_std_stream_capture",
testonly = True,
hdrs = ["scoped_std_stream_capture.h"],
)