Skip to content

Commit 569bb0b

Browse files
committed
bazel: cleanup BUILD.bazel
1 parent 3a640d0 commit 569bb0b

21 files changed

Lines changed: 63 additions & 80 deletions

File tree

.allstar/BUILD.bazel

Lines changed: 0 additions & 17 deletions
This file was deleted.

examples/cpp/BUILD.bazel

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ cc_binary(
3333
"@abseil-cpp//absl/container:btree",
3434
"@abseil-cpp//absl/flags:flag",
3535
"@abseil-cpp//absl/strings",
36-
"@protobuf//:protobuf",
36+
"@protobuf",
3737
],
3838
)
3939

@@ -52,7 +52,7 @@ cc_test(
5252
"//ortools/packing:multiple_dimensions_bin_packing_cc_proto",
5353
"//ortools/sat:cp_model",
5454
"@abseil-cpp//absl/flags:flag",
55-
"@protobuf//:protobuf",
55+
"@protobuf",
5656
],
5757
)
5858

@@ -200,7 +200,7 @@ cc_binary(
200200
"@abseil-cpp//absl/flags:flag",
201201
"@abseil-cpp//absl/flags:parse",
202202
"@abseil-cpp//absl/strings:str_format",
203-
"@protobuf//:protobuf",
203+
"@protobuf",
204204
],
205205
)
206206

@@ -216,7 +216,7 @@ cc_test(
216216
"@abseil-cpp//absl/flags:flag",
217217
"@abseil-cpp//absl/flags:parse",
218218
"@abseil-cpp//absl/strings:str_format",
219-
"@protobuf//:protobuf",
219+
"@protobuf",
220220
],
221221
)
222222

@@ -232,7 +232,7 @@ cc_binary(
232232
"//ortools/sat:cp_model",
233233
"//ortools/sat:cp_model_solver",
234234
"@abseil-cpp//absl/flags:flag",
235-
"@protobuf//:protobuf",
235+
"@protobuf",
236236
],
237237
)
238238

@@ -250,7 +250,7 @@ cc_test(
250250
"//ortools/packing:multiple_dimensions_bin_packing_cc_proto",
251251
"//ortools/sat:cp_model",
252252
"@abseil-cpp//absl/flags:flag",
253-
"@protobuf//:protobuf",
253+
"@protobuf",
254254
],
255255
)
256256

@@ -405,7 +405,7 @@ cc_binary(
405405
"//ortools/util:filelineiter",
406406
"@abseil-cpp//absl/flags:flag",
407407
"@abseil-cpp//absl/strings",
408-
"@protobuf//:protobuf",
408+
"@protobuf",
409409
],
410410
)
411411

@@ -433,7 +433,7 @@ cc_test(
433433
"//ortools/util:filelineiter",
434434
"@abseil-cpp//absl/flags:flag",
435435
"@abseil-cpp//absl/strings",
436-
"@protobuf//:protobuf",
436+
"@protobuf",
437437
],
438438
)
439439

@@ -607,7 +607,7 @@ cc_binary(
607607
"//ortools/constraint_solver:routing",
608608
"//ortools/util:random_engine",
609609
"@abseil-cpp//absl/strings",
610-
"@protobuf//:protobuf",
610+
"@protobuf",
611611
],
612612
)
613613

@@ -623,7 +623,7 @@ cc_binary(
623623
"@abseil-cpp//absl/flags:flag",
624624
"@abseil-cpp//absl/strings",
625625
"@abseil-cpp//absl/strings:str_format",
626-
"@protobuf//:protobuf",
626+
"@protobuf",
627627
],
628628
)
629629

@@ -766,7 +766,7 @@ cc_binary(
766766
"@abseil-cpp//absl/status",
767767
"@abseil-cpp//absl/strings",
768768
"@abseil-cpp//absl/strings:str_format",
769-
"@protobuf//:protobuf",
769+
"@protobuf",
770770
],
771771
)
772772

@@ -787,7 +787,7 @@ cc_test(
787787
"@abseil-cpp//absl/status",
788788
"@abseil-cpp//absl/strings",
789789
"@abseil-cpp//absl/strings:str_format",
790-
"@protobuf//:protobuf",
790+
"@protobuf",
791791
],
792792
)
793793

@@ -943,7 +943,7 @@ cc_binary(
943943
"//ortools/util:qap_reader",
944944
"@abseil-cpp//absl/flags:flag",
945945
"@abseil-cpp//absl/strings",
946-
"@protobuf//:protobuf",
946+
"@protobuf",
947947
],
948948
)
949949

@@ -977,7 +977,7 @@ cc_binary(
977977
"@abseil-cpp//absl/flags:flag",
978978
"@abseil-cpp//absl/flags:parse",
979979
"@abseil-cpp//absl/random",
980-
"@protobuf//:protobuf",
980+
"@protobuf",
981981
],
982982
)
983983

ortools/algorithms/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ cc_library(
141141
"@abseil-cpp//absl/random",
142142
"@abseil-cpp//absl/random:distributions",
143143
"@abseil-cpp//absl/types:span",
144-
"@protobuf//:protobuf",
144+
"@protobuf",
145145
],
146146
)
147147

ortools/base/BUILD.bazel

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ cc_library(
253253
"@abseil-cpp//absl/status",
254254
"@abseil-cpp//absl/strings",
255255
"@bzip2//:bz2",
256-
"@protobuf//:protobuf",
256+
"@protobuf",
257257
"@zlib",
258258
],
259259
)
@@ -267,7 +267,7 @@ cc_library(
267267
"@fuzztest//fuzztest",
268268
"@fuzztest//fuzztest:googletest_fixture_adapter",
269269
"@fuzztest//fuzztest:init_fuzztest",
270-
"@protobuf//:protobuf",
270+
"@protobuf",
271271
],
272272
)
273273

