Skip to content

Commit

Permalink
sat: rework go_proto_library()
Browse files Browse the repository at this point in the history
to be in sync with google3
  • Loading branch information
Mizux committed Sep 18, 2024
1 parent 652a8d6 commit a714f05
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions ortools/sat/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@ cc_proto_library(
deps = [":sat_parameters_proto"],
)

go_proto_library(
name = "sat_parameters_go_proto",
proto = ":sat_parameters_proto",
importpath = "github.com/google/or-tools/ortools/sat/proto/satparameters"
)

py_proto_library(
name = "sat_parameters_py_pb2",
deps = [":sat_parameters_proto"],
Expand All @@ -78,6 +72,12 @@ java_proto_library(
deps = [":sat_parameters_proto"],
)

go_proto_library(
name = "sat_parameters_go_proto",
proto = ":sat_parameters_proto",
importpath = "github.com/google/or-tools/ortools/sat/proto/satparameters",
)

proto_library(
name = "cp_model_proto",
srcs = ["cp_model.proto"],
Expand All @@ -88,12 +88,6 @@ cc_proto_library(
deps = [":cp_model_proto"],
)

go_proto_library(
name = "cp_model_go_proto",
importpath = "github.com/google/or-tools/ortools/sat/proto/cpmodel",
proto = ":cp_model_proto",
)

py_proto_library(
name = "cp_model_py_pb2",
deps = [":cp_model_proto"],
Expand All @@ -104,6 +98,12 @@ java_proto_library(
deps = [":cp_model_proto"],
)

go_proto_library(
name = "cp_model_go_proto",
proto = ":cp_model_proto",
importpath = "github.com/google/or-tools/ortools/sat/proto/cpmodel",
)

cc_library(
name = "cp_model_utils",
srcs = ["cp_model_utils.cc"],
Expand Down

0 comments on commit a714f05

Please sign in to comment.