port: cleanup

This commit is contained in:
Corentin Le Molgat
2024-02-15 19:51:31 +01:00
parent 34a524913d
commit d7a253ea68
2 changed files with 24 additions and 22 deletions

View File

@@ -13,15 +13,6 @@
package(default_visibility = ["//visibility:public"])
cc_library(
name = "utf8",
hdrs = ["utf8.h"],
deps = [
"//ortools/base",
"//ortools/base:encodingutils",
],
)
cc_library(
name = "sysinfo",
srcs = ["sysinfo.cc"],
@@ -32,6 +23,28 @@ cc_library(
],
)
cc_library(
name = "proto_utils",
hdrs = [
"proto_utils.h",
],
deps = [
"//ortools/base",
"//ortools/util:parse_proto",
"@com_google_absl//absl/strings",
"@com_google_protobuf//:protobuf",
],
)
cc_library(
name = "utf8",
hdrs = ["utf8.h"],
deps = [
"//ortools/base",
"//ortools/base:encodingutils",
],
)
cc_library(
name = "file",
srcs = [
@@ -48,16 +61,3 @@ cc_library(
"@com_google_absl//absl/time",
],
)
cc_library(
name = "proto_utils",
hdrs = [
"proto_utils.h",
],
deps = [
"//ortools/base",
"//ortools/util:parse_proto",
"@com_google_absl//absl/strings",
"@com_google_protobuf//:protobuf",
],
)

View File

@@ -12,6 +12,8 @@
# limitations under the License.
file(GLOB _SRCS "*.h" "*.cc")
list(FILTER _SRCS EXCLUDE REGEX "/[^/]*_test\\.cc$")
set(NAME ${PROJECT_NAME}_port)
# Will be merge in libortools.so