@@ -424,7 +424,7 @@ cc_library(
424424
deps = [
425425
"@abseil-cpp//absl/strings",
426426
"@googletest//:gtest",
427-
"@protobuf//:protobuf",
427+
"@protobuf",
428428
],
429429
)
430430

@@ -459,7 +459,7 @@ cc_library(
459459
hdrs = ["parse_text_proto.h"],
460460
deps = [
461461
"@abseil-cpp//absl/log:check",
462-
"@protobuf//:protobuf",
462+
"@protobuf",
463463
],
464464
)
465465

@@ -469,7 +469,7 @@ cc_library(
469469
deps = [
470470
":gmock",
471471
"@abseil-cpp//absl/log:check",
472-
"@protobuf//:protobuf",
472+
"@protobuf",
473473
],
474474
)
475475

@@ -495,7 +495,7 @@ cc_library(
495495
":timer",
496496
"@abseil-cpp//absl/status",
497497
"@abseil-cpp//absl/status:statusor",
498-
"@protobuf//:protobuf",
498+
"@protobuf",
499499
],
500500
)
501501

@@ -504,7 +504,7 @@ cc_library(
504504
hdrs = ["proto_enum_utils.h"],
505505
deps = [
506506
"@abseil-cpp//absl/types:span",
507-
"@protobuf//:protobuf",
507+
"@protobuf",
508508
],
509509
)
510510

@@ -523,7 +523,7 @@ cc_library(
523523
":logging",
524524
"@abseil-cpp//absl/status:statusor",
525525
"@abseil-cpp//absl/strings",
526-
"@protobuf//:protobuf",
526+
"@protobuf",
527527
"@zlib",
528528
],
529529
)

ortools/bop/BUILD.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ cc_library(
119119
"//ortools/util:stats",
120120
"//ortools/util:time_limit",
121121
"@abseil-cpp//absl/random",
122-
"@protobuf//:protobuf",
122+
"@protobuf",
123123
],
124124
)
125125

@@ -149,7 +149,7 @@ cc_library(
149149
"//ortools/util:time_limit",
150150
"@abseil-cpp//absl/random",
151151
"@abseil-cpp//absl/cleanup",
152-
"@protobuf//:protobuf",
152+
"@protobuf",
153153
],
154154
)
155155

@@ -258,7 +258,7 @@ cc_library(
258258
"//ortools/base:threadpool",
259259
"//ortools/util:bitset",
260260
"//ortools/util:time_limit",
261-
"@protobuf//:protobuf",
261+
"@protobuf",
262262
"//ortools/util:stats",
263263
],
264264
)
@@ -291,6 +291,6 @@ cc_library(
291291
"//ortools/util:bitset",
292292
"//ortools/util:stats",
293293
"//ortools/util:time_limit",
294-
"@protobuf//:protobuf",
294+
"@protobuf",
295295
],
296296
)

ortools/graph/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ cc_test(
467467
"//ortools/base:gmock_main",
468468
"//ortools/base:path",
469469
"//ortools/util:file_util",
470-
"@protobuf//:protobuf",
470+
"@protobuf",
471471
],
472472
)
473473

ortools/linear_solver/proto_solver/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cc_library(
2020
deps = [
2121
"//ortools/port:proto_utils",
2222
"@abseil-cpp//absl/log:check",
23-
"@protobuf//:protobuf",
23+
"@protobuf",
2424
],
2525
)
2626

ortools/lp_data/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ cc_library(
250250
"//ortools/linear_solver:linear_solver_cc_proto",
251251
"@abseil-cpp//absl/status:statusor",
252252
"@abseil-cpp//absl/strings",
253-
"@re2//:re2",
253+
"@re2",
254254
],
255255
)
256256

ortools/math_opt/core/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ cc_library(
5151
"//ortools/math_opt:sparse_containers_cc_proto",
5252
"@abseil-cpp//absl/container:flat_hash_map",
5353
"@abseil-cpp//absl/types:span",
54-
"@protobuf//:protobuf",
54+
"@protobuf",
5555
],
5656
)
5757

@@ -228,7 +228,7 @@ cc_library(
228228
"@abseil-cpp//absl/algorithm:container",
229229
"@abseil-cpp//absl/container:flat_hash_map",
230230
"@abseil-cpp//absl/container:flat_hash_set",
231-
"@protobuf//:protobuf",
231+
"@protobuf",
232232
],
233233
)
234234

ortools/math_opt/cpp/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ cc_library(
6363
"@abseil-cpp//absl/status",
6464
"@abseil-cpp//absl/status:statusor",
6565
"@abseil-cpp//absl/types:span",
66-
"@protobuf//:protobuf",
66+
"@protobuf",
6767
],
6868
)
6969

@@ -296,7 +296,7 @@ cc_library(
296296
"@abseil-cpp//absl/status",
297297
"@abseil-cpp//absl/status:statusor",
298298
"@abseil-cpp//absl/time",
299-
"@protobuf//:protobuf",
299+
"@protobuf",
300300
],
301301
)
302302

@@ -326,7 +326,7 @@ cc_library(
326326
"@abseil-cpp//absl/strings",
327327
"@abseil-cpp//absl/synchronization",
328328
"@abseil-cpp//absl/types:span",
329-
"@protobuf//:protobuf",
329+
"@protobuf",
330330
],
331331
)
332332

0 commit comments

Comments
 (0)