Fix
* Re-introduce it in base/ BUILD.bazel * Add explicit deps in every target using it
This commit is contained in:
@@ -70,7 +70,6 @@ cc_library(
|
||||
"commandlineflags.h",
|
||||
"init_google.h",
|
||||
"stl_logging.h",
|
||||
"string_view_migration.h",
|
||||
"types.h",
|
||||
"version.h",
|
||||
],
|
||||
@@ -568,6 +567,12 @@ cc_library(
|
||||
deps = [":base"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "string_view_migration",
|
||||
hdrs = ["string_view_migration.h"],
|
||||
deps = ["@abseil-cpp//absl/strings"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "strong_int",
|
||||
hdrs = ["strong_int.h"],
|
||||
|
||||
@@ -37,6 +37,7 @@ cc_library(
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//ortools/base:file",
|
||||
"//ortools/base:string_view_migration",
|
||||
"//ortools/linear_solver:linear_solver_cc_proto",
|
||||
"//ortools/linear_solver:model_exporter",
|
||||
"//ortools/linear_solver:solve_mp_model",
|
||||
|
||||
@@ -64,6 +64,7 @@ cc_library(
|
||||
"//ortools/base:status_macros",
|
||||
"//ortools/math_opt:model_cc_proto",
|
||||
"//ortools/math_opt:model_update_cc_proto",
|
||||
"//ortools/base:string_view_migration",
|
||||
"@abseil-cpp//absl/algorithm:container",
|
||||
"@abseil-cpp//absl/container:flat_hash_map",
|
||||
"@abseil-cpp//absl/log:check",
|
||||
|
||||
@@ -196,6 +196,7 @@ cc_library(
|
||||
":variable_and_expressions",
|
||||
"//ortools/base:protoutil",
|
||||
"//ortools/base:status_macros",
|
||||
"//ortools/base:string_view_migration",
|
||||
"//ortools/gscip:gscip_cc_proto",
|
||||
"//ortools/math_opt:result_cc_proto",
|
||||
"//ortools/math_opt:solution_cc_proto",
|
||||
@@ -386,6 +387,7 @@ cc_library(
|
||||
srcs = ["streamable_solver_init_arguments.cc"],
|
||||
hdrs = ["streamable_solver_init_arguments.h"],
|
||||
deps = [
|
||||
"//ortools/base:string_view_migration",
|
||||
"//ortools/math_opt:parameters_cc_proto",
|
||||
"//ortools/math_opt/solvers:gurobi_cc_proto",
|
||||
"@abseil-cpp//absl/status:statusor",
|
||||
|
||||
@@ -62,6 +62,7 @@ cc_library(
|
||||
":symmetry",
|
||||
":thread_safe_id_map",
|
||||
"//ortools/base:status_macros",
|
||||
"//ortools/base:string_view_migration",
|
||||
"//ortools/math_opt:model_cc_proto",
|
||||
"//ortools/math_opt:model_update_cc_proto",
|
||||
"//ortools/math_opt:sparse_containers_cc_proto",
|
||||
|
||||
@@ -33,6 +33,7 @@ cc_library(
|
||||
":model",
|
||||
":sat_parameters_cc_proto",
|
||||
"//ortools/util:sorted_interval_list",
|
||||
"//ortools/base:string_view_migration",
|
||||
"@abseil-cpp//absl/container:flat_hash_map",
|
||||
"@abseil-cpp//absl/log:check",
|
||||
"@abseil-cpp//absl/strings",
|
||||
|
||||
@@ -89,6 +89,7 @@ pybind_extension(
|
||||
":linear_expr",
|
||||
":linear_expr_doc",
|
||||
":proto_builder_pybind11",
|
||||
"//ortools/base:string_view_migration",
|
||||
"//ortools/sat:cp_model_cc_proto",
|
||||
"//ortools/sat:cp_model_utils",
|
||||
"//ortools/sat:sat_parameters_cc_proto",
|
||||
|
||||
Reference in New Issue
Block a user