From 062fe77204084ea316462239b82ae730561f8885 Mon Sep 17 00:00:00 2001 From: Xiangquan Xiao Date: Tue, 14 Jan 2020 11:28:55 -0800 Subject: [PATCH] Bazel: Uniform gtest package name to com_google_googletest. --- WORKSPACE.in | 14 +++- cyber/base/BUILD | 14 ++-- cyber/blocker/BUILD | 4 +- cyber/class_loader/BUILD | 2 +- cyber/common/BUILD | 6 +- cyber/component/BUILD | 4 +- cyber/croutine/BUILD | 2 +- cyber/data/BUILD | 10 +-- cyber/io/BUILD | 2 +- cyber/logger/BUILD | 8 +-- cyber/message/BUILD | 8 +-- cyber/node/BUILD | 10 +-- cyber/parameter/BUILD | 6 +- cyber/py_wrapper/BUILD | 4 +- cyber/record/BUILD | 8 +-- cyber/scheduler/BUILD | 10 +-- cyber/service_discovery/BUILD | 16 ++--- cyber/sysmo/BUILD | 2 +- cyber/task/BUILD | 2 +- cyber/time/BUILD | 4 +- cyber/timer/BUILD | 2 +- cyber/transport/BUILD | 32 ++++----- modules/bridge/BUILD | 2 +- modules/bridge/common/BUILD | 4 +- modules/canbus/BUILD | 2 +- modules/canbus/vehicle/BUILD | 2 +- modules/canbus/vehicle/ch/BUILD | 6 +- modules/canbus/vehicle/ch/protocol/BUILD | 28 ++++---- modules/canbus/vehicle/ge3/BUILD | 6 +- modules/canbus/vehicle/ge3/protocol/BUILD | 32 ++++----- modules/canbus/vehicle/gem/BUILD | 6 +- modules/canbus/vehicle/gem/protocol/BUILD | 32 ++++----- modules/canbus/vehicle/lexus/BUILD | 2 +- modules/canbus/vehicle/lincoln/BUILD | 8 +-- modules/canbus/vehicle/lincoln/protocol/BUILD | 44 ++++++------ modules/canbus/vehicle/transit/BUILD | 4 +- modules/canbus/vehicle/transit/protocol/BUILD | 48 ++++++------- modules/canbus/vehicle/wey/BUILD | 6 +- modules/canbus/vehicle/wey/protocol/BUILD | 28 ++++---- modules/canbus/vehicle/zhongyun/BUILD | 6 +- .../canbus/vehicle/zhongyun/protocol/BUILD | 18 ++--- modules/common/configs/BUILD | 2 +- modules/common/filters/BUILD | 6 +- modules/common/kv_db/BUILD | 2 +- modules/common/math/BUILD | 36 +++++----- modules/common/math/qp_solver/BUILD | 2 +- modules/common/monitor_log/BUILD | 6 +- modules/common/status/BUILD | 2 +- modules/common/time/BUILD | 4 +- modules/common/util/BUILD | 14 ++-- modules/common/vehicle_model/BUILD | 2 +- modules/common/vehicle_state/BUILD | 2 +- modules/control/BUILD | 2 +- modules/control/common/BUILD | 18 ++--- modules/control/controller/BUILD | 6 +- modules/control/integration_tests/BUILD | 8 +-- .../backend/data_collection_monitor/BUILD | 4 +- modules/dreamview/backend/handlers/BUILD | 2 +- modules/dreamview/backend/hmi/BUILD | 4 +- modules/dreamview/backend/map/BUILD | 2 +- modules/dreamview/backend/sim_control/BUILD | 4 +- .../dreamview/backend/simulation_world/BUILD | 2 +- modules/dreamview/backend/teleop/BUILD | 2 +- modules/drivers/canbus/can_client/BUILD | 2 +- modules/drivers/canbus/can_client/esd/BUILD | 2 +- modules/drivers/canbus/can_client/fake/BUILD | 2 +- .../canbus/can_client/hermes_can/BUILD | 2 +- .../drivers/canbus/can_client/socket/BUILD | 2 +- modules/drivers/canbus/can_comm/BUILD | 10 +-- modules/drivers/canbus/common/BUILD | 2 +- modules/drivers/radar/racobit_radar/BUILD | 2 +- modules/drivers/radar/ultrasonic_radar/BUILD | 4 +- modules/drivers/tools/image_decompress/BUILD | 2 +- modules/localization/msf/BUILD | 4 +- modules/localization/msf/common/io/BUILD | 2 +- modules/localization/msf/common/util/BUILD | 8 +-- .../localization/msf/local_map/base_map/BUILD | 4 +- .../msf/local_map/lossless_map/BUILD | 4 +- .../msf/local_map/lossy_map/BUILD | 2 +- .../localization/msf/local_map/ndt_map/BUILD | 4 +- .../msf/local_pyramid_map/ndt_map/BUILD | 4 +- .../msf/local_pyramid_map/pyramid_map/BUILD | 12 ++-- modules/localization/ndt/BUILD | 4 +- modules/localization/ndt/ndt_locator/BUILD | 4 +- modules/localization/rtk/BUILD | 4 +- modules/map/hdmap/BUILD | 4 +- modules/map/pnc_map/BUILD | 10 +-- modules/map/relative_map/BUILD | 2 +- modules/monitor/common/BUILD | 2 +- modules/perception/base/BUILD | 26 +++---- modules/perception/base/test/BUILD | 2 +- modules/perception/camera/test/BUILD | 70 +++++++++---------- .../camera/tools/obstacle_detection/BUILD | 2 +- modules/perception/common/geometry/BUILD | 8 +-- modules/perception/common/graph/BUILD | 14 ++-- .../perception/common/image_processing/BUILD | 2 +- modules/perception/common/io/BUILD | 2 +- .../common/point_cloud_processing/BUILD | 2 +- .../perception/common/sensor_manager/BUILD | 2 +- modules/perception/fusion/base/BUILD | 10 +-- modules/perception/fusion/common/BUILD | 8 +-- .../hm_data_association/BUILD | 6 +- .../dst_existance_fusion/BUILD | 2 +- .../motion_fusion/kalman_motion_fusion/BUILD | 2 +- .../shape_fusion/pbf_shape_fusion/BUILD | 2 +- .../lib/data_fusion/tracker/pbf_tracker/BUILD | 2 +- .../type_fusion/dst_type_fusion/BUILD | 2 +- modules/perception/fusion/lib/dummy/BUILD | 2 +- .../fusion_system/probabilistic_fusion/BUILD | 2 +- .../lib/gatekeeper/pbf_gatekeeper/BUILD | 2 +- modules/perception/inference/BUILD | 6 +- modules/perception/inference/caffe/BUILD | 2 +- modules/perception/inference/operators/BUILD | 2 +- modules/perception/inference/tensorrt/BUILD | 10 +-- .../inference/tensorrt/plugins/BUILD | 4 +- modules/perception/inference/utils/BUILD | 4 +- modules/perception/lib/config_manager/BUILD | 2 +- modules/perception/lib/registerer/BUILD | 2 +- modules/perception/lib/thread/BUILD | 8 +-- modules/perception/lib/utils/BUILD | 4 +- modules/perception/lidar/app/BUILD | 2 +- modules/perception/lidar/common/BUILD | 2 +- .../lib/classifier/fused_classifier/BUILD | 2 +- modules/perception/lidar/lib/dummy/BUILD | 2 +- .../ground_service_detector/BUILD | 2 +- .../spatio_temporal_ground_detector/BUILD | 2 +- .../perception/lidar/lib/map_manager/BUILD | 2 +- .../lidar/lib/object_filter_bank/BUILD | 2 +- .../roi_boundary_filter/BUILD | 2 +- .../lib/roi_filter/hdmap_roi_filter/BUILD | 2 +- .../lib/roi_filter/roi_service_filter/BUILD | 2 +- .../perception/lidar/lib/scene_manager/BUILD | 2 +- .../lidar/lib/segmentation/cnnseg/BUILD | 4 +- .../lib/segmentation/cnnseg/spp_engine/BUILD | 2 +- modules/perception/map/hdmap/BUILD | 2 +- .../lib/detector/conti_ars_detector/BUILD | 2 +- modules/perception/radar/lib/dummy/BUILD | 2 +- modules/perception/radar/lib/interface/BUILD | 2 +- .../preprocessor/conti_ars_preprocessor/BUILD | 2 +- .../roi_filter/hdmap_radar_roi_filter/BUILD | 2 +- .../perception/radar/lib/tracker/common/BUILD | 4 +- .../radar/lib/tracker/conti_ars_tracker/BUILD | 4 +- .../perception/radar/lib/tracker/filter/BUILD | 2 +- .../radar/lib/tracker/matcher/BUILD | 2 +- modules/planning/common/BUILD | 22 +++--- modules/planning/common/path/BUILD | 4 +- modules/planning/common/speed/BUILD | 4 +- modules/planning/common/trajectory/BUILD | 4 +- modules/planning/integration_tests/BUILD | 2 +- modules/planning/math/BUILD | 2 +- modules/planning/math/curve1d/BUILD | 8 +-- modules/planning/math/smoothing_spline/BUILD | 20 +++--- modules/planning/navi/decider/BUILD | 2 +- .../coarse_trajectory_generator/BUILD | 6 +- .../open_space/trajectory_smoother/BUILD | 12 ++-- modules/planning/planner/BUILD | 4 +- modules/planning/planner/navi/BUILD | 2 +- modules/planning/planner/public_road/BUILD | 2 +- modules/planning/planner/rtk/BUILD | 2 +- modules/planning/reference_line/BUILD | 6 +- .../bare_intersection/unprotected/BUILD | 4 +- .../emergency/emergency_pull_over/BUILD | 8 +-- .../scenarios/emergency/emergency_stop/BUILD | 6 +- modules/planning/scenarios/lane_follow/BUILD | 2 +- .../scenarios/narrow_street_u_turn/BUILD | 2 +- .../planning/scenarios/park/pull_over/BUILD | 8 +-- .../scenarios/park/valet_parking/BUILD | 6 +- modules/planning/scenarios/park_and_go/BUILD | 4 +- .../scenarios/stop_sign/unprotected/BUILD | 8 +-- .../scenarios/traffic_light/protected/BUILD | 4 +- .../traffic_light/unprotected_left_turn/BUILD | 6 +- .../unprotected_right_turn/BUILD | 6 +- modules/planning/scenarios/yield_sign/BUILD | 6 +- .../tasks/deciders/creep_decider/BUILD | 2 +- .../tasks/deciders/open_space_decider/BUILD | 4 +- .../tasks/deciders/path_bounds_decider/BUILD | 2 +- .../tasks/deciders/path_reuse_decider/BUILD | 2 +- .../planning/tasks/deciders/rss_decider/BUILD | 2 +- .../tasks/deciders/speed_bounds_decider/BUILD | 2 +- .../open_space_trajectory_generation/BUILD | 4 +- .../open_space_trajectory_partition/BUILD | 2 +- .../optimizers/path_time_heuristic/BUILD | 2 +- modules/planning/tuning/BUILD | 4 +- modules/planning/tuning/speed_model/BUILD | 4 +- modules/prediction/common/BUILD | 16 ++--- modules/prediction/container/BUILD | 2 +- .../prediction/container/adc_trajectory/BUILD | 2 +- modules/prediction/container/obstacles/BUILD | 6 +- modules/prediction/container/pose/BUILD | 2 +- modules/prediction/evaluator/cyclist/BUILD | 2 +- modules/prediction/evaluator/pedestrian/BUILD | 2 +- modules/prediction/evaluator/vehicle/BUILD | 6 +- modules/prediction/network/BUILD | 4 +- modules/prediction/network/rnn_model/BUILD | 2 +- modules/prediction/predictor/empty/BUILD | 2 +- modules/prediction/predictor/free_move/BUILD | 2 +- modules/prediction/predictor/junction/BUILD | 2 +- modules/prediction/scenario/analyzer/BUILD | 2 +- .../scenario/scenario_features/BUILD | 2 +- modules/routing/graph/BUILD | 8 +-- modules/routing/topo_creator/BUILD | 2 +- .../integration_tests/BUILD | 2 +- modules/transform/BUILD | 2 +- modules/v2x/v2x_proxy/obu_interface/BUILD | 2 +- .../obu_interface/grpc_interface/BUILD | 4 +- modules/v2x/v2x_proxy/os_interface/BUILD | 2 +- third_party/gtest.BUILD | 2 +- 207 files changed, 625 insertions(+), 613 deletions(-) diff --git a/WORKSPACE.in b/WORKSPACE.in index 06a6ed09f82..f6a9e9df940 100644 --- a/WORKSPACE.in +++ b/WORKSPACE.in @@ -2,13 +2,25 @@ workspace(name = "apollo") # googletest (GTest and GMock) new_http_archive( - name = "gtest", + name = "com_google_googletest", build_file = "third_party/gtest.BUILD", sha256 = "58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8", strip_prefix = "googletest-release-1.8.0", url = "file:///home/tmp/googletest-release-1.8.0.tar.gz", ) +# TODO(xiaoxq): Alias to help migrate legacy code in other repos. Will remove +# very soon. +new_local_repository( + name = "gtest", + path = "/home/tmp", + build_file_content = """ +package(default_visibility = ["//visibility:public"]) +cc_library(name = "gtest", deps = ["@com_google_googletest//:gtest"]) +cc_library(name = "main", deps = ["@com_google_googletest//:gtest_main"]) + """, +) + # gflags new_local_repository( name = "com_github_gflags_gflags", diff --git a/cyber/base/BUILD b/cyber/base/BUILD index b0e99bcf7d3..5ed2056282f 100644 --- a/cyber/base/BUILD +++ b/cyber/base/BUILD @@ -33,7 +33,7 @@ cc_test( srcs = ["atomic_hash_map_test.cc"], deps = [ "//cyber/base:atomic_hash_map", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -52,7 +52,7 @@ cc_test( deps = [ "//cyber/base:atomic_rw_lock", "//cyber/base:reentrant_rw_lock", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -71,7 +71,7 @@ cc_test( srcs = ["bounded_queue_test.cc"], deps = [ "//cyber/base:bounded_queue", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -97,7 +97,7 @@ cc_test( srcs = ["for_each_test.cc"], deps = [ "//cyber/base:for_each", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -125,7 +125,7 @@ cc_test( deps = [ "//cyber/base:concurrent_object_pool", "//cyber/base:object_pool", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -150,7 +150,7 @@ cc_test( srcs = ["signal_test.cc"], deps = [ "//cyber/base:signal", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -175,7 +175,7 @@ cc_test( srcs = ["unbounded_queue_test.cc"], deps = [ "//cyber/base:unbounded_queue", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/blocker/BUILD b/cyber/blocker/BUILD index 32222dba773..d5d85dee682 100644 --- a/cyber/blocker/BUILD +++ b/cyber/blocker/BUILD @@ -18,7 +18,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -34,7 +34,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/class_loader/BUILD b/cyber/class_loader/BUILD index 3e5110d572d..b407fa9a70f 100644 --- a/cyber/class_loader/BUILD +++ b/cyber/class_loader/BUILD @@ -45,7 +45,7 @@ cc_test( "//cyber", "//cyber/class_loader/test:base", "//cyber/proto:unit_test_cc_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) diff --git a/cyber/common/BUILD b/cyber/common/BUILD index 89ec2f07c1a..e6d2abc7e7b 100644 --- a/cyber/common/BUILD +++ b/cyber/common/BUILD @@ -33,7 +33,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -52,7 +52,7 @@ cc_test( srcs = ["log_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -82,7 +82,7 @@ cc_test( srcs = ["macros_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/component/BUILD b/cyber/component/BUILD index d274420c4b2..afaa7d0c4fb 100644 --- a/cyber/component/BUILD +++ b/cyber/component/BUILD @@ -17,7 +17,7 @@ cc_test( srcs = ["component_test.cc"], deps = [ "//cyber", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -43,7 +43,7 @@ cc_test( srcs = ["timer_component_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/croutine/BUILD b/cyber/croutine/BUILD index b1073e1119b..b8106445266 100644 --- a/cyber/croutine/BUILD +++ b/cyber/croutine/BUILD @@ -62,7 +62,7 @@ cc_test( srcs = ["croutine_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/data/BUILD b/cyber/data/BUILD index a6f6ef60280..48117330e0a 100644 --- a/cyber/data/BUILD +++ b/cyber/data/BUILD @@ -27,7 +27,7 @@ cc_test( srcs = ["cache_buffer_test.cc"], deps = [ ":cache_buffer", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -59,7 +59,7 @@ cc_test( srcs = ["data_visitor_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -82,7 +82,7 @@ cc_test( srcs = ["data_dispatcher_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -92,7 +92,7 @@ cc_test( srcs = ["channel_buffer_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -116,7 +116,7 @@ cc_test( srcs = ["fusion/all_latest_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/io/BUILD b/cyber/io/BUILD index 1c5ecbe7926..0d6b0b20c04 100644 --- a/cyber/io/BUILD +++ b/cyber/io/BUILD @@ -50,7 +50,7 @@ cc_test( deps = [ ":poller", "//cyber:cyber_core", - "@gtest", + "@com_google_googletest//:gtest", ], ) diff --git a/cyber/logger/BUILD b/cyber/logger/BUILD index d0021b6466c..50c09301e32 100644 --- a/cyber/logger/BUILD +++ b/cyber/logger/BUILD @@ -18,7 +18,7 @@ cc_test( srcs = ["logger_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -39,7 +39,7 @@ cc_test( srcs = ["async_logger_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -60,7 +60,7 @@ cc_test( srcs = ["log_file_object_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -79,7 +79,7 @@ cc_test( srcs = ["logger_util_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/message/BUILD b/cyber/message/BUILD index ec038764420..0850776dc25 100644 --- a/cyber/message/BUILD +++ b/cyber/message/BUILD @@ -13,7 +13,7 @@ cc_test( srcs = ["message_header_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -36,7 +36,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -90,7 +90,7 @@ cc_test( srcs = ["raw_message_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -101,7 +101,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/node/BUILD b/cyber/node/BUILD index b214db84315..bf8797a280b 100644 --- a/cyber/node/BUILD +++ b/cyber/node/BUILD @@ -33,7 +33,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -57,7 +57,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -94,7 +94,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:unit_test_cc_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -127,7 +127,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:unit_test_cc_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -139,7 +139,7 @@ cc_test( "//cyber", "//cyber/node:writer_base", "//cyber/proto:unit_test_cc_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) diff --git a/cyber/parameter/BUILD b/cyber/parameter/BUILD index 60e5ff45a10..47aeb7286bb 100644 --- a/cyber/parameter/BUILD +++ b/cyber/parameter/BUILD @@ -18,7 +18,7 @@ cc_test( srcs = ["parameter_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -40,7 +40,7 @@ cc_test( srcs = ["parameter_client_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -63,7 +63,7 @@ cc_test( srcs = ["parameter_server_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/py_wrapper/BUILD b/cyber/py_wrapper/BUILD index cab88296ddb..b24d9615d1b 100644 --- a/cyber/py_wrapper/BUILD +++ b/cyber/py_wrapper/BUILD @@ -47,7 +47,7 @@ cc_test( deps = [ ":py3_cyber", "//cyber/proto:unit_test_cc_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -97,8 +97,8 @@ cc_test( ":py3_record", "//cyber:cyber_core", "//cyber/proto:unit_test_cc_proto", + "@com_google_googletest//:gtest_main", "@fastrtps", - "@gtest//:main", ], ) diff --git a/cyber/record/BUILD b/cyber/record/BUILD index 7ab1f735c0b..675bb76255a 100644 --- a/cyber/record/BUILD +++ b/cyber/record/BUILD @@ -59,7 +59,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:record_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -75,7 +75,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:record_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -119,7 +119,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:record_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -140,7 +140,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:record_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/scheduler/BUILD b/cyber/scheduler/BUILD index d01886f138a..4011153a8ef 100644 --- a/cyber/scheduler/BUILD +++ b/cyber/scheduler/BUILD @@ -116,7 +116,7 @@ cc_test( deps = [ "//cyber", "//cyber/scheduler:scheduler_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -127,7 +127,7 @@ cc_test( deps = [ "//cyber", "//cyber/scheduler:scheduler_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -138,7 +138,7 @@ cc_test( deps = [ "//cyber", "//cyber/scheduler:scheduler_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -149,7 +149,7 @@ cc_test( deps = [ "//cyber", "//cyber/scheduler:processor", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -160,7 +160,7 @@ cc_test( deps = [ "//cyber", "//cyber/scheduler:pin_thread", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/service_discovery/BUILD b/cyber/service_discovery/BUILD index 12b1ef2e771..9ac699f0833 100644 --- a/cyber/service_discovery/BUILD +++ b/cyber/service_discovery/BUILD @@ -21,7 +21,7 @@ cc_test( srcs = ["topology_manager_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -60,7 +60,7 @@ cc_test( srcs = ["container/graph_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -80,7 +80,7 @@ cc_test( srcs = ["container/multi_value_warehouse_test.cc"], deps = [ ":multi_value_warehouse", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -100,7 +100,7 @@ cc_test( srcs = ["container/single_value_warehouse_test.cc"], deps = [ ":single_value_warehouse", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -128,7 +128,7 @@ cc_test( srcs = ["role/role_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -171,7 +171,7 @@ cc_test( deps = [ "//cyber", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -192,7 +192,7 @@ cc_test( srcs = ["specific_manager/node_manager_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -213,7 +213,7 @@ cc_test( srcs = ["specific_manager/service_manager_test.cc"], deps = [ "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/sysmo/BUILD b/cyber/sysmo/BUILD index a5ca08392b4..aea9e98f375 100644 --- a/cyber/sysmo/BUILD +++ b/cyber/sysmo/BUILD @@ -9,7 +9,7 @@ cc_test( deps = [ "//cyber:cyber_core", "//cyber/scheduler:scheduler_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/task/BUILD b/cyber/task/BUILD index 7ec115032a1..31ea38cbc6b 100644 --- a/cyber/task/BUILD +++ b/cyber/task/BUILD @@ -16,7 +16,7 @@ cc_test( srcs = ["task_test.cc"], deps = [ "//cyber:cyber_core", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/time/BUILD b/cyber/time/BUILD index a39d0ef7101..433ff84dc11 100644 --- a/cyber/time/BUILD +++ b/cyber/time/BUILD @@ -18,7 +18,7 @@ cc_test( srcs = ["time_test.cc"], deps = [ "//cyber:cyber_core", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -48,7 +48,7 @@ cc_test( srcs = ["duration_test.cc"], deps = [ "//cyber:cyber_core", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/timer/BUILD b/cyber/timer/BUILD index 9d2d33b22ae..4b2bf38aab1 100644 --- a/cyber/timer/BUILD +++ b/cyber/timer/BUILD @@ -46,7 +46,7 @@ cc_test( deps = [ "//cyber:cyber_core", "//cyber:init", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/cyber/transport/BUILD b/cyber/transport/BUILD index 912d5f409ec..69a2f8c77b1 100644 --- a/cyber/transport/BUILD +++ b/cyber/transport/BUILD @@ -38,7 +38,7 @@ cc_test( deps = [ "//cyber:cyber_core", "//cyber/proto:unit_test_cc_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -59,7 +59,7 @@ cc_test( srcs = ["common/endpoint_test.cc"], deps = [ "//cyber:cyber_core", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -78,7 +78,7 @@ cc_test( srcs = ["common/identity_test.cc"], deps = [ "//cyber:cyber_core", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -88,7 +88,7 @@ cc_test( srcs = ["common/common_test.cc"], deps = [ "//cyber:cyber_core", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -111,7 +111,7 @@ cc_test( deps = [ "//cyber:cyber_core", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -133,7 +133,7 @@ cc_test( deps = [ "//cyber:cyber_core", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -158,7 +158,7 @@ cc_test( deps = [ "//cyber:cyber_core", "//cyber/proto:unit_test_cc_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -184,7 +184,7 @@ cc_test( deps = [ "//cyber:cyber_core", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -224,7 +224,7 @@ cc_test( srcs = ["message/message_info_test.cc"], deps = [ "//cyber:cyber_core", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -234,7 +234,7 @@ cc_test( srcs = ["message/message_test.cc"], deps = [ "//cyber:cyber_core", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -350,7 +350,7 @@ cc_test( srcs = ["rtps/rtps_test.cc"], deps = [ "//cyber:cyber_core", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -530,7 +530,7 @@ cc_test( deps = [ "//cyber:cyber_core", "//cyber/proto:unit_test_cc_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -541,7 +541,7 @@ cc_test( deps = [ "//cyber:cyber_core", "//cyber/proto:unit_test_cc_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -552,7 +552,7 @@ cc_test( deps = [ "//cyber:cyber_core", "//cyber/proto:unit_test_cc_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -563,7 +563,7 @@ cc_test( deps = [ "//cyber:cyber_core", "//cyber/proto:unit_test_cc_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -573,7 +573,7 @@ cc_test( srcs = ["shm/condition_notifier_test.cc"], deps = [ "//cyber:cyber_core", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/bridge/BUILD b/modules/bridge/BUILD index 983cd76267b..e4f0ac544b1 100644 --- a/modules/bridge/BUILD +++ b/modules/bridge/BUILD @@ -83,7 +83,7 @@ cc_test( srcs = ["udp_bridge_component_test.cc"], deps = [ ":udp_bridge_sender", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/bridge/common/BUILD b/modules/bridge/common/BUILD index 95985962732..26f71efba83 100644 --- a/modules/bridge/common/BUILD +++ b/modules/bridge/common/BUILD @@ -67,7 +67,7 @@ cc_test( srcs = ["bridge_buffer_test.cc"], deps = [ ":bridge_buffer", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -77,7 +77,7 @@ cc_test( srcs = ["bridge_proto_buf_test.cc"], deps = [ "//modules/bridge:udp_bridge", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/BUILD b/modules/canbus/BUILD index 260ef59eec1..7a870019afa 100644 --- a/modules/canbus/BUILD +++ b/modules/canbus/BUILD @@ -30,7 +30,7 @@ cc_test( deps = [ ":canbus_lib", "//modules/common/status", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/BUILD b/modules/canbus/vehicle/BUILD index 5d36977f1cb..4d45a05ed10 100644 --- a/modules/canbus/vehicle/BUILD +++ b/modules/canbus/vehicle/BUILD @@ -56,7 +56,7 @@ cc_test( srcs = ["vehicle_factory_test.cc"], deps = [ ":vehicle_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/ch/BUILD b/modules/canbus/vehicle/ch/BUILD index 9a1044fc21d..e9b36e56aae 100644 --- a/modules/canbus/vehicle/ch/BUILD +++ b/modules/canbus/vehicle/ch/BUILD @@ -47,7 +47,7 @@ cc_test( data = ["//modules/canbus:canbus_testdata"], deps = [ ":ch_controller", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -57,7 +57,7 @@ cc_test( srcs = ["ch_message_manager_test.cc"], deps = [ "//modules/canbus/vehicle/ch:ch_message_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -67,7 +67,7 @@ cc_test( srcs = ["ch_vehicle_factory_test.cc"], deps = [ ":ch_vehicle_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/ch/protocol/BUILD b/modules/canbus/vehicle/ch/protocol/BUILD index 8f7627c1207..bf2af95da57 100644 --- a/modules/canbus/vehicle/ch/protocol/BUILD +++ b/modules/canbus/vehicle/ch/protocol/BUILD @@ -40,7 +40,7 @@ cc_test( srcs = ["brake_command_111_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -62,7 +62,7 @@ cc_test( srcs = ["brake_status__511_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -84,7 +84,7 @@ cc_test( srcs = ["control_command_115_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -106,7 +106,7 @@ cc_test( srcs = ["ecu_status_1_515_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -128,7 +128,7 @@ cc_test( srcs = ["ecu_status_2_516_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -150,7 +150,7 @@ cc_test( srcs = ["ecu_status_3_517_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -172,7 +172,7 @@ cc_test( srcs = ["gear_command_114_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -194,7 +194,7 @@ cc_test( srcs = ["gear_status_514_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -216,7 +216,7 @@ cc_test( srcs = ["steer_command_112_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -238,7 +238,7 @@ cc_test( srcs = ["steer_status__512_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -260,7 +260,7 @@ cc_test( srcs = ["throttle_command_110_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -282,7 +282,7 @@ cc_test( srcs = ["throttle_status__510_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -304,7 +304,7 @@ cc_test( srcs = ["turnsignal_command_113_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -326,7 +326,7 @@ cc_test( srcs = ["turnsignal_status__513_test.cc"], deps = [ "//modules/canbus/vehicle/ch/protocol:canbus_ch_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/ge3/BUILD b/modules/canbus/vehicle/ge3/BUILD index 17b3e2966fd..7ab304b05f9 100644 --- a/modules/canbus/vehicle/ge3/BUILD +++ b/modules/canbus/vehicle/ge3/BUILD @@ -19,7 +19,7 @@ cc_test( srcs = ["ge3_vehicle_factory_test.cc"], deps = [ ":ge3_vehicle_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -41,7 +41,7 @@ cc_test( srcs = ["ge3_message_manager_test.cc"], deps = [ ":ge3_message_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -68,7 +68,7 @@ cc_test( deps = [ ":ge3_controller", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/ge3/protocol/BUILD b/modules/canbus/vehicle/ge3/protocol/BUILD index cd86ff97457..c318189e9aa 100644 --- a/modules/canbus/vehicle/ge3/protocol/BUILD +++ b/modules/canbus/vehicle/ge3/protocol/BUILD @@ -53,7 +53,7 @@ cc_test( srcs = ["pc_bcm_201_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -63,7 +63,7 @@ cc_test( srcs = ["pc_bcs_202_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -73,7 +73,7 @@ cc_test( srcs = ["pc_epb_203_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -83,7 +83,7 @@ cc_test( srcs = ["pc_eps_204_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -93,7 +93,7 @@ cc_test( srcs = ["pc_vcu_205_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -103,7 +103,7 @@ cc_test( srcs = ["scu_1_301_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -113,7 +113,7 @@ cc_test( srcs = ["scu_2_302_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -123,7 +123,7 @@ cc_test( srcs = ["scu_3_303_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -133,7 +133,7 @@ cc_test( srcs = ["scu_bcm_304_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -143,7 +143,7 @@ cc_test( srcs = ["scu_bcs_1_306_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -153,7 +153,7 @@ cc_test( srcs = ["scu_bcs_2_307_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -163,7 +163,7 @@ cc_test( srcs = ["scu_bcs_3_308_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -173,7 +173,7 @@ cc_test( srcs = ["scu_epb_310_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -183,7 +183,7 @@ cc_test( srcs = ["scu_eps_311_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -193,7 +193,7 @@ cc_test( srcs = ["scu_vcu_1_312_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -203,7 +203,7 @@ cc_test( srcs = ["scu_vcu_2_313_test.cc"], deps = [ "//modules/canbus/vehicle/ge3/protocol:canbus_ge3_protocol_pc_bcm_201", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/gem/BUILD b/modules/canbus/vehicle/gem/BUILD index 7d62da4465b..c2eee8d085c 100644 --- a/modules/canbus/vehicle/gem/BUILD +++ b/modules/canbus/vehicle/gem/BUILD @@ -20,7 +20,7 @@ cc_test( srcs = ["gem_vehicle_factory_test.cc"], deps = [ ":gem_vehicle_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -43,7 +43,7 @@ cc_test( srcs = ["gem_message_manager_test.cc"], deps = [ ":gem_message_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -71,7 +71,7 @@ cc_test( deps = [ ":gem_controller", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/gem/protocol/BUILD b/modules/canbus/vehicle/gem/protocol/BUILD index 1239e20b504..084032153a6 100644 --- a/modules/canbus/vehicle/gem/protocol/BUILD +++ b/modules/canbus/vehicle/gem/protocol/BUILD @@ -82,7 +82,7 @@ cc_test( srcs = ["accel_rpt_68_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -92,7 +92,7 @@ cc_test( srcs = ["brake_rpt_6c_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -102,7 +102,7 @@ cc_test( srcs = ["wheel_speed_rpt_7a_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -112,7 +112,7 @@ cc_test( srcs = ["yaw_rate_rpt_81_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -122,7 +122,7 @@ cc_test( srcs = ["wiper_rpt_91_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -132,7 +132,7 @@ cc_test( srcs = ["brake_motor_rpt_1_70_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -142,7 +142,7 @@ cc_test( srcs = ["brake_motor_rpt_2_71_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -152,7 +152,7 @@ cc_test( srcs = ["brake_motor_rpt_3_72_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -162,7 +162,7 @@ cc_test( srcs = ["date_time_rpt_83_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -172,7 +172,7 @@ cc_test( srcs = ["global_rpt_6a_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -182,7 +182,7 @@ cc_test( srcs = ["lat_lon_heading_rpt_82_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -192,7 +192,7 @@ cc_test( srcs = ["steering_motor_rpt_1_73_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -202,7 +202,7 @@ cc_test( srcs = ["steering_motor_rpt_2_74_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -212,7 +212,7 @@ cc_test( srcs = ["steering_motor_rpt_3_75_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -222,7 +222,7 @@ cc_test( srcs = ["steering_rpt_1_6e_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -232,7 +232,7 @@ cc_test( srcs = ["accel_cmd_67_test.cc"], deps = [ "//modules/canbus/vehicle/gem/protocol:canbus_gem_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/lexus/BUILD b/modules/canbus/vehicle/lexus/BUILD index 02d0cdc474b..9a61309d8fe 100644 --- a/modules/canbus/vehicle/lexus/BUILD +++ b/modules/canbus/vehicle/lexus/BUILD @@ -50,7 +50,7 @@ cc_test( data = ["//modules/canbus:canbus_testdata"], deps = [ "//modules/canbus/vehicle/lexus:lexus_controller", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/lincoln/BUILD b/modules/canbus/vehicle/lincoln/BUILD index 3cf90b8fd80..214b6f55e26 100644 --- a/modules/canbus/vehicle/lincoln/BUILD +++ b/modules/canbus/vehicle/lincoln/BUILD @@ -41,7 +41,7 @@ cc_library( "//modules/drivers/canbus/can_comm:can_sender", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -52,7 +52,7 @@ cc_test( data = ["//modules/canbus:canbus_testdata"], deps = [ "//modules/canbus/vehicle/lincoln:lincoln_controller", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -62,7 +62,7 @@ cc_test( srcs = ["lincoln_message_manager_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln:lincoln_message_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -72,7 +72,7 @@ cc_test( srcs = ["lincoln_vehicle_factory_test.cc"], deps = [ ":lincoln_vehicle_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/lincoln/protocol/BUILD b/modules/canbus/vehicle/lincoln/protocol/BUILD index d913d1d6a6e..db9b025fdf9 100644 --- a/modules/canbus/vehicle/lincoln/protocol/BUILD +++ b/modules/canbus/vehicle/lincoln/protocol/BUILD @@ -68,7 +68,7 @@ cc_test( srcs = ["accel_6b_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -78,7 +78,7 @@ cc_test( srcs = ["brake_60_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -88,7 +88,7 @@ cc_test( srcs = ["brake_61_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -98,7 +98,7 @@ cc_test( srcs = ["brakeinfo_74_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -108,7 +108,7 @@ cc_test( srcs = ["fuellevel_72_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -118,7 +118,7 @@ cc_test( srcs = ["gear_66_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -128,7 +128,7 @@ cc_test( srcs = ["gear_67_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -138,7 +138,7 @@ cc_test( srcs = ["gps_6d_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -148,7 +148,7 @@ cc_test( srcs = ["gps_6e_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -158,7 +158,7 @@ cc_test( srcs = ["gps_6f_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -168,7 +168,7 @@ cc_test( srcs = ["gyro_6c_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -178,7 +178,7 @@ cc_test( srcs = ["misc_69_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -188,7 +188,7 @@ cc_test( srcs = ["steering_64_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -198,7 +198,7 @@ cc_test( srcs = ["steering_65_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -208,7 +208,7 @@ cc_test( srcs = ["throttle_62_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -218,7 +218,7 @@ cc_test( srcs = ["throttle_63_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -228,7 +228,7 @@ cc_test( srcs = ["throttleinfo_75_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -238,7 +238,7 @@ cc_test( srcs = ["tirepressure_71_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -248,7 +248,7 @@ cc_test( srcs = ["turnsignal_68_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -258,7 +258,7 @@ cc_test( srcs = ["version_7f_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -268,7 +268,7 @@ cc_test( srcs = ["wheelspeed_6a_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -278,7 +278,7 @@ cc_test( srcs = ["surround_73_test.cc"], deps = [ "//modules/canbus/vehicle/lincoln/protocol:canbus_lincoln_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/transit/BUILD b/modules/canbus/vehicle/transit/BUILD index aeb17811b76..d89e5750463 100644 --- a/modules/canbus/vehicle/transit/BUILD +++ b/modules/canbus/vehicle/transit/BUILD @@ -50,7 +50,7 @@ cc_test( srcs = ["transit_vehicle_factory_test.cc"], deps = [ ":transit_vehicle_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -62,7 +62,7 @@ cc_test( deps = [ ":transit_controller", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/transit/protocol/BUILD b/modules/canbus/vehicle/transit/protocol/BUILD index ce5b4e7f830..cd47a55e9b7 100644 --- a/modules/canbus/vehicle/transit/protocol/BUILD +++ b/modules/canbus/vehicle/transit/protocol/BUILD @@ -29,7 +29,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -40,7 +40,7 @@ cc_test( deps = [ ":adc_auxiliarycontrol_110", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -53,7 +53,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -64,7 +64,7 @@ cc_test( deps = [ ":adc_motioncontrol1_10", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -77,7 +77,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -88,7 +88,7 @@ cc_test( deps = [ ":adc_motioncontrollimits1_12", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -101,7 +101,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -112,7 +112,7 @@ cc_test( deps = [ ":llc_auxiliaryfeedback_120", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -125,7 +125,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -136,7 +136,7 @@ cc_test( deps = [ ":llc_diag_brakecontrol_721", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -149,7 +149,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -160,7 +160,7 @@ cc_test( deps = [ ":llc_diag_fault_620", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -173,7 +173,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -184,7 +184,7 @@ cc_test( deps = [ ":llc_diag_steeringcontrol_722", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -197,7 +197,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -208,7 +208,7 @@ cc_test( deps = [ ":llc_motioncommandfeedback1_22", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -221,7 +221,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -232,7 +232,7 @@ cc_test( deps = [ ":llc_motionfeedback1_20", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -245,7 +245,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -256,7 +256,7 @@ cc_test( deps = [ ":llc_motionfeedback2_21", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -269,7 +269,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -280,7 +280,7 @@ cc_test( deps = [ ":llc_vehiclelimits_24", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -293,7 +293,7 @@ cc_library( "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", "//modules/drivers/canbus/common:canbus_common", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -304,7 +304,7 @@ cc_test( deps = [ ":llc_vehiclestatus_25", "//modules/canbus/vehicle/transit/protocol:canbus_transit_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/wey/BUILD b/modules/canbus/vehicle/wey/BUILD index 6f891029cc5..a25312e8505 100644 --- a/modules/canbus/vehicle/wey/BUILD +++ b/modules/canbus/vehicle/wey/BUILD @@ -19,7 +19,7 @@ cc_test( srcs = ["wey_vehicle_factory_test.cc"], deps = [ ":wey_vehicle_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -41,7 +41,7 @@ cc_test( srcs = ["wey_message_manager_test.cc"], deps = [ ":wey_message_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -68,7 +68,7 @@ cc_test( deps = [ ":wey_controller", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/wey/protocol/BUILD b/modules/canbus/vehicle/wey/protocol/BUILD index 6334f6905dc..7ee91ead2c0 100644 --- a/modules/canbus/vehicle/wey/protocol/BUILD +++ b/modules/canbus/vehicle/wey/protocol/BUILD @@ -49,7 +49,7 @@ cc_test( srcs = ["ads1_111_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -59,7 +59,7 @@ cc_test( srcs = ["ads3_38e_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -69,7 +69,7 @@ cc_test( srcs = ["ads_eps_113_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -79,7 +79,7 @@ cc_test( srcs = ["ads_req_vin_390_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -89,7 +89,7 @@ cc_test( srcs = ["ads_shifter_115_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -99,7 +99,7 @@ cc_test( srcs = ["fail_241_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -109,7 +109,7 @@ cc_test( srcs = ["fbs1_243_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -119,7 +119,7 @@ cc_test( srcs = ["fbs2_240_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -129,7 +129,7 @@ cc_test( srcs = ["fbs3_237_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -139,7 +139,7 @@ cc_test( srcs = ["fbs4_235_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -149,7 +149,7 @@ cc_test( srcs = ["status_310_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -159,7 +159,7 @@ cc_test( srcs = ["vin_resp1_391_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -169,7 +169,7 @@ cc_test( srcs = ["vin_resp2_392_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -179,7 +179,7 @@ cc_test( srcs = ["vin_resp3_393_test.cc"], deps = [ "//modules/canbus/vehicle/wey/protocol:canbus_wey_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/zhongyun/BUILD b/modules/canbus/vehicle/zhongyun/BUILD index 3b0866a392e..59992b44cb8 100644 --- a/modules/canbus/vehicle/zhongyun/BUILD +++ b/modules/canbus/vehicle/zhongyun/BUILD @@ -47,7 +47,7 @@ cc_test( data = ["//modules/canbus:canbus_testdata"], deps = [ ":zhongyun_message_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -58,7 +58,7 @@ cc_test( data = ["//modules/canbus:canbus_testdata"], deps = [ ":zhongyun_vehicle_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -70,7 +70,7 @@ cc_test( deps = [ ":zhongyun_controller", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/canbus/vehicle/zhongyun/protocol/BUILD b/modules/canbus/vehicle/zhongyun/protocol/BUILD index 59aaac9c21e..132e095a57a 100644 --- a/modules/canbus/vehicle/zhongyun/protocol/BUILD +++ b/modules/canbus/vehicle/zhongyun/protocol/BUILD @@ -35,7 +35,7 @@ cc_test( srcs = ["brake_control_a4_test.cc"], deps = [ ":canbus_zhongyun_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -57,7 +57,7 @@ cc_test( srcs = ["enable_state_feedback_c3_test.cc"], deps = [ ":canbus_zhongyun_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -79,7 +79,7 @@ cc_test( srcs = ["error_state_e1_test.cc"], deps = [ ":canbus_zhongyun_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -101,7 +101,7 @@ cc_test( srcs = ["gear_control_a1_test.cc"], deps = [ ":canbus_zhongyun_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -123,7 +123,7 @@ cc_test( srcs = ["parking_control_a5_test.cc"], deps = [ ":canbus_zhongyun_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -145,7 +145,7 @@ cc_test( srcs = ["steering_control_a2_test.cc"], deps = [ ":canbus_zhongyun_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -167,7 +167,7 @@ cc_test( srcs = ["torque_control_a3_test.cc"], deps = [ ":canbus_zhongyun_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -189,7 +189,7 @@ cc_test( srcs = ["vehicle_state_feedback_2_c4_test.cc"], deps = [ ":canbus_zhongyun_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -211,7 +211,7 @@ cc_test( srcs = ["vehicle_state_feedback_c1_test.cc"], deps = [ ":canbus_zhongyun_protocol", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/common/configs/BUILD b/modules/common/configs/BUILD index 43b4189b2d1..e37279678f9 100644 --- a/modules/common/configs/BUILD +++ b/modules/common/configs/BUILD @@ -37,7 +37,7 @@ cc_test( srcs = ["vehicle_config_helper_test.cc"], deps = [ "vehicle_config_helper", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/common/filters/BUILD b/modules/common/filters/BUILD index 8f2debd4516..71c9f017f2a 100644 --- a/modules/common/filters/BUILD +++ b/modules/common/filters/BUILD @@ -38,7 +38,7 @@ cc_test( ":digital_filter", ":digital_filter_coefficients", "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -48,7 +48,7 @@ cc_test( srcs = ["mean_filter_test.cc"], deps = [ ":mean_filter", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -59,7 +59,7 @@ cc_test( deps = [ ":digital_filter_coefficients", "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/common/kv_db/BUILD b/modules/common/kv_db/BUILD index d37a294e8eb..6ded7f3b9fe 100644 --- a/modules/common/kv_db/BUILD +++ b/modules/common/kv_db/BUILD @@ -23,7 +23,7 @@ cc_test( srcs = ["kv_db_test.cc"], deps = [ ":kv_db", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/common/math/BUILD b/modules/common/math/BUILD index 8d6efbc00d2..dd27c7ef536 100644 --- a/modules/common/math/BUILD +++ b/modules/common/math/BUILD @@ -110,7 +110,7 @@ cc_test( srcs = ["matrix_operations_test.cc"], deps = [ ":matrix_operations", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -156,7 +156,7 @@ cc_test( srcs = ["angle_test.cc"], deps = [ ":angle", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -235,7 +235,7 @@ cc_test( ":mpc_osqp", "//modules/common/math/qp_solver", "//modules/common/math/qp_solver:active_set_qp_solver", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -247,7 +247,7 @@ cc_test( ":mpc", "//modules/common/math/qp_solver", "//modules/common/math/qp_solver:active_set_qp_solver", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -257,7 +257,7 @@ cc_test( srcs = ["math_utils_test.cc"], deps = [ ":geometry", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -268,8 +268,8 @@ cc_test( deps = [ ":linear_interpolation", "//cyber/common:log", + "@com_google_googletest//:gtest_main", "@eigen", - "@gtest//:main", ], ) @@ -279,7 +279,7 @@ cc_test( srcs = ["search_test.cc"], deps = [ ":search", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -289,7 +289,7 @@ cc_test( srcs = ["integral_test.cc"], deps = [ ":integral", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -299,7 +299,7 @@ cc_test( srcs = ["vec2d_test.cc"], deps = [ ":geometry", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -309,7 +309,7 @@ cc_test( srcs = ["quaternion_test.cc"], deps = [ ":quaternion", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -319,7 +319,7 @@ cc_test( srcs = ["euler_angles_zxy_test.cc"], deps = [ ":euler_angles_zxy", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -329,7 +329,7 @@ cc_test( srcs = ["aabox2d_test.cc"], deps = [ ":geometry", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -339,7 +339,7 @@ cc_test( srcs = ["aaboxkdtree2d_test.cc"], deps = [ ":geometry", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -349,7 +349,7 @@ cc_test( srcs = ["box2d_test.cc"], deps = [ ":geometry", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -359,7 +359,7 @@ cc_test( srcs = ["polygon2d_test.cc"], deps = [ ":geometry", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -369,7 +369,7 @@ cc_test( srcs = ["line_segment2d_test.cc"], deps = [ ":geometry", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -379,7 +379,7 @@ cc_test( srcs = ["kalman_filter_test.cc"], deps = [ ":kalman_filter", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -389,7 +389,7 @@ cc_test( srcs = ["cartesian_frenet_conversion_test.cc"], deps = [ ":cartesian_frenet_conversion", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/common/math/qp_solver/BUILD b/modules/common/math/qp_solver/BUILD index 92306ff2550..8614cdb74bd 100644 --- a/modules/common/math/qp_solver/BUILD +++ b/modules/common/math/qp_solver/BUILD @@ -40,7 +40,7 @@ cc_test( srcs = ["active_set_qp_solver_test.cc"], deps = [ ":active_set_qp_solver", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/common/monitor_log/BUILD b/modules/common/monitor_log/BUILD index 9387ee1a50c..bd300f57c3e 100644 --- a/modules/common/monitor_log/BUILD +++ b/modules/common/monitor_log/BUILD @@ -19,7 +19,7 @@ cc_library( "//modules/common/proto:geometry_proto", "//modules/common/time", "//modules/common/util:message_util", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -29,7 +29,7 @@ cc_test( srcs = ["monitor_log_buffer_test.cc"], deps = [ ":monitor_log", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -39,7 +39,7 @@ cc_test( # srcs = ["monitor_logger_test.cc"], # deps = [ # ":monitor_log", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # ], # ) diff --git a/modules/common/status/BUILD b/modules/common/status/BUILD index d48263d105f..1bfa5a9fe58 100644 --- a/modules/common/status/BUILD +++ b/modules/common/status/BUILD @@ -18,7 +18,7 @@ cc_test( srcs = ["status_test.cc"], deps = [ ":status", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/common/time/BUILD b/modules/common/time/BUILD index 8885e50b66e..389e739f9c4 100644 --- a/modules/common/time/BUILD +++ b/modules/common/time/BUILD @@ -23,7 +23,7 @@ cc_test( srcs = ["time_test.cc"], deps = [ ":time", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -33,7 +33,7 @@ cc_test( srcs = ["timer_test.cc"], deps = [ ":time", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/common/util/BUILD b/modules/common/util/BUILD index a291fea937a..467d7997afe 100644 --- a/modules/common/util/BUILD +++ b/modules/common/util/BUILD @@ -40,7 +40,7 @@ cc_test( deps = [ ":util", "//modules/common/util/testdata:simple_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -84,7 +84,7 @@ cc_test( deps = [ ":message_util", "//modules/common/util/testdata:simple_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -94,7 +94,7 @@ cc_test( srcs = ["string_util_test.cc"], deps = [ ":string_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -120,7 +120,7 @@ cc_test( srcs = ["factory_test.cc"], deps = [ ":factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -130,7 +130,7 @@ cc_test( srcs = ["lru_cache_test.cc"], deps = [ "//modules/common/util:lru_cache", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -149,7 +149,7 @@ cc_test( srcs = ["points_downsampler_test.cc"], deps = [ ":points_downsampler", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -171,7 +171,7 @@ cc_test( deps = [ ":json_util", "//modules/common/proto:error_code_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/common/vehicle_model/BUILD b/modules/common/vehicle_model/BUILD index 3f95c5e1a2b..5b680cf5b58 100644 --- a/modules/common/vehicle_model/BUILD +++ b/modules/common/vehicle_model/BUILD @@ -25,7 +25,7 @@ cc_test( deps = [ ":vehicle_model", "//modules/common/vehicle_state:vehicle_state_provider", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/common/vehicle_state/BUILD b/modules/common/vehicle_state/BUILD index 3497ff1215e..d9d09e0dc92 100644 --- a/modules/common/vehicle_state/BUILD +++ b/modules/common/vehicle_state/BUILD @@ -29,7 +29,7 @@ cc_test( deps = [ ":vehicle_state_provider", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/control/BUILD b/modules/control/BUILD index 1598d6fa957..8afc6d73767 100644 --- a/modules/control/BUILD +++ b/modules/control/BUILD @@ -54,7 +54,7 @@ cc_test( data = ["//modules/control:control_testdata"], deps = [ ":control_component_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/control/common/BUILD b/modules/control/common/BUILD index 864e28406f6..05f66238b50 100644 --- a/modules/control/common/BUILD +++ b/modules/control/common/BUILD @@ -139,7 +139,7 @@ cc_test( srcs = ["hysteresis_filter_test.cc"], deps = [ ":hysteresis_filter", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -153,7 +153,7 @@ cc_test( "//cyber", "//modules/common/util", "//modules/control/proto:control_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -167,7 +167,7 @@ cc_test( "//cyber", "//modules/common/util", "//modules/control/proto:control_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -180,7 +180,7 @@ cc_test( ":leadlag_controller", "//modules/common/util", "//modules/control/proto:control_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -193,7 +193,7 @@ cc_test( ":mrac_controller", "//modules/common/util", "//modules/control/proto:control_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -206,7 +206,7 @@ cc_test( ":pid_controller", "//modules/common/util", "//modules/control/proto:control_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -219,7 +219,7 @@ cc_test( ":pid_BC_controller", "//modules/common/util", "//modules/control/proto:control_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -232,7 +232,7 @@ cc_test( ":pid_IC_controller", "//modules/common/util", "//modules/control/proto:control_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -243,7 +243,7 @@ cc_test( deps = [ ":trajectory_analyzer", "//modules/common/time", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/control/controller/BUILD b/modules/control/controller/BUILD index 838d50fa974..6ec61d89d74 100644 --- a/modules/control/controller/BUILD +++ b/modules/control/controller/BUILD @@ -136,7 +136,7 @@ cc_test( "//modules/control/common:control_gflags", "//modules/control/proto:control_proto", "//modules/planning/proto:planning_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -154,7 +154,7 @@ cc_test( "//modules/control/common:control_gflags", "//modules/control/proto:control_proto", "//modules/planning/proto:planning_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -172,7 +172,7 @@ cc_test( "//modules/control/common:control_gflags", "//modules/control/proto:control_proto", "//modules/planning/proto:planning_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/control/integration_tests/BUILD b/modules/control/integration_tests/BUILD index b619b75abfe..82b91cb155c 100644 --- a/modules/control/integration_tests/BUILD +++ b/modules/control/integration_tests/BUILD @@ -13,7 +13,7 @@ cc_library( "//modules/control:control_component_lib", "//modules/control/common:control_gflags", "//modules/control/proto:control_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -24,7 +24,7 @@ cc_test( data = ["//modules/control:control_testdata"], deps = [ ":control_test_base", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -35,7 +35,7 @@ cc_test( data = ["//modules/control:control_testdata"], deps = [ ":control_test_base", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -46,7 +46,7 @@ cc_test( data = ["//modules/control:control_testdata"], deps = [ ":control_test_base", - "@gtest", + "@com_google_googletest//:gtest", ], ) diff --git a/modules/dreamview/backend/data_collection_monitor/BUILD b/modules/dreamview/backend/data_collection_monitor/BUILD index 3cc5fe2c828..bc92b93b14f 100644 --- a/modules/dreamview/backend/data_collection_monitor/BUILD +++ b/modules/dreamview/backend/data_collection_monitor/BUILD @@ -16,7 +16,7 @@ cc_library( "//modules/dreamview/backend/hmi:vehicle_manager", "//modules/dreamview/proto:data_collection_table_proto", "//third_party/json", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -30,7 +30,7 @@ cc_test( deps = [ ":data_collection_monitor", "//modules/common/util:json_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/dreamview/backend/handlers/BUILD b/modules/dreamview/backend/handlers/BUILD index 685db09993f..148ca70d1d3 100644 --- a/modules/dreamview/backend/handlers/BUILD +++ b/modules/dreamview/backend/handlers/BUILD @@ -42,7 +42,7 @@ cc_test( deps = [ ":websocket_handler", "//cyber", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/dreamview/backend/hmi/BUILD b/modules/dreamview/backend/hmi/BUILD index 09142c1457a..1fbdcef8bb3 100644 --- a/modules/dreamview/backend/hmi/BUILD +++ b/modules/dreamview/backend/hmi/BUILD @@ -34,7 +34,7 @@ cc_test( deps = [ ":vehicle_manager", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -89,7 +89,7 @@ cc_test( srcs = ["hmi_worker_test.cc"], deps = [ ":hmi_worker", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/dreamview/backend/map/BUILD b/modules/dreamview/backend/map/BUILD index 5170724a0b2..b9aac2a81b8 100644 --- a/modules/dreamview/backend/map/BUILD +++ b/modules/dreamview/backend/map/BUILD @@ -26,7 +26,7 @@ cc_test( ], deps = [ ":map_service", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/dreamview/backend/sim_control/BUILD b/modules/dreamview/backend/sim_control/BUILD index 9ad7ba95e0d..768a7e14046 100644 --- a/modules/dreamview/backend/sim_control/BUILD +++ b/modules/dreamview/backend/sim_control/BUILD @@ -18,7 +18,7 @@ cc_library( "//modules/dreamview/backend/map:map_service", "//modules/map/relative_map/proto:navigation_proto", "//modules/planning/proto:planning_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -32,7 +32,7 @@ cc_test( deps = [ ":sim_control", "//modules/common/time", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/dreamview/backend/simulation_world/BUILD b/modules/dreamview/backend/simulation_world/BUILD index 53d73930721..4a9c1b2abcf 100644 --- a/modules/dreamview/backend/simulation_world/BUILD +++ b/modules/dreamview/backend/simulation_world/BUILD @@ -45,7 +45,7 @@ cc_test( deps = [ ":simulation_world_service", "//modules/common/math:quaternion", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/dreamview/backend/teleop/BUILD b/modules/dreamview/backend/teleop/BUILD index c8b4bac8146..5662f787c09 100644 --- a/modules/dreamview/backend/teleop/BUILD +++ b/modules/dreamview/backend/teleop/BUILD @@ -54,7 +54,7 @@ cc_test( ], deps = [ ":teleop", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/drivers/canbus/can_client/BUILD b/modules/drivers/canbus/can_client/BUILD index 748a9fbdf00..5c8edcfc811 100644 --- a/modules/drivers/canbus/can_client/BUILD +++ b/modules/drivers/canbus/can_client/BUILD @@ -51,7 +51,7 @@ cc_test( deps = [ "//modules/drivers/canbus/can_client:can_client_factory", "//modules/drivers/canbus/proto:canbus_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/drivers/canbus/can_client/esd/BUILD b/modules/drivers/canbus/can_client/esd/BUILD index 4ba7e7dfb5d..98675e61ca1 100644 --- a/modules/drivers/canbus/can_client/esd/BUILD +++ b/modules/drivers/canbus/can_client/esd/BUILD @@ -21,7 +21,7 @@ cc_test( "//cyber", "//modules/drivers/canbus/can_client/esd:esd_can_client", "//modules/drivers/canbus/common:canbus_common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/drivers/canbus/can_client/fake/BUILD b/modules/drivers/canbus/can_client/fake/BUILD index 729ffb8cb0a..918c2e214ed 100644 --- a/modules/drivers/canbus/can_client/fake/BUILD +++ b/modules/drivers/canbus/can_client/fake/BUILD @@ -19,7 +19,7 @@ cc_test( "//cyber", "//modules/drivers/canbus/can_client/fake:fake_can_client", "//modules/drivers/canbus/common:canbus_common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/drivers/canbus/can_client/hermes_can/BUILD b/modules/drivers/canbus/can_client/hermes_can/BUILD index 8fe4ebc1e89..0a2fe61d1ef 100644 --- a/modules/drivers/canbus/can_client/hermes_can/BUILD +++ b/modules/drivers/canbus/can_client/hermes_can/BUILD @@ -24,7 +24,7 @@ cc_test( "//cyber", "//modules/drivers/canbus/can_client/hermes_can:hermes_can_client", "//modules/drivers/canbus/common:canbus_common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/drivers/canbus/can_client/socket/BUILD b/modules/drivers/canbus/can_client/socket/BUILD index 1be9b6868a0..cc5007f22a3 100644 --- a/modules/drivers/canbus/can_client/socket/BUILD +++ b/modules/drivers/canbus/can_client/socket/BUILD @@ -19,7 +19,7 @@ cc_test( "//cyber", "//modules/drivers/canbus/can_client/socket:socket_can_client_raw", "//modules/drivers/canbus/common:canbus_common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/drivers/canbus/can_comm/BUILD b/modules/drivers/canbus/can_comm/BUILD index 508f53dbd0f..1b8bf185924 100644 --- a/modules/drivers/canbus/can_comm/BUILD +++ b/modules/drivers/canbus/can_comm/BUILD @@ -19,7 +19,7 @@ cc_library( "//modules/common/proto:error_code_proto", "//modules/drivers/canbus/can_client", "//modules/drivers/canbus/can_comm:message_manager_base", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -46,7 +46,7 @@ cc_test( "//modules/drivers/canbus/can_client/fake:fake_can_client", "//modules/drivers/canbus/can_comm:can_sender", "//modules/drivers/canbus/common:canbus_common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -60,7 +60,7 @@ cc_test( "//modules/drivers/canbus/can_client/fake:fake_can_client", "//modules/drivers/canbus/can_comm:can_receiver", "//modules/drivers/canbus/common:canbus_common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -71,7 +71,7 @@ cc_test( deps = [ "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -83,7 +83,7 @@ cc_test( "//cyber", "//modules/canbus/proto:canbus_proto", "//modules/drivers/canbus/can_comm:message_manager_base", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/drivers/canbus/common/BUILD b/modules/drivers/canbus/common/BUILD index 1829314dbb5..1e9d564073f 100644 --- a/modules/drivers/canbus/common/BUILD +++ b/modules/drivers/canbus/common/BUILD @@ -20,7 +20,7 @@ cc_test( srcs = ["byte_test.cc"], deps = [ "//modules/drivers/canbus/common:canbus_common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/drivers/radar/racobit_radar/BUILD b/modules/drivers/radar/racobit_radar/BUILD index 4fc5ff6ee7b..4ab19f5afa1 100644 --- a/modules/drivers/radar/racobit_radar/BUILD +++ b/modules/drivers/radar/racobit_radar/BUILD @@ -22,7 +22,7 @@ cc_library( # srcs = ["racobit_radar_message_manager_test.cc"], # deps = [ # "racobit_radar_message_manager", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # ], # ) diff --git a/modules/drivers/radar/ultrasonic_radar/BUILD b/modules/drivers/radar/ultrasonic_radar/BUILD index bf75fa5cb34..849a02ddb11 100644 --- a/modules/drivers/radar/ultrasonic_radar/BUILD +++ b/modules/drivers/radar/ultrasonic_radar/BUILD @@ -22,7 +22,7 @@ cc_library( # srcs = ["ultrasonic_radar_message_manager_test.cc"], # deps = [ # "ultrasonic_radar_message_manager", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # ], # ) @@ -50,7 +50,7 @@ cc_library( # ":ultrasonic_radar_canbus_lib", # ":ultrasonic_radar_message_manager", # "//modules/drivers/proto:sensor_proto", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # ], # ) diff --git a/modules/drivers/tools/image_decompress/BUILD b/modules/drivers/tools/image_decompress/BUILD index c8f0b919faa..f1f284e66cd 100644 --- a/modules/drivers/tools/image_decompress/BUILD +++ b/modules/drivers/tools/image_decompress/BUILD @@ -24,7 +24,7 @@ cc_test( srcs = ["image_decompress_test.cc"], deps = [ ":image_decompress_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/localization/msf/BUILD b/modules/localization/msf/BUILD index 54a9adc00c9..9fcb0959867 100644 --- a/modules/localization/msf/BUILD +++ b/modules/localization/msf/BUILD @@ -43,8 +43,8 @@ cc_library( "//modules/localization/proto:sins_pva_proto", "//modules/transform:transform_broadcaster_lib", "@boost", + "@com_google_googletest//:gtest", "@glog", - "@gtest", "@yaml_cpp//:yaml", ], ) @@ -70,7 +70,7 @@ cc_test( "//modules/common/time", "//modules/common/util", "//modules/localization/msf:msf_localization_component_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/localization/msf/common/io/BUILD b/modules/localization/msf/common/io/BUILD index f67a055c827..434c0425823 100644 --- a/modules/localization/msf/common/io/BUILD +++ b/modules/localization/msf/common/io/BUILD @@ -21,7 +21,7 @@ cc_test( srcs = ["velodyne_utility_test.cc"], deps = [ "//modules/localization/msf/common/io:localization_msf_common_io", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/localization/msf/common/util/BUILD b/modules/localization/msf/common/util/BUILD index 48b1b3204a8..6871109747e 100644 --- a/modules/localization/msf/common/util/BUILD +++ b/modules/localization/msf/common/util/BUILD @@ -71,7 +71,7 @@ cc_test( srcs = ["compression_test.cc"], deps = [ "//modules/localization/msf/common/util:localization_msf_common_util_compression", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -82,7 +82,7 @@ cc_test( srcs = ["rect2d_test.cc"], deps = [ "//modules/localization/msf/common/util:localization_msf_common_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -99,7 +99,7 @@ cc_test( data = ["localization_msf_common_test_data"], deps = [ "//modules/localization/msf/common/util:localization_msf_common_util_system_utility", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -110,7 +110,7 @@ cc_test( srcs = ["frame_transform_test.cc"], deps = [ "//modules/localization/msf/common/util:localization_msf_common_util_frame_transform", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/localization/msf/local_map/base_map/BUILD b/modules/localization/msf/local_map/base_map/BUILD index b2f73413c0a..e966c27a47e 100644 --- a/modules/localization/msf/local_map/base_map/BUILD +++ b/modules/localization/msf/local_map/base_map/BUILD @@ -39,7 +39,7 @@ cc_test( "//modules/localization/msf/common/util:localization_msf_common_util_compression", "//modules/localization/msf/local_map/base_map:localization_msf_base_map", "@boost", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -51,7 +51,7 @@ cc_test( deps = [ "//cyber", "//modules/localization/msf/local_map/base_map:localization_msf_base_map", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/localization/msf/local_map/lossless_map/BUILD b/modules/localization/msf/local_map/lossless_map/BUILD index dd06a0eadb0..abda1fba069 100644 --- a/modules/localization/msf/local_map/lossless_map/BUILD +++ b/modules/localization/msf/local_map/lossless_map/BUILD @@ -46,7 +46,7 @@ cc_test( "//modules/localization/msf/local_map/base_map:localization_msf_base_map", "//modules/localization/msf/local_map/lossless_map:localization_msf_lossless_map", "//modules/localization/msf/local_map/lossy_map:localization_msf_lossy_map", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -62,7 +62,7 @@ cc_test( "//modules/localization/msf/local_map/base_map:localization_msf_base_map", "//modules/localization/msf/local_map/lossless_map:localization_msf_lossless_map", "//modules/localization/msf/local_map/lossy_map:localization_msf_lossy_map", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/localization/msf/local_map/lossy_map/BUILD b/modules/localization/msf/local_map/lossy_map/BUILD index 1fded9665a0..dee902d2487 100644 --- a/modules/localization/msf/local_map/lossy_map/BUILD +++ b/modules/localization/msf/local_map/lossy_map/BUILD @@ -46,7 +46,7 @@ cc_test( "//modules/localization/msf/local_map/lossless_map:localization_msf_lossless_map", "//modules/localization/msf/local_map/lossy_map:localization_msf_lossy_map", "@boost", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/localization/msf/local_map/ndt_map/BUILD b/modules/localization/msf/local_map/ndt_map/BUILD index 20d7f578386..3c90555a5b0 100644 --- a/modules/localization/msf/local_map/ndt_map/BUILD +++ b/modules/localization/msf/local_map/ndt_map/BUILD @@ -37,8 +37,8 @@ cc_test( "//cyber", "//modules/localization/msf/common/io:localization_msf_common_io", "//modules/localization/msf/local_map/ndt_map:localization_msf_ndt_map", + "@com_google_googletest//:gtest_main", "@eigen", - "@gtest//:main", ], ) @@ -50,8 +50,8 @@ cc_test( deps = [ "//cyber", "//modules/localization/msf/local_map/ndt_map:localization_msf_ndt_map", + "@com_google_googletest//:gtest_main", "@eigen", - "@gtest//:main", ], ) diff --git a/modules/localization/msf/local_pyramid_map/ndt_map/BUILD b/modules/localization/msf/local_pyramid_map/ndt_map/BUILD index 9fbf48a2683..f3ec9b8a1a5 100644 --- a/modules/localization/msf/local_pyramid_map/ndt_map/BUILD +++ b/modules/localization/msf/local_pyramid_map/ndt_map/BUILD @@ -126,8 +126,8 @@ cc_test( "//modules/localization/msf/common/io:localization_msf_common_io", "//modules/localization/msf/local_pyramid_map/ndt_map:localization_pyramid_map_ndt_map", "//modules/localization/msf/local_pyramid_map/ndt_map:localization_pyramid_map_ndt_map_pool", + "@com_google_googletest//:gtest_main", "@eigen", - "@gtest//:main", ], ) @@ -139,8 +139,8 @@ cc_test( deps = [ "//cyber", "//modules/localization/msf/local_pyramid_map/ndt_map:localization_pyramid_map_ndt_map_config", + "@com_google_googletest//:gtest_main", "@eigen", - "@gtest//:main", ], ) diff --git a/modules/localization/msf/local_pyramid_map/pyramid_map/BUILD b/modules/localization/msf/local_pyramid_map/pyramid_map/BUILD index 170b158dc88..2de629f7f61 100644 --- a/modules/localization/msf/local_pyramid_map/pyramid_map/BUILD +++ b/modules/localization/msf/local_pyramid_map/pyramid_map/BUILD @@ -117,7 +117,7 @@ cc_test( srcs = ["pyramid_map_config_test.cc"], deps = [ ":localization_pyramid_map_pyramid_map_config", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -128,7 +128,7 @@ cc_test( srcs = ["pyramid_map_matrix_handler_test.cc"], deps = [ ":localization_pyramid_map_pyramid_map_matrix_handler", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -140,7 +140,7 @@ cc_test( copts = ["-Dprivate=public"], deps = [ ":localization_pyramid_map_pyramid_map_matrix", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -151,7 +151,7 @@ cc_test( srcs = ["pyramid_map_node_test.cc"], deps = [ ":localization_pyramid_map_pyramid_map_node", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -164,7 +164,7 @@ cc_test( ":localization_pyramid_map_pyramid_map", ":localization_pyramid_map_pyramid_map_pool", "//modules/localization/msf/local_pyramid_map/base_map:localization_pyramid_map_base_map", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -176,7 +176,7 @@ cc_test( deps = [ ":localization_pyramid_map_pyramid_map", ":localization_pyramid_map_pyramid_map_pool", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/localization/ndt/BUILD b/modules/localization/ndt/BUILD index 61d65dd55b0..2551656248e 100644 --- a/modules/localization/ndt/BUILD +++ b/modules/localization/ndt/BUILD @@ -55,7 +55,7 @@ cc_test( deps = [ "//cyber", "//modules/localization/ndt:ndt_localization_component_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -67,7 +67,7 @@ cc_test( deps = [ "//cyber", "//modules/localization/ndt:ndt_localization_component_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/localization/ndt/ndt_locator/BUILD b/modules/localization/ndt/ndt_locator/BUILD index edd420bf648..834b03efafe 100644 --- a/modules/localization/ndt/ndt_locator/BUILD +++ b/modules/localization/ndt/ndt_locator/BUILD @@ -45,7 +45,7 @@ cc_test( "//cyber", "//modules/localization/msf/common/io:localization_msf_common_io", "//modules/localization/ndt/ndt_locator:ndt_lidar_locator", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -62,7 +62,7 @@ cc_test( "//cyber", "//modules/localization/msf/common/io:localization_msf_common_io", "//modules/localization/ndt/ndt_locator:ndt_lidar_locator", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/localization/rtk/BUILD b/modules/localization/rtk/BUILD index 8febfcf228b..b8507f880a5 100644 --- a/modules/localization/rtk/BUILD +++ b/modules/localization/rtk/BUILD @@ -26,8 +26,8 @@ cc_library( "//modules/localization/proto:localization_proto", "//modules/localization/proto:rtk_config_proto", "//modules/transform:transform_broadcaster_lib", + "@com_google_googletest//:gtest", "@eigen", - "@gtest", ], ) @@ -48,7 +48,7 @@ cc_test( "//modules/common/time", "//modules/common/util", "//modules/localization/rtk:rtk_localization_component_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/map/hdmap/BUILD b/modules/map/hdmap/BUILD index 1a0a1550421..3f9d660be60 100644 --- a/modules/map/hdmap/BUILD +++ b/modules/map/hdmap/BUILD @@ -66,8 +66,8 @@ cc_test( deps = [ ":hdmap", "//cyber/common:file", + "@com_google_googletest//:gtest_main", "@glog", - "@gtest//:main", ], ) @@ -81,8 +81,8 @@ cc_test( ], deps = [ ":hdmap_util", + "@com_google_googletest//:gtest_main", "@glog", - "@gtest//:main", ], ) diff --git a/modules/map/pnc_map/BUILD b/modules/map/pnc_map/BUILD index 7df8763c062..fce3d571adb 100644 --- a/modules/map/pnc_map/BUILD +++ b/modules/map/pnc_map/BUILD @@ -23,8 +23,8 @@ cc_test( ], deps = [ "//modules/common/math", + "@com_google_googletest//:gtest_main", "@cuda", - "@gtest//:main", ], ) @@ -68,7 +68,7 @@ cc_library( "//modules/map/hdmap", "//modules/planning/common:planning_gflags", "//modules/routing/common:routing_gflags", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -86,7 +86,7 @@ cc_test( deps = [ ":path", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -101,7 +101,7 @@ cc_test( deps = [ ":pnc_map", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -116,7 +116,7 @@ cc_test( deps = [ ":route_segments", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/map/relative_map/BUILD b/modules/map/relative_map/BUILD index ce23893e6c1..46eeb0523ad 100644 --- a/modules/map/relative_map/BUILD +++ b/modules/map/relative_map/BUILD @@ -84,7 +84,7 @@ cc_test( deps = [ ":relative_map_component_lib", "//third_party/json", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/monitor/common/BUILD b/modules/monitor/common/BUILD index 4e39651bace..92a24272bfc 100644 --- a/modules/monitor/common/BUILD +++ b/modules/monitor/common/BUILD @@ -17,7 +17,7 @@ cc_test( srcs = ["recurrent_runner_test.cc"], deps = [ ":recurrent_runner", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/base/BUILD b/modules/perception/base/BUILD index 8ce0b6a9925..a5ccfd7773c 100644 --- a/modules/perception/base/BUILD +++ b/modules/perception/base/BUILD @@ -55,8 +55,8 @@ cc_test( deps = [ ":blob", "//modules/perception/base/test:test_helper", + "@com_google_googletest//:gtest_main", "@cuda", - "@gtest//:main", ], ) @@ -77,7 +77,7 @@ cc_test( srcs = ["box_test.cc"], deps = [ ":box", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -96,7 +96,7 @@ cc_test( srcs = ["camera_test.cc"], deps = [ ":camera", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -114,7 +114,7 @@ cc_test( srcs = ["common_test.cc"], deps = [ ":common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -135,7 +135,7 @@ cc_test( srcs = ["distortion_model_test.cc"], deps = [ ":distortion_model", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -171,7 +171,7 @@ cc_test( size = "small", deps = [ ":image", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -190,7 +190,7 @@ cc_test( srcs = ["impending_collision_edge_test.cc"], deps = [ ":impending_collision_edge", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -216,7 +216,7 @@ cc_test( srcs = ["object_test.cc"], deps = [ ":object", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -243,8 +243,8 @@ cc_test( ":object_pool_types", ":point_cloud", "//cyber", + "@com_google_googletest//:gtest_main", "@eigen", - "@gtest//:main", ], ) @@ -281,7 +281,7 @@ cc_test( srcs = ["omnidirectional_model_test.cc"], deps = [ ":omnidirectional_model", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -317,7 +317,7 @@ cc_test( srcs = ["point_cloud_test.cc"], deps = [ ":point_cloud", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -333,7 +333,7 @@ cc_test( srcs = ["polynomial_test.cc"], deps = [ ":polynomial", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -354,8 +354,8 @@ cc_test( deps = [ ":syncedmem", "//modules/perception/base/test:test_helper", + "@com_google_googletest//:gtest_main", "@cuda", - "@gtest//:main", ], ) diff --git a/modules/perception/base/test/BUILD b/modules/perception/base/test/BUILD index 2a1c6220263..474a9388b20 100644 --- a/modules/perception/base/test/BUILD +++ b/modules/perception/base/test/BUILD @@ -6,7 +6,7 @@ cc_library( name = "test_helper", hdrs = ["test_helper.h"], deps = [ - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/camera/test/BUILD b/modules/perception/camera/test/BUILD index fb404619805..48267982bba 100644 --- a/modules/perception/camera/test/BUILD +++ b/modules/perception/camera/test/BUILD @@ -15,8 +15,8 @@ cc_test( "//modules/perception/inference:inference_factory_lib", "//modules/perception/inference/operators:perception_inference_operators", "@caffe", + "@com_google_googletest//:gtest_main", "@com_google_protobuf//:protobuf", - "@gtest//:main", "@opencv", "@tensorrt", "@yaml_cpp//:yaml", @@ -37,7 +37,7 @@ cc_test( # "@com_google_protobuf//:protobuf", # "@opencv", # "@tensorrt", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # "@yaml_cpp//:yaml", # ], #) @@ -49,7 +49,7 @@ cc_test( "//modules/perception/base", "//modules/perception/camera/common:camera_ground_plane", "//modules/perception/common/io:io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@yaml_cpp//:yaml", ], ) @@ -73,8 +73,8 @@ cc_test( "//modules/perception/inference:inference_factory_lib", "//modules/perception/inference/operators:perception_inference_operators", "@caffe", + "@com_google_googletest//:gtest_main", "@com_google_protobuf//:protobuf", - "@gtest//:main", "@opencv", "@tensorrt", "@yaml_cpp//:yaml", @@ -94,8 +94,8 @@ cc_test( "//modules/perception/inference:inference_factory_lib", "//modules/perception/inference/operators:perception_inference_operators", "@caffe", + "@com_google_googletest//:gtest_main", "@com_google_protobuf//:protobuf", - "@gtest//:main", "@opencv", "@tensorrt", "@yaml_cpp//:yaml", @@ -129,7 +129,7 @@ cc_library( # "@com_google_protobuf//:protobuf", # "@opencv", # "@tensorrt", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # "@yaml_cpp//:yaml", # ":camera_common_undistortion", # ":camera_common_io_util", @@ -151,8 +151,8 @@ cc_test( "//modules/perception/inference/utils:inference_cuda_util_lib", "//modules/perception/inference/utils:inference_util_lib", "@caffe", + "@com_google_googletest//:gtest_main", "@com_google_protobuf//:protobuf", - "@gtest//:main", "@opencv", "@tensorrt", "@yaml_cpp//:yaml", @@ -171,8 +171,8 @@ cc_test( "//modules/perception/inference:inference_factory_lib", "//modules/perception/inference/operators:perception_inference_operators", "@caffe", + "@com_google_googletest//:gtest_main", "@com_google_protobuf//:protobuf", - "@gtest//:main", "@opencv", "@tensorrt", "@yaml_cpp//:yaml", @@ -189,7 +189,7 @@ cc_test( "//modules/perception/camera/lib/calibration_service/online_calibration_service", "//modules/perception/camera/lib/calibrator/laneline:laneline_calibrator", "//modules/perception/common/io:io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@yaml_cpp//:yaml", ], ) @@ -200,7 +200,7 @@ cc_test( srcs = ["camera_lib_calibrator_common_histogram_estimator_test.cc"], deps = [ "//modules/perception/camera/lib/calibrator/common:histogram_estimator", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -249,7 +249,7 @@ cc_library( # ":camera_lib_calibrator_laneline_lane_calibrator_util", # ":camera_lib_calibrator_laneline_lane_io", # "//modules/perception/camera/lib/calibrator/laneline:laneline_calibrator", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # "@opencv", # ], # ) @@ -260,7 +260,7 @@ cc_test( srcs = ["camera_lib_dummy_algorithms_test.cc"], deps = [ "//modules/perception/camera/lib/dummy:dummy_algorithms", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -275,7 +275,7 @@ cc_test( "//modules/perception/inference/utils:inference_cuda_util_lib", "//modules/perception/inference/utils:inference_gemm_lib", "//modules/perception/inference/utils:inference_util_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -285,7 +285,7 @@ cc_test( srcs = ["camera_lib_interface_test.cc"], deps = [ "//modules/perception/camera/lib/interface", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -298,7 +298,7 @@ cc_test( "//modules/perception/base", "//modules/perception/camera/lib/lane/common:common_functions", "//modules/perception/common/io:io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@opencv", "@yaml_cpp//:yaml", ], @@ -313,7 +313,7 @@ cc_test( "//modules/perception/base", "//modules/perception/camera/lib/lane/detector/denseline:denseline_lane_detector", "//modules/perception/common/io:io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@opencv", ], ) @@ -331,7 +331,7 @@ cc_test( "//modules/perception/camera/lib/lane/detector/denseline:denseline_lane_detector", "//modules/perception/camera/lib/lane/postprocessor/denseline:denseline_lane_postprocessor", "//modules/perception/common/io:io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@opencv", ], ) @@ -345,7 +345,7 @@ cc_test( "//modules/perception/base", "//modules/perception/camera/lib/lane/detector/darkSCNN:darkSCNN_lane_detector", "//modules/perception/common/io:io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@opencv", ], ) @@ -364,7 +364,7 @@ cc_test( "//modules/perception/camera/lib/lane/postprocessor/darkSCNN:darkSCNN_lane_postprocessor", "//modules/perception/camera/tools/offline:visualizer", "//modules/perception/common/io:io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@opencv", ], ) @@ -379,7 +379,7 @@ cc_test( "//modules/perception/common/io:io_util", "//modules/perception/inference/utils:inference_cuda_util_lib", "//modules/perception/inference/utils:inference_gemm_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -392,7 +392,7 @@ cc_test( "//modules/perception/common/io:io_util", "//modules/perception/inference/utils:inference_cuda_util_lib", "//modules/perception/inference/utils:inference_util_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@opencv", "@yaml_cpp//:yaml", ], @@ -408,7 +408,7 @@ cc_test( "//modules/perception/camera/lib/calibrator/laneline:laneline_calibrator", "//modules/perception/camera/lib/obstacle/postprocessor/location_refiner:location_refiner_obstacle_postprocessor", "//modules/perception/common/io:io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -424,8 +424,8 @@ cc_test( "//modules/perception/inference/utils:inference_cuda_util_lib", "//modules/perception/inference/utils:inference_gemm_lib", "//modules/perception/inference/utils:inference_util_lib", + "@com_google_googletest//:gtest_main", "@eigen", - "@gtest//:main", ], ) @@ -436,7 +436,7 @@ cc_test( deps = [ "//modules/perception/camera/common", "//modules/perception/camera/lib/obstacle/tracker/omt:frame_list", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -452,7 +452,7 @@ cc_test( # "//modules/perception/common/geometry:common", # "//modules/perception/common/io:io_util", # "@com_google_absl//absl/strings", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # "@opencv", # "@yaml_cpp//:yaml", # ], @@ -469,7 +469,7 @@ cc_test( # "//modules/perception/camera/lib/obstacle/tracker/omt:frame_list", # "//modules/perception/camera/lib/obstacle/tracker/omt:omt_proto", # "//modules/perception/camera/lib/obstacle/tracker/omt:target", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # ], # ) @@ -485,7 +485,7 @@ cc_test( "//modules/perception/camera/lib/obstacle/tracker/omt:omt_proto", "//modules/perception/camera/lib/obstacle/tracker/omt:target", "//modules/perception/inference/utils:inference_gemm_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -501,7 +501,7 @@ cc_test( "//modules/perception/inference/utils:inference_cuda_util_lib", "//modules/perception/inference/utils:inference_resize_lib", "//modules/perception/inference/utils:inference_util_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@opencv", ], ) @@ -516,8 +516,8 @@ cc_test( deps = [ "//modules/perception/camera/lib/traffic_light/detector/detection:cropbox", "@caffe", + "@com_google_googletest//:gtest_main", "@com_google_protobuf//:protobuf", - "@gtest//:main", "@opencv", "@tensorrt", "@yaml_cpp//:yaml", @@ -538,7 +538,7 @@ cc_test( # "@com_google_protobuf//:protobuf", # "@opencv", # "@tensorrt", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # "@yaml_cpp//:yaml", # ], # ) @@ -557,7 +557,7 @@ cc_test( # "@com_google_protobuf//:protobuf", # "@opencv", # "@tensorrt", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # "@yaml_cpp//:yaml", # ], #) @@ -573,8 +573,8 @@ cc_test( "//modules/perception/inference:inference_factory_lib", "//modules/perception/inference/operators:perception_inference_operators", "@caffe", + "@com_google_googletest//:gtest_main", "@com_google_protobuf//:protobuf", - "@gtest//:main", "@opencv", "@tensorrt", "@yaml_cpp//:yaml", @@ -595,7 +595,7 @@ cc_test( # "//modules/perception/inference/operators:perception_inference_operators", # "@caffe", # "@com_google_protobuf//:protobuf", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # "@opencv", # "@tensorrt", # "@yaml_cpp//:yaml", @@ -617,8 +617,8 @@ cc_test( "//modules/perception/inference:inference_factory_lib", "//modules/perception/inference/operators:perception_inference_operators", "@caffe", + "@com_google_googletest//:gtest_main", "@com_google_protobuf//:protobuf", - "@gtest//:main", "@opencv", "@tensorrt", "@yaml_cpp//:yaml", @@ -640,7 +640,7 @@ cc_test( "//modules/perception/base:distortion_model", "//modules/perception/camera/app:cipv_camera", "//modules/perception/common/io:io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/camera/tools/obstacle_detection/BUILD b/modules/perception/camera/tools/obstacle_detection/BUILD index a49e2d92dab..2f27f2c31a5 100644 --- a/modules/perception/camera/tools/obstacle_detection/BUILD +++ b/modules/perception/camera/tools/obstacle_detection/BUILD @@ -10,7 +10,7 @@ cc_binary( "//modules/perception/camera/lib/interface", "//modules/perception/common/io:io_util", "@boost", - "@gtest", + "@com_google_googletest//:gtest", "@opencv", ], ) diff --git a/modules/perception/common/geometry/BUILD b/modules/perception/common/geometry/BUILD index 194d3d49f16..82f33e4520c 100644 --- a/modules/perception/common/geometry/BUILD +++ b/modules/perception/common/geometry/BUILD @@ -57,7 +57,7 @@ cc_test( srcs = ["basic_test.cc"], deps = [ ":basic", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -67,7 +67,7 @@ cc_test( srcs = ["camera_homography_test.cc"], deps = [ ":camera_homography", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -77,7 +77,7 @@ cc_test( srcs = ["roi_filter_test.cc"], deps = [ ":roi_filter", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -88,7 +88,7 @@ cc_test( deps = [ ":convex_hull_2d", "//modules/perception/base:point_cloud", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/common/graph/BUILD b/modules/perception/common/graph/BUILD index f74a73ce98b..991c2b16ebd 100644 --- a/modules/perception/common/graph/BUILD +++ b/modules/perception/common/graph/BUILD @@ -27,7 +27,7 @@ cc_test( srcs = ["disjoint_set_test.cc"], deps = [ ":disjoint_set", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -47,7 +47,7 @@ cc_test( srcs = ["graph_segmentor_test.cc"], deps = [ ":graph_segmentor", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -65,8 +65,8 @@ cc_test( srcs = ["secure_matrix_test.cc"], deps = [ ":secure_matrix", + "@com_google_googletest//:gtest_main", "@eigen", - "@gtest//:main", ], ) @@ -85,7 +85,7 @@ cc_test( deps = [ ":hungarian_optimizer", ":secure_matrix", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -104,8 +104,8 @@ cc_test( srcs = ["connected_component_analysis_test.cc"], deps = [ ":connected_component_analysis", + "@com_google_googletest//:gtest_main", "@eigen", - "@gtest//:main", ], ) @@ -125,7 +125,7 @@ cc_test( srcs = ["conditional_clustering_test.cc"], deps = [ ":conditional_clustering", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -146,7 +146,7 @@ cc_test( srcs = ["gated_hungarian_bigraph_matcher_test.cc"], deps = [ ":gated_hungarian_bigraph_matcher", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/common/image_processing/BUILD b/modules/perception/common/image_processing/BUILD index 0a17094c1a6..b5b6230382e 100644 --- a/modules/perception/common/image_processing/BUILD +++ b/modules/perception/common/image_processing/BUILD @@ -14,7 +14,7 @@ cc_test( srcs = ["hough_transfer_test.cc"], deps = [ ":hough_transfer", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/common/io/BUILD b/modules/perception/common/io/BUILD index b92b4ebaaa7..b735c6c17f5 100644 --- a/modules/perception/common/io/BUILD +++ b/modules/perception/common/io/BUILD @@ -28,7 +28,7 @@ cc_test( ], deps = [ ":io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/common/point_cloud_processing/BUILD b/modules/perception/common/point_cloud_processing/BUILD index ba72d507053..39e02018101 100644 --- a/modules/perception/common/point_cloud_processing/BUILD +++ b/modules/perception/common/point_cloud_processing/BUILD @@ -23,7 +23,7 @@ cc_library( ], deps = [ ":point_cloud_processing", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/common/sensor_manager/BUILD b/modules/perception/common/sensor_manager/BUILD index 21a020bc4f9..23330af4f0a 100644 --- a/modules/perception/common/sensor_manager/BUILD +++ b/modules/perception/common/sensor_manager/BUILD @@ -29,7 +29,7 @@ cc_test( ], deps = [ ":sensor_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/fusion/base/BUILD b/modules/perception/fusion/base/BUILD index 7c65bd45350..1645623e88c 100644 --- a/modules/perception/fusion/base/BUILD +++ b/modules/perception/fusion/base/BUILD @@ -76,7 +76,7 @@ cc_test( srcs = ["sensor_frame_test.cc"], deps = [ ":sensor", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -86,7 +86,7 @@ cc_test( srcs = ["sensor_test.cc"], deps = [ ":sensor", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -96,7 +96,7 @@ cc_test( srcs = ["sensor_object_test.cc"], deps = [ ":sensor", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -121,7 +121,7 @@ cc_test( ], deps = [ ":sensor_data_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -140,7 +140,7 @@ cc_test( srcs = ["track_test.cc"], deps = [ ":track", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/fusion/common/BUILD b/modules/perception/fusion/common/BUILD index 337da87c296..1a4f36c42d4 100644 --- a/modules/perception/fusion/common/BUILD +++ b/modules/perception/fusion/common/BUILD @@ -28,7 +28,7 @@ cc_test( deps = [ ":camera_util", "//modules/perception/fusion/base", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -48,7 +48,7 @@ cc_test( deps = [ ":dst_evidence", "//modules/perception/fusion/base", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -68,7 +68,7 @@ cc_test( deps = [ ":information_filter", "//modules/perception/fusion/base", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -89,7 +89,7 @@ cc_test( deps = [ ":kalman_filter", "//modules/perception/fusion/base", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/fusion/lib/data_association/hm_data_association/BUILD b/modules/perception/fusion/lib/data_association/hm_data_association/BUILD index bfdf92fcc1d..a49b9aabe50 100644 --- a/modules/perception/fusion/lib/data_association/hm_data_association/BUILD +++ b/modules/perception/fusion/lib/data_association/hm_data_association/BUILD @@ -83,7 +83,7 @@ cc_test( "//modules/perception/common/sensor_manager", "//modules/perception/fusion/base:sensor", "//modules/perception/fusion/base:track", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -100,7 +100,7 @@ cc_test( "//modules/perception/common/sensor_manager", "//modules/perception/fusion/base:sensor", "//modules/perception/fusion/base:track", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -115,7 +115,7 @@ cc_test( "//modules/perception/common/sensor_manager", "//modules/perception/fusion/base:sensor", "//modules/perception/fusion/base:track", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/fusion/lib/data_fusion/existance_fusion/dst_existance_fusion/BUILD b/modules/perception/fusion/lib/data_fusion/existance_fusion/dst_existance_fusion/BUILD index d89f8f71a07..36801aaa977 100644 --- a/modules/perception/fusion/lib/data_fusion/existance_fusion/dst_existance_fusion/BUILD +++ b/modules/perception/fusion/lib/data_fusion/existance_fusion/dst_existance_fusion/BUILD @@ -23,7 +23,7 @@ cc_test( srcs = ["dst_existance_fusion_test.cc"], deps = [ ":dst_existance_fusion", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/fusion/lib/data_fusion/motion_fusion/kalman_motion_fusion/BUILD b/modules/perception/fusion/lib/data_fusion/motion_fusion/kalman_motion_fusion/BUILD index 8d6f04ce27b..ff899fa567f 100644 --- a/modules/perception/fusion/lib/data_fusion/motion_fusion/kalman_motion_fusion/BUILD +++ b/modules/perception/fusion/lib/data_fusion/motion_fusion/kalman_motion_fusion/BUILD @@ -25,7 +25,7 @@ cc_test( srcs = ["kalman_motion_fusion_test.cc"], deps = [ ":kalman_motion_fusion", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/fusion/lib/data_fusion/shape_fusion/pbf_shape_fusion/BUILD b/modules/perception/fusion/lib/data_fusion/shape_fusion/pbf_shape_fusion/BUILD index 34266a36536..a448857c6f8 100644 --- a/modules/perception/fusion/lib/data_fusion/shape_fusion/pbf_shape_fusion/BUILD +++ b/modules/perception/fusion/lib/data_fusion/shape_fusion/pbf_shape_fusion/BUILD @@ -23,7 +23,7 @@ cc_test( "//modules/perception/base:base_type", "//modules/perception/base:frame", "//modules/perception/common:perception_gflags", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/fusion/lib/data_fusion/tracker/pbf_tracker/BUILD b/modules/perception/fusion/lib/data_fusion/tracker/pbf_tracker/BUILD index e7fcd4839d2..e295223a679 100644 --- a/modules/perception/fusion/lib/data_fusion/tracker/pbf_tracker/BUILD +++ b/modules/perception/fusion/lib/data_fusion/tracker/pbf_tracker/BUILD @@ -24,7 +24,7 @@ cc_test( deps = [ ":pbf_tracker", "//modules/perception/common:perception_gflags", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/fusion/lib/data_fusion/type_fusion/dst_type_fusion/BUILD b/modules/perception/fusion/lib/data_fusion/type_fusion/dst_type_fusion/BUILD index be603a8be8a..aa6e230f3a5 100644 --- a/modules/perception/fusion/lib/data_fusion/type_fusion/dst_type_fusion/BUILD +++ b/modules/perception/fusion/lib/data_fusion/type_fusion/dst_type_fusion/BUILD @@ -29,7 +29,7 @@ cc_test( "//modules/perception/base:base_type", "//modules/perception/base:frame", "//modules/perception/common:perception_gflags", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/fusion/lib/dummy/BUILD b/modules/perception/fusion/lib/dummy/BUILD index e7140af8646..8a7d60c4efd 100644 --- a/modules/perception/fusion/lib/dummy/BUILD +++ b/modules/perception/fusion/lib/dummy/BUILD @@ -20,7 +20,7 @@ cc_test( srcs = ["dummy_algorithms_test.cc"], deps = [ ":dummy_algorithms", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/fusion/lib/fusion_system/probabilistic_fusion/BUILD b/modules/perception/fusion/lib/fusion_system/probabilistic_fusion/BUILD index 40ddef2d851..b204511723a 100644 --- a/modules/perception/fusion/lib/fusion_system/probabilistic_fusion/BUILD +++ b/modules/perception/fusion/lib/fusion_system/probabilistic_fusion/BUILD @@ -40,7 +40,7 @@ cc_test( srcs = ["probabilistic_fusion_test.cc"], deps = [ ":probabilistic_fusion", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/fusion/lib/gatekeeper/pbf_gatekeeper/BUILD b/modules/perception/fusion/lib/gatekeeper/pbf_gatekeeper/BUILD index c9e46c556cc..b6e3462aa4d 100644 --- a/modules/perception/fusion/lib/gatekeeper/pbf_gatekeeper/BUILD +++ b/modules/perception/fusion/lib/gatekeeper/pbf_gatekeeper/BUILD @@ -26,7 +26,7 @@ cc_test( "//modules/perception/common/sensor_manager", "//modules/perception/fusion/base:sensor", "//modules/perception/fusion/base:track", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/inference/BUILD b/modules/perception/inference/BUILD index 4467c2ee06b..2b455a97ee5 100644 --- a/modules/perception/inference/BUILD +++ b/modules/perception/inference/BUILD @@ -17,7 +17,7 @@ cc_test( srcs = ["layer_test.cc"], deps = [ ":layer_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -36,7 +36,7 @@ cc_test( srcs = ["inference_test.cc"], deps = [ ":inference_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -59,7 +59,7 @@ cc_test( srcs = ["inference_factory_test.cc"], deps = [ ":inference_factory_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/inference/caffe/BUILD b/modules/perception/inference/caffe/BUILD index ed94da81e82..2be560060b0 100644 --- a/modules/perception/inference/caffe/BUILD +++ b/modules/perception/inference/caffe/BUILD @@ -23,7 +23,7 @@ cc_test( deps = [ ":caffe_net_lib", "//modules/perception/inference/utils:inference_util_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/inference/operators/BUILD b/modules/perception/inference/operators/BUILD index b79b66a4a4a..388123a1d08 100644 --- a/modules/perception/inference/operators/BUILD +++ b/modules/perception/inference/operators/BUILD @@ -36,7 +36,7 @@ cc_library( # srcs = ["roipooling_layer_test.cc"], # deps = [ # ":perception_inference_operators", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # ], #) diff --git a/modules/perception/inference/tensorrt/BUILD b/modules/perception/inference/tensorrt/BUILD index 8f2b09be688..ee462a39867 100644 --- a/modules/perception/inference/tensorrt/BUILD +++ b/modules/perception/inference/tensorrt/BUILD @@ -21,7 +21,7 @@ cc_test( srcs = ["rt_common_test.cc"], deps = [ ":rt_common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -42,7 +42,7 @@ cc_test( srcs = ["rt_utils_test.cc"], deps = [ ":rt_utils", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -80,7 +80,7 @@ cc_test( deps = [ ":rt_net", "//modules/perception/inference:inference_factory_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -107,7 +107,7 @@ cc_test( ], deps = [ ":entropy_calibrator", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -135,7 +135,7 @@ cc_test( ], deps = [ ":batch_stream", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/inference/tensorrt/plugins/BUILD b/modules/perception/inference/tensorrt/plugins/BUILD index bf6ac93cd55..12cdcc8735e 100644 --- a/modules/perception/inference/tensorrt/plugins/BUILD +++ b/modules/perception/inference/tensorrt/plugins/BUILD @@ -74,7 +74,7 @@ cc_test( deps = [ ":perception_inference_tensorrt_plugins", "//modules/perception/inference/tensorrt:rt_common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -85,7 +85,7 @@ cc_test( deps = [ ":perception_inference_tensorrt_plugins", "//modules/perception/inference/tensorrt:rt_common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/inference/utils/BUILD b/modules/perception/inference/utils/BUILD index 3b3a7623ea8..43dbf982f10 100644 --- a/modules/perception/inference/utils/BUILD +++ b/modules/perception/inference/utils/BUILD @@ -116,7 +116,7 @@ cc_test( ], deps = [ ":inference_util_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -141,7 +141,7 @@ cc_test( ], deps = [ ":inference_binary_data_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lib/config_manager/BUILD b/modules/perception/lib/config_manager/BUILD index 630bbb8dbd2..ec30b3bc80a 100644 --- a/modules/perception/lib/config_manager/BUILD +++ b/modules/perception/lib/config_manager/BUILD @@ -25,7 +25,7 @@ cc_test( ], deps = [ ":config_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lib/registerer/BUILD b/modules/perception/lib/registerer/BUILD index 4b4e1f3224c..330b3e0c74e 100644 --- a/modules/perception/lib/registerer/BUILD +++ b/modules/perception/lib/registerer/BUILD @@ -17,7 +17,7 @@ cc_test( srcs = ["registerer_test.cc"], deps = [ ":registerer", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lib/thread/BUILD b/modules/perception/lib/thread/BUILD index 10337f8eebe..37d75f7afb7 100644 --- a/modules/perception/lib/thread/BUILD +++ b/modules/perception/lib/thread/BUILD @@ -32,7 +32,7 @@ cc_test( srcs = ["concurrent_queue_test.cc"], deps = [ ":thread", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -42,8 +42,8 @@ cc_test( srcs = ["thread_pool_test.cc"], deps = [ ":thread", + "@com_google_googletest//:gtest_main", "@com_google_protobuf//:protobuf", - "@gtest//:main", ], ) @@ -53,7 +53,7 @@ cc_test( srcs = ["thread_test.cc"], deps = [ ":thread", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -63,7 +63,7 @@ cc_test( srcs = ["thread_worker_test.cc"], deps = [ ":thread", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lib/utils/BUILD b/modules/perception/lib/utils/BUILD index 78adc84e112..c079badf713 100644 --- a/modules/perception/lib/utils/BUILD +++ b/modules/perception/lib/utils/BUILD @@ -32,7 +32,7 @@ cc_test( srcs = ["timer_test.cc"], deps = [ ":perception_timer", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -47,7 +47,7 @@ cc_test( srcs = ["time_util_test.cc"], deps = [ ":perception_time_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lidar/app/BUILD b/modules/perception/lidar/app/BUILD index a0555e83e56..b185d08c044 100644 --- a/modules/perception/lidar/app/BUILD +++ b/modules/perception/lidar/app/BUILD @@ -56,7 +56,7 @@ cc_test( ":app", "//external:gflags", "//modules/perception/common/io:io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lidar/common/BUILD b/modules/perception/lidar/common/BUILD index 30d70beb1ad..fa6a54f1b7f 100644 --- a/modules/perception/lidar/common/BUILD +++ b/modules/perception/lidar/common/BUILD @@ -31,7 +31,7 @@ cc_test( srcs = ["cloud_mask_test.cc"], deps = [ ":cloud_mask", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lidar/lib/classifier/fused_classifier/BUILD b/modules/perception/lidar/lib/classifier/fused_classifier/BUILD index 253f5e38480..6ed15e9b9c4 100644 --- a/modules/perception/lidar/lib/classifier/fused_classifier/BUILD +++ b/modules/perception/lidar/lib/classifier/fused_classifier/BUILD @@ -62,7 +62,7 @@ cc_library( deps = [ ":fused_classifier", ":util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lidar/lib/dummy/BUILD b/modules/perception/lidar/lib/dummy/BUILD index 8d8ba3baefb..911a0768a0f 100644 --- a/modules/perception/lidar/lib/dummy/BUILD +++ b/modules/perception/lidar/lib/dummy/BUILD @@ -37,7 +37,7 @@ cc_test( srcs = ["dummy_algorithms_test.cc"], deps = [ ":dummy_algorithms", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lidar/lib/ground_detector/ground_service_detector/BUILD b/modules/perception/lidar/lib/ground_detector/ground_service_detector/BUILD index 1ee9711bc22..89cd3288b89 100644 --- a/modules/perception/lidar/lib/ground_detector/ground_service_detector/BUILD +++ b/modules/perception/lidar/lib/ground_detector/ground_service_detector/BUILD @@ -33,7 +33,7 @@ cc_test( ":ground_service_detector", "//modules/perception/common:perception_gflags", "//modules/perception/common/io:io_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lidar/lib/ground_detector/spatio_temporal_ground_detector/BUILD b/modules/perception/lidar/lib/ground_detector/spatio_temporal_ground_detector/BUILD index 26a7aad35c7..23d4f73c2a1 100644 --- a/modules/perception/lidar/lib/ground_detector/spatio_temporal_ground_detector/BUILD +++ b/modules/perception/lidar/lib/ground_detector/spatio_temporal_ground_detector/BUILD @@ -35,7 +35,7 @@ cc_test( copts = ["-msse4.1"], deps = [ ":spatio_temporal_ground_detector", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@pcl", ], ) diff --git a/modules/perception/lidar/lib/map_manager/BUILD b/modules/perception/lidar/lib/map_manager/BUILD index b4f658c49f7..970c983b2a0 100644 --- a/modules/perception/lidar/lib/map_manager/BUILD +++ b/modules/perception/lidar/lib/map_manager/BUILD @@ -24,7 +24,7 @@ cc_library( # srcs = ["map_manager_test.cc"], # deps = [ # ":map_manager", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # ], #) diff --git a/modules/perception/lidar/lib/object_filter_bank/BUILD b/modules/perception/lidar/lib/object_filter_bank/BUILD index 68999e5d8d9..d1a5b9417f5 100644 --- a/modules/perception/lidar/lib/object_filter_bank/BUILD +++ b/modules/perception/lidar/lib/object_filter_bank/BUILD @@ -24,7 +24,7 @@ cc_test( srcs = ["object_filter_bank_test.cc"], deps = [ ":object_filter_bank", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lidar/lib/object_filter_bank/roi_boundary_filter/BUILD b/modules/perception/lidar/lib/object_filter_bank/roi_boundary_filter/BUILD index 604326eea6c..b2d8ae435a6 100644 --- a/modules/perception/lidar/lib/object_filter_bank/roi_boundary_filter/BUILD +++ b/modules/perception/lidar/lib/object_filter_bank/roi_boundary_filter/BUILD @@ -25,7 +25,7 @@ cc_test( deps = [ ":roi_boundary_filter", "//modules/perception/common:perception_gflags", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/lidar/lib/roi_filter/hdmap_roi_filter/BUILD b/modules/perception/lidar/lib/roi_filter/hdmap_roi_filter/BUILD index 2afc06581b2..74d8bf176a7 100644 --- a/modules/perception/lidar/lib/roi_filter/hdmap_roi_filter/BUILD +++ b/modules/perception/lidar/lib/roi_filter/hdmap_roi_filter/BUILD @@ -40,7 +40,7 @@ cc_library( # srcs = ["hdmap_roi_filter_test.cc"], # deps = [ # ":hdmap_roi_filter", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # ], #) diff --git a/modules/perception/lidar/lib/roi_filter/roi_service_filter/BUILD b/modules/perception/lidar/lib/roi_filter/roi_service_filter/BUILD index 302c45b8924..ce801ffe531 100644 --- a/modules/perception/lidar/lib/roi_filter/roi_service_filter/BUILD +++ b/modules/perception/lidar/lib/roi_filter/roi_service_filter/BUILD @@ -41,7 +41,7 @@ cc_library( # "//modules/perception/lidar/lib/roi_filter/hdmap_roi_filter", # "//modules/perception/map/hdmap:hdmap_input", # "//modules/perception/lidar/lib/scene_manager/ground_service:ground_service", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # ], #) diff --git a/modules/perception/lidar/lib/scene_manager/BUILD b/modules/perception/lidar/lib/scene_manager/BUILD index d88f203335e..c5a97a7ab68 100644 --- a/modules/perception/lidar/lib/scene_manager/BUILD +++ b/modules/perception/lidar/lib/scene_manager/BUILD @@ -41,7 +41,7 @@ cc_test( "//modules/perception/lidar/lib/scene_manager/ground_service", "//modules/perception/lidar/lib/scene_manager/roi_service", "//modules/perception/map/hdmap:hdmap_input", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@pcl", ], ) diff --git a/modules/perception/lidar/lib/segmentation/cnnseg/BUILD b/modules/perception/lidar/lib/segmentation/cnnseg/BUILD index d1ab5c6fbe9..552bd263189 100644 --- a/modules/perception/lidar/lib/segmentation/cnnseg/BUILD +++ b/modules/perception/lidar/lib/segmentation/cnnseg/BUILD @@ -78,7 +78,7 @@ cc_test( deps = [ ":cnn_segmentation", "//modules/perception/common:perception_gflags", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -90,7 +90,7 @@ cc_test( # ":feature_generator", # "//modules/perception/common:perception_gflags", # "//modules/perception/lidar/common:pcl_util", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # "@opencv2//:core", # "@opencv2//:highgui", # ], diff --git a/modules/perception/lidar/lib/segmentation/cnnseg/spp_engine/BUILD b/modules/perception/lidar/lib/segmentation/cnnseg/spp_engine/BUILD index 8651ec1bec6..ae4767a563a 100644 --- a/modules/perception/lidar/lib/segmentation/cnnseg/spp_engine/BUILD +++ b/modules/perception/lidar/lib/segmentation/cnnseg/spp_engine/BUILD @@ -42,7 +42,7 @@ cc_test( srcs = ["spp_cluster_list_test.cc"], deps = [ ":spp_cluster_list", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/map/hdmap/BUILD b/modules/perception/map/hdmap/BUILD index f506ebbf78e..2a70620409c 100644 --- a/modules/perception/map/hdmap/BUILD +++ b/modules/perception/map/hdmap/BUILD @@ -34,7 +34,7 @@ cc_library( # srcs = ["hdmap_input_test.cc"], # deps = [ # ":hdmap_input", -# "@gtest//:main", +# "@com_google_googletest//:gtest_main", # "//modules/perception/base:base_type", # "//modules/perception/base:point_cloud", # "//modules/perception/common/geometry:common", diff --git a/modules/perception/radar/lib/detector/conti_ars_detector/BUILD b/modules/perception/radar/lib/detector/conti_ars_detector/BUILD index 65a137b4724..40b9ce7f72d 100644 --- a/modules/perception/radar/lib/detector/conti_ars_detector/BUILD +++ b/modules/perception/radar/lib/detector/conti_ars_detector/BUILD @@ -8,7 +8,7 @@ cc_test( srcs = ["conti_ars_detector_test.cc"], deps = [ ":conti_ars_detector", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/radar/lib/dummy/BUILD b/modules/perception/radar/lib/dummy/BUILD index 1e546f27f76..cadafa7c940 100644 --- a/modules/perception/radar/lib/dummy/BUILD +++ b/modules/perception/radar/lib/dummy/BUILD @@ -8,7 +8,7 @@ cc_test( srcs = ["dummy_algorithms_test.cc"], deps = [ ":dummy_algorithms", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/radar/lib/interface/BUILD b/modules/perception/radar/lib/interface/BUILD index 2261cc9788c..01d5c8934f4 100644 --- a/modules/perception/radar/lib/interface/BUILD +++ b/modules/perception/radar/lib/interface/BUILD @@ -9,7 +9,7 @@ cc_test( deps = [ ":base_matcher", "//modules/perception/radar/lib/tracker/common:radar_track_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/radar/lib/preprocessor/conti_ars_preprocessor/BUILD b/modules/perception/radar/lib/preprocessor/conti_ars_preprocessor/BUILD index 33d98888835..39d37e7d2d1 100644 --- a/modules/perception/radar/lib/preprocessor/conti_ars_preprocessor/BUILD +++ b/modules/perception/radar/lib/preprocessor/conti_ars_preprocessor/BUILD @@ -8,7 +8,7 @@ cc_test( srcs = ["conti_ars_preprocessor_test.cc"], deps = [ ":conti_ars_preprocessor", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/radar/lib/roi_filter/hdmap_radar_roi_filter/BUILD b/modules/perception/radar/lib/roi_filter/hdmap_radar_roi_filter/BUILD index 48daf0dc542..6818b95b3fb 100644 --- a/modules/perception/radar/lib/roi_filter/hdmap_radar_roi_filter/BUILD +++ b/modules/perception/radar/lib/roi_filter/hdmap_radar_roi_filter/BUILD @@ -8,7 +8,7 @@ cc_test( srcs = ["hdmap_radar_roi_filter_test.cc"], deps = [ ":hdmap_radar_roi_filter", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/radar/lib/tracker/common/BUILD b/modules/perception/radar/lib/tracker/common/BUILD index d6bdf8e6711..7d783690cde 100644 --- a/modules/perception/radar/lib/tracker/common/BUILD +++ b/modules/perception/radar/lib/tracker/common/BUILD @@ -8,7 +8,7 @@ cc_test( srcs = ["radar_track_manager_test.cc"], deps = [ ":radar_track_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -18,7 +18,7 @@ cc_test( srcs = ["radar_track_test.cc"], deps = [ ":radar_track", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/radar/lib/tracker/conti_ars_tracker/BUILD b/modules/perception/radar/lib/tracker/conti_ars_tracker/BUILD index d85481fd085..984fc18495b 100644 --- a/modules/perception/radar/lib/tracker/conti_ars_tracker/BUILD +++ b/modules/perception/radar/lib/tracker/conti_ars_tracker/BUILD @@ -8,7 +8,7 @@ cc_test( srcs = ["conti_ars_tracker_test.cc"], deps = [ ":conti_ars_tracker", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -18,7 +18,7 @@ cc_test( srcs = ["conti_ars_tracker_empty_test.cc"], deps = [ ":conti_ars_tracker", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/radar/lib/tracker/filter/BUILD b/modules/perception/radar/lib/tracker/filter/BUILD index e9973a4df0d..d076c480207 100644 --- a/modules/perception/radar/lib/tracker/filter/BUILD +++ b/modules/perception/radar/lib/tracker/filter/BUILD @@ -8,7 +8,7 @@ cc_test( srcs = ["adaptive_kalman_filter_test.cc"], deps = [ ":adaptive_kalman_filter", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/perception/radar/lib/tracker/matcher/BUILD b/modules/perception/radar/lib/tracker/matcher/BUILD index a6aa6c76794..2641810ad36 100644 --- a/modules/perception/radar/lib/tracker/matcher/BUILD +++ b/modules/perception/radar/lib/tracker/matcher/BUILD @@ -9,7 +9,7 @@ cc_test( deps = [ ":hm_matcher", "//modules/perception/radar/lib/tracker/common:radar_track_manager", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/common/BUILD b/modules/planning/common/BUILD index 2db723906c6..9c36335e7e4 100644 --- a/modules/planning/common/BUILD +++ b/modules/planning/common/BUILD @@ -22,7 +22,7 @@ cc_test( ":indexed_list", "//modules/common/util", "@boost", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -44,7 +44,7 @@ cc_test( deps = [ ":indexed_queue", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -84,7 +84,7 @@ cc_test( "//modules/common/util", "//modules/perception/proto:perception_proto", "@boost", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -183,7 +183,7 @@ cc_test( srcs = ["reference_line_info_test.cc"], deps = [ ":reference_line_info", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -214,7 +214,7 @@ cc_test( srcs = ["speed_profile_generator_test.cc"], deps = [ ":speed_profile_generator", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -274,7 +274,7 @@ cc_test( "//modules/common/util", "//modules/map/hdmap:hdmap_util", "//modules/planning/proto:planning_config_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -300,7 +300,7 @@ cc_test( srcs = ["history_test.cc"], deps = [ ":history", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -323,7 +323,7 @@ cc_test( srcs = ["speed_limit_test.cc"], deps = [ ":speed_limit", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -353,7 +353,7 @@ cc_test( deps = [ ":ego_info", ":frame", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -415,7 +415,7 @@ cc_test( deps = [ "open_space_info", "@boost", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -440,7 +440,7 @@ cc_test( "//cyber/common:log", "//modules/common/time", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/common/path/BUILD b/modules/planning/common/path/BUILD index b8216711630..110fcee893e 100644 --- a/modules/planning/common/path/BUILD +++ b/modules/planning/common/path/BUILD @@ -23,7 +23,7 @@ cc_test( ":discretized_path", "//modules/common/util", "//modules/common/util:point_factory", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -46,7 +46,7 @@ cc_test( srcs = ["frenet_frame_path_test.cc"], deps = [ ":frenet_frame_path", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/common/speed/BUILD b/modules/planning/common/speed/BUILD index 4797288e69b..c1759ba824f 100644 --- a/modules/planning/common/speed/BUILD +++ b/modules/planning/common/speed/BUILD @@ -24,7 +24,7 @@ cc_library( "//cyber/common:log", "//modules/planning/common:planning_gflags", "//modules/planning/proto:planning_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) @@ -40,7 +40,7 @@ cc_test( "//cyber/common:log", "//modules/common/time", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/common/trajectory/BUILD b/modules/planning/common/trajectory/BUILD index 9ccb782161a..d2f8d6084a7 100644 --- a/modules/planning/common/trajectory/BUILD +++ b/modules/planning/common/trajectory/BUILD @@ -25,7 +25,7 @@ cc_test( deps = [ ":discretized_trajectory", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -49,7 +49,7 @@ cc_test( deps = [ ":publishable_trajectory", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/integration_tests/BUILD b/modules/planning/integration_tests/BUILD index 1983034bae8..38c7de8259e 100644 --- a/modules/planning/integration_tests/BUILD +++ b/modules/planning/integration_tests/BUILD @@ -18,7 +18,7 @@ cc_library( "//modules/common/vehicle_state:vehicle_state_provider", "//modules/planning:planning_component_lib", "//modules/planning/proto:dp_st_speed_config_proto", - "@gtest", + "@com_google_googletest//:gtest", ], ) diff --git a/modules/planning/math/BUILD b/modules/planning/math/BUILD index dcdb4770f0f..90c6796dfad 100644 --- a/modules/planning/math/BUILD +++ b/modules/planning/math/BUILD @@ -26,7 +26,7 @@ cc_test( srcs = ["curve_math_test.cc"], deps = [ ":curve_math", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/math/curve1d/BUILD b/modules/planning/math/curve1d/BUILD index 71ad2d68937..76532c7d0a0 100644 --- a/modules/planning/math/curve1d/BUILD +++ b/modules/planning/math/curve1d/BUILD @@ -39,7 +39,7 @@ cc_test( ":quartic_polynomial_curve1d", ":quintic_polynomial_curve1d", "//cyber/common:log", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -78,7 +78,7 @@ cc_test( ":cubic_polynomial_curve1d", ":quartic_polynomial_curve1d", "//cyber/common:log", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -126,7 +126,7 @@ cc_test( ":quartic_polynomial_curve1d", ":quintic_polynomial_curve1d", "//cyber/common:log", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -140,7 +140,7 @@ cc_test( deps = [ ":piecewise_quintic_spiral_path", "//cyber/common:log", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/math/smoothing_spline/BUILD b/modules/planning/math/smoothing_spline/BUILD index c2a2f82a75c..df5d2a7cfb9 100644 --- a/modules/planning/math/smoothing_spline/BUILD +++ b/modules/planning/math/smoothing_spline/BUILD @@ -105,7 +105,7 @@ cc_test( srcs = ["active_set_spline_1d_solver_test.cc"], deps = [ ":active_set_spline_1d_solver", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -128,7 +128,7 @@ cc_test( srcs = ["osqp_spline_1d_solver_test.cc"], deps = [ ":osqp_spline_1d_solver", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -216,7 +216,7 @@ cc_test( deps = [ ":active_set_spline_2d_solver", "//modules/planning/math:curve_math", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -238,7 +238,7 @@ cc_test( deps = [ ":osqp_spline_2d_solver", "//modules/planning/math:curve_math", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -287,7 +287,7 @@ cc_test( srcs = ["spline_1d_kernel_test.cc"], deps = [ ":spline_1d_kernel", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -298,7 +298,7 @@ cc_test( deps = [ ":spline_1d_constraint", "//cyber/common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -309,7 +309,7 @@ cc_test( deps = [ ":piecewise_linear_kernel", "//cyber/common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -320,7 +320,7 @@ cc_test( deps = [ ":piecewise_linear_constraint", "//cyber/common", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -330,7 +330,7 @@ cc_test( srcs = ["spline_2d_kernel_test.cc"], deps = [ ":spline_2d_kernel", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -340,7 +340,7 @@ cc_test( srcs = ["spline_2d_constraint_test.cc"], deps = [ ":spline_2d_constraint", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/navi/decider/BUILD b/modules/planning/navi/decider/BUILD index ee0a4612214..4d6a7603524 100644 --- a/modules/planning/navi/decider/BUILD +++ b/modules/planning/navi/decider/BUILD @@ -108,7 +108,7 @@ cc_test( ":navi_speed_decider", "//modules/common/time", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/open_space/coarse_trajectory_generator/BUILD b/modules/planning/open_space/coarse_trajectory_generator/BUILD index a1c123b5ca9..531719e2a97 100644 --- a/modules/planning/open_space/coarse_trajectory_generator/BUILD +++ b/modules/planning/open_space/coarse_trajectory_generator/BUILD @@ -83,7 +83,7 @@ cc_test( "//modules/common/configs:vehicle_config_helper", "//modules/common/math", "//modules/planning/proto:planner_open_space_config_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -94,7 +94,7 @@ cc_test( deps = [ "open_space_utils", "//cyber/common:log", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -104,7 +104,7 @@ cc_test( srcs = ["hybrid_a_star_test.cc"], deps = [ "hybrid_a_star", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/open_space/trajectory_smoother/BUILD b/modules/planning/open_space/trajectory_smoother/BUILD index e612f0e6d72..0fdd0ff735a 100644 --- a/modules/planning/open_space/trajectory_smoother/BUILD +++ b/modules/planning/open_space/trajectory_smoother/BUILD @@ -302,7 +302,7 @@ cc_test( deps = [ ":distance_approach_ipopt_interface", "//cyber/common:log", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -317,7 +317,7 @@ cc_test( deps = [ ":distance_approach_ipopt_cuda_interface", "//cyber/common:log", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -332,7 +332,7 @@ cc_test( deps = [ ":distance_approach_problem", "//cyber/common:log", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -342,7 +342,7 @@ cc_test( srcs = ["dual_variable_warm_start_ipopt_interface_test.cc"], deps = [ ":dual_variable_warm_start_ipopt_interface", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -353,7 +353,7 @@ cc_test( deps = [ ":dual_variable_warm_start_ipopt_qp_interface", ":dual_variable_warm_start_osqp_interface", - "@gtest//:main", + "@com_google_googletest//:gtest_main", "@ipopt", ], ) @@ -364,7 +364,7 @@ cc_test( srcs = ["dual_variable_warm_start_problem_test.cc"], deps = [ ":dual_variable_warm_start_problem", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/planner/BUILD b/modules/planning/planner/BUILD index 9a1d62cc873..9374b3c3fb2 100644 --- a/modules/planning/planner/BUILD +++ b/modules/planning/planner/BUILD @@ -50,7 +50,7 @@ cc_test( srcs = ["on_lane_planner_dispatcher_test.cc"], deps = [ ":planner_dispatcher", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -60,7 +60,7 @@ cc_test( srcs = ["navi_planner_dispatcher_test.cc"], deps = [ ":planner_dispatcher", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/planner/navi/BUILD b/modules/planning/planner/navi/BUILD index d43a8b6dd40..e79bc43bacf 100644 --- a/modules/planning/planner/navi/BUILD +++ b/modules/planning/planner/navi/BUILD @@ -40,7 +40,7 @@ cc_test( "//cyber/common:log", "//modules/common/time", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/planner/public_road/BUILD b/modules/planning/planner/public_road/BUILD index 50996f9a7e4..741955ba6f6 100644 --- a/modules/planning/planner/public_road/BUILD +++ b/modules/planning/planner/public_road/BUILD @@ -41,7 +41,7 @@ cc_test( srcs = ["public_road_planner_test.cc"], deps = [ ":public_road_planner", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/planner/rtk/BUILD b/modules/planning/planner/rtk/BUILD index 2f91355fbfe..2a347fc8a26 100644 --- a/modules/planning/planner/rtk/BUILD +++ b/modules/planning/planner/rtk/BUILD @@ -34,7 +34,7 @@ cc_test( "//cyber/common:log", "//modules/common/time", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/reference_line/BUILD b/modules/planning/reference_line/BUILD index cec5e6c75ce..8360eb0a31d 100644 --- a/modules/planning/reference_line/BUILD +++ b/modules/planning/reference_line/BUILD @@ -87,7 +87,7 @@ cc_test( ], deps = [ ":spiral_reference_line_smoother", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -121,7 +121,7 @@ cc_test( deps = [ ":qp_spline_reference_line_smoother", "//modules/map/hdmap", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -136,7 +136,7 @@ cc_test( deps = [ ":discrete_points_reference_line_smoother", "//modules/map/hdmap", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/bare_intersection/unprotected/BUILD b/modules/planning/scenarios/bare_intersection/unprotected/BUILD index 75f25ea1cf9..eb4d7301b6f 100644 --- a/modules/planning/scenarios/bare_intersection/unprotected/BUILD +++ b/modules/planning/scenarios/bare_intersection/unprotected/BUILD @@ -36,7 +36,7 @@ cc_test( data = ["//modules/planning:planning_conf"], deps = [ ":bare_intersection_unprotected_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -49,7 +49,7 @@ cc_test( ], deps = [ ":bare_intersection_unprotected_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/emergency/emergency_pull_over/BUILD b/modules/planning/scenarios/emergency/emergency_pull_over/BUILD index 2609c5572df..ced36752980 100644 --- a/modules/planning/scenarios/emergency/emergency_pull_over/BUILD +++ b/modules/planning/scenarios/emergency/emergency_pull_over/BUILD @@ -41,7 +41,7 @@ cc_test( ], deps = [ ":emergency_pull_over_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -54,7 +54,7 @@ cc_test( ], deps = [ ":emergency_pull_over_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -67,7 +67,7 @@ cc_test( ], deps = [ ":emergency_pull_over_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -80,7 +80,7 @@ cc_test( ], deps = [ ":emergency_pull_over_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/emergency/emergency_stop/BUILD b/modules/planning/scenarios/emergency/emergency_stop/BUILD index b079dd9ef46..9e4bfe2fef3 100644 --- a/modules/planning/scenarios/emergency/emergency_stop/BUILD +++ b/modules/planning/scenarios/emergency/emergency_stop/BUILD @@ -39,7 +39,7 @@ cc_test( ], deps = [ ":emergency_stop_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -52,7 +52,7 @@ cc_test( ], deps = [ ":emergency_stop_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -65,7 +65,7 @@ cc_test( ], deps = [ ":emergency_stop_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/lane_follow/BUILD b/modules/planning/scenarios/lane_follow/BUILD index 44cf25335f0..9e318bd7097 100644 --- a/modules/planning/scenarios/lane_follow/BUILD +++ b/modules/planning/scenarios/lane_follow/BUILD @@ -86,7 +86,7 @@ cc_test( ], deps = [ ":lane_follow", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/narrow_street_u_turn/BUILD b/modules/planning/scenarios/narrow_street_u_turn/BUILD index dc74a767990..fd4b73f4c8a 100644 --- a/modules/planning/scenarios/narrow_street_u_turn/BUILD +++ b/modules/planning/scenarios/narrow_street_u_turn/BUILD @@ -31,7 +31,7 @@ cc_test( ], deps = [ ":narrow_street_u_turn", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/park/pull_over/BUILD b/modules/planning/scenarios/park/pull_over/BUILD index f13e71de505..bf44974649e 100644 --- a/modules/planning/scenarios/park/pull_over/BUILD +++ b/modules/planning/scenarios/park/pull_over/BUILD @@ -41,7 +41,7 @@ cc_test( ], deps = [ ":pull_over_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -54,7 +54,7 @@ cc_test( ], deps = [ ":pull_over_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -67,7 +67,7 @@ cc_test( ], deps = [ ":pull_over_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -80,7 +80,7 @@ cc_test( ], deps = [ ":pull_over_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/park/valet_parking/BUILD b/modules/planning/scenarios/park/valet_parking/BUILD index 4f20ccb1112..1653a7abdf4 100644 --- a/modules/planning/scenarios/park/valet_parking/BUILD +++ b/modules/planning/scenarios/park/valet_parking/BUILD @@ -31,7 +31,7 @@ cc_test( ], deps = [ ":valet_parking", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -44,7 +44,7 @@ cc_test( ], deps = [ ":valet_parking", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -57,7 +57,7 @@ cc_test( ], deps = [ ":valet_parking", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/park_and_go/BUILD b/modules/planning/scenarios/park_and_go/BUILD index 7785c53641c..8a14a8ea096 100644 --- a/modules/planning/scenarios/park_and_go/BUILD +++ b/modules/planning/scenarios/park_and_go/BUILD @@ -42,7 +42,7 @@ cc_test( ], deps = [ ":park_and_go_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -60,7 +60,7 @@ cc_test( ], deps = [ ":park_and_go_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/stop_sign/unprotected/BUILD b/modules/planning/scenarios/stop_sign/unprotected/BUILD index 5ac7bfcdb14..2a00df595d1 100644 --- a/modules/planning/scenarios/stop_sign/unprotected/BUILD +++ b/modules/planning/scenarios/stop_sign/unprotected/BUILD @@ -41,7 +41,7 @@ cc_test( data = ["//modules/planning:planning_conf"], deps = [ ":stop_sign_unprotected_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -54,7 +54,7 @@ cc_test( ], deps = [ ":stop_sign_unprotected_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -67,7 +67,7 @@ cc_test( ], deps = [ ":stop_sign_unprotected_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -80,7 +80,7 @@ cc_test( ], deps = [ ":stop_sign_unprotected_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/traffic_light/protected/BUILD b/modules/planning/scenarios/traffic_light/protected/BUILD index 4affd7d11b4..0bbd8bb44bc 100644 --- a/modules/planning/scenarios/traffic_light/protected/BUILD +++ b/modules/planning/scenarios/traffic_light/protected/BUILD @@ -35,7 +35,7 @@ cc_test( data = ["//modules/planning:planning_conf"], deps = [ ":traffic_light_protected_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -48,7 +48,7 @@ cc_test( ], deps = [ ":traffic_light_protected_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/traffic_light/unprotected_left_turn/BUILD b/modules/planning/scenarios/traffic_light/unprotected_left_turn/BUILD index 83d0958726d..6a9c7b7db1b 100644 --- a/modules/planning/scenarios/traffic_light/unprotected_left_turn/BUILD +++ b/modules/planning/scenarios/traffic_light/unprotected_left_turn/BUILD @@ -37,7 +37,7 @@ cc_test( data = ["//modules/planning:planning_conf"], deps = [ ":traffic_light_unprotected_left_turn_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -50,7 +50,7 @@ cc_test( ], deps = [ ":traffic_light_unprotected_left_turn_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -63,7 +63,7 @@ cc_test( ], deps = [ ":traffic_light_unprotected_left_turn_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/traffic_light/unprotected_right_turn/BUILD b/modules/planning/scenarios/traffic_light/unprotected_right_turn/BUILD index 0a7bd4210a9..9b2cccfee3b 100644 --- a/modules/planning/scenarios/traffic_light/unprotected_right_turn/BUILD +++ b/modules/planning/scenarios/traffic_light/unprotected_right_turn/BUILD @@ -38,7 +38,7 @@ cc_test( data = ["//modules/planning:planning_conf"], deps = [ ":traffic_light_unprotected_right_turn_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -51,7 +51,7 @@ cc_test( ], deps = [ ":traffic_light_unprotected_right_turn_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -64,7 +64,7 @@ cc_test( ], deps = [ ":traffic_light_unprotected_right_turn_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/scenarios/yield_sign/BUILD b/modules/planning/scenarios/yield_sign/BUILD index adcb2db9975..bb30a3656d2 100644 --- a/modules/planning/scenarios/yield_sign/BUILD +++ b/modules/planning/scenarios/yield_sign/BUILD @@ -39,7 +39,7 @@ cc_test( ], deps = [ ":yield_sign_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -52,7 +52,7 @@ cc_test( ], deps = [ ":yield_sign_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -65,7 +65,7 @@ cc_test( ], deps = [ ":yield_sign_scenario", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/tasks/deciders/creep_decider/BUILD b/modules/planning/tasks/deciders/creep_decider/BUILD index b1a91f0393b..86135af278b 100644 --- a/modules/planning/tasks/deciders/creep_decider/BUILD +++ b/modules/planning/tasks/deciders/creep_decider/BUILD @@ -23,7 +23,7 @@ cc_test( srcs = ["creep_decider_test.cc"], deps = [ "creep_decider", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/tasks/deciders/open_space_decider/BUILD b/modules/planning/tasks/deciders/open_space_decider/BUILD index 977f8ece248..4e8bb4eb1c7 100644 --- a/modules/planning/tasks/deciders/open_space_decider/BUILD +++ b/modules/planning/tasks/deciders/open_space_decider/BUILD @@ -45,7 +45,7 @@ cc_test( srcs = ["open_space_roi_decider_test.cc"], deps = [ ":open_space_roi_decider", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -55,7 +55,7 @@ cc_test( srcs = ["open_space_fallback_decider_test.cc"], deps = [ ":open_space_fallback_decider", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/tasks/deciders/path_bounds_decider/BUILD b/modules/planning/tasks/deciders/path_bounds_decider/BUILD index 29c300fb0d0..da4aad82b9c 100644 --- a/modules/planning/tasks/deciders/path_bounds_decider/BUILD +++ b/modules/planning/tasks/deciders/path_bounds_decider/BUILD @@ -22,7 +22,7 @@ cc_test( srcs = ["path_bounds_decider_test.cc"], deps = [ "path_bounds_decider", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/tasks/deciders/path_reuse_decider/BUILD b/modules/planning/tasks/deciders/path_reuse_decider/BUILD index e606eedcfda..ddeb1527565 100644 --- a/modules/planning/tasks/deciders/path_reuse_decider/BUILD +++ b/modules/planning/tasks/deciders/path_reuse_decider/BUILD @@ -24,7 +24,7 @@ cc_test( srcs = ["path_reuse_decider_test.cc"], deps = [ "path_reuse_decider", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/tasks/deciders/rss_decider/BUILD b/modules/planning/tasks/deciders/rss_decider/BUILD index b6f36ab2383..11f8b4d7719 100644 --- a/modules/planning/tasks/deciders/rss_decider/BUILD +++ b/modules/planning/tasks/deciders/rss_decider/BUILD @@ -25,7 +25,7 @@ cc_test( deps = [ ":rss_decider", "@ad_rss_lib//:ad_rss", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/tasks/deciders/speed_bounds_decider/BUILD b/modules/planning/tasks/deciders/speed_bounds_decider/BUILD index 7b5dea3eced..29083eb43b6 100644 --- a/modules/planning/tasks/deciders/speed_bounds_decider/BUILD +++ b/modules/planning/tasks/deciders/speed_bounds_decider/BUILD @@ -67,7 +67,7 @@ cc_test( "//cyber/common:log", "//modules/common/time", "//modules/common/util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/tasks/optimizers/open_space_trajectory_generation/BUILD b/modules/planning/tasks/optimizers/open_space_trajectory_generation/BUILD index b960c834242..d7e4a5e92f2 100644 --- a/modules/planning/tasks/optimizers/open_space_trajectory_generation/BUILD +++ b/modules/planning/tasks/optimizers/open_space_trajectory_generation/BUILD @@ -56,7 +56,7 @@ cc_test( ], deps = [ ":open_space_trajectory_provider", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -69,7 +69,7 @@ cc_test( ], deps = [ ":open_space_trajectory_optimizer", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/tasks/optimizers/open_space_trajectory_partition/BUILD b/modules/planning/tasks/optimizers/open_space_trajectory_partition/BUILD index 47f86cb5b2a..21f05c41c33 100644 --- a/modules/planning/tasks/optimizers/open_space_trajectory_partition/BUILD +++ b/modules/planning/tasks/optimizers/open_space_trajectory_partition/BUILD @@ -23,7 +23,7 @@ cc_test( srcs = ["open_space_trajectory_partition_test.cc"], deps = [ ":open_space_trajectory_partition", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/tasks/optimizers/path_time_heuristic/BUILD b/modules/planning/tasks/optimizers/path_time_heuristic/BUILD index 78aaedbf68c..7a6fac78bab 100644 --- a/modules/planning/tasks/optimizers/path_time_heuristic/BUILD +++ b/modules/planning/tasks/optimizers/path_time_heuristic/BUILD @@ -81,7 +81,7 @@ cc_test( deps = [ ":gridded_path_time_graph", "//modules/planning/proto:planning_config_proto", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/tuning/BUILD b/modules/planning/tuning/BUILD index 97e60b1aadf..204894051df 100644 --- a/modules/planning/tuning/BUILD +++ b/modules/planning/tuning/BUILD @@ -22,7 +22,7 @@ cc_test( srcs = ["autotuning_raw_feature_generator_test.cc"], deps = [ ":autotuning_raw_feature_generator", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -51,7 +51,7 @@ cc_test( srcs = ["autotuning_mlp_net_model_test.cc"], deps = [ ":autotuning_mlp_net_model", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/planning/tuning/speed_model/BUILD b/modules/planning/tuning/speed_model/BUILD index 122e5c97b47..d39a1ac83b5 100644 --- a/modules/planning/tuning/speed_model/BUILD +++ b/modules/planning/tuning/speed_model/BUILD @@ -22,7 +22,7 @@ cc_test( srcs = ["autotuning_speed_feature_builder_test.cc"], deps = [ ":autotuning_speed_feature_builder", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -42,7 +42,7 @@ cc_test( srcs = ["autotuning_speed_mlp_model_test.cc"], deps = [ ":autotuning_speed_mlp_model", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/common/BUILD b/modules/prediction/common/BUILD index 5bfcaf48efd..fd61b3936c1 100644 --- a/modules/prediction/common/BUILD +++ b/modules/prediction/common/BUILD @@ -33,7 +33,7 @@ cc_test( srcs = ["prediction_util_test.cc"], deps = [ ":prediction_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -61,7 +61,7 @@ cc_test( deps = [ ":kml_map_based_test", ":prediction_map", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -87,7 +87,7 @@ cc_test( srcs = ["feature_output_test.cc"], deps = [ ":feature_output", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -118,7 +118,7 @@ cc_test( deps = [ ":kml_map_based_test", ":road_graph", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -148,7 +148,7 @@ cc_test( ], deps = [ ":validation_checker", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -168,7 +168,7 @@ cc_test( srcs = ["environment_features_test.cc"], deps = [ ":environment_features", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -196,7 +196,7 @@ cc_test( deps = [ ":junction_analyzer", ":kml_map_based_test", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -238,7 +238,7 @@ cc_test( srcs = ["prediction_thread_pool_test.cc"], deps = [ ":prediction_thread_pool", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/container/BUILD b/modules/prediction/container/BUILD index bb428af668c..f51d2c7aeae 100644 --- a/modules/prediction/container/BUILD +++ b/modules/prediction/container/BUILD @@ -15,7 +15,7 @@ cc_library( "//modules/prediction/container/obstacles:obstacles_container", "//modules/prediction/container/pose:pose_container", "//modules/prediction/container/storytelling:storytelling_container", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/container/adc_trajectory/BUILD b/modules/prediction/container/adc_trajectory/BUILD index 15933718c56..134aac84a6c 100644 --- a/modules/prediction/container/adc_trajectory/BUILD +++ b/modules/prediction/container/adc_trajectory/BUILD @@ -27,7 +27,7 @@ cc_test( deps = [ ":adc_trajectory_container", "//modules/prediction/common:kml_map_based_test", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/container/obstacles/BUILD b/modules/prediction/container/obstacles/BUILD index 396472fa275..016207b481a 100644 --- a/modules/prediction/container/obstacles/BUILD +++ b/modules/prediction/container/obstacles/BUILD @@ -48,7 +48,7 @@ cc_test( deps = [ "//modules/prediction/common:kml_map_based_test", "//modules/prediction/container/obstacles:obstacles_container", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -63,7 +63,7 @@ cc_test( deps = [ "//modules/prediction/common:kml_map_based_test", "//modules/prediction/container/obstacles:obstacles_container", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -91,7 +91,7 @@ cc_test( deps = [ "//modules/prediction/common:kml_map_based_test", "//modules/prediction/container/obstacles:obstacle_clusters", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/container/pose/BUILD b/modules/prediction/container/pose/BUILD index 253c1a13a1f..3834ea74c13 100644 --- a/modules/prediction/container/pose/BUILD +++ b/modules/prediction/container/pose/BUILD @@ -24,7 +24,7 @@ cc_test( srcs = ["pose_container_test.cc"], deps = [ "//modules/prediction/container/pose:pose_container", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/evaluator/cyclist/BUILD b/modules/prediction/evaluator/cyclist/BUILD index b236d194ec6..152fa42de6e 100644 --- a/modules/prediction/evaluator/cyclist/BUILD +++ b/modules/prediction/evaluator/cyclist/BUILD @@ -27,7 +27,7 @@ cc_test( ":cyclist_keep_lane_evaluator", "//modules/prediction/common:kml_map_based_test", "//modules/prediction/container/obstacles:obstacles_container", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/evaluator/pedestrian/BUILD b/modules/prediction/evaluator/pedestrian/BUILD index 0c87bc29462..5b36810d159 100644 --- a/modules/prediction/evaluator/pedestrian/BUILD +++ b/modules/prediction/evaluator/pedestrian/BUILD @@ -35,7 +35,7 @@ cc_test( ":pedestrian_interaction_evaluator", "//modules/prediction/common:kml_map_based_test", "//modules/prediction/container/obstacles:obstacles_container", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/evaluator/vehicle/BUILD b/modules/prediction/evaluator/vehicle/BUILD index d764b552f5a..574b681a738 100644 --- a/modules/prediction/evaluator/vehicle/BUILD +++ b/modules/prediction/evaluator/vehicle/BUILD @@ -30,7 +30,7 @@ cc_test( deps = [ "//modules/prediction/common:kml_map_based_test", "//modules/prediction/evaluator/vehicle:mlp_evaluator", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -59,7 +59,7 @@ cc_test( deps = [ "//modules/prediction/common:kml_map_based_test", "//modules/prediction/evaluator/vehicle:cost_evaluator", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -98,7 +98,7 @@ cc_test( deps = [ "//modules/prediction/common:kml_map_based_test", "//modules/prediction/evaluator/vehicle:junction_mlp_evaluator", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/network/BUILD b/modules/prediction/network/BUILD index 1ddb33626a8..b7e79ac69b0 100644 --- a/modules/prediction/network/BUILD +++ b/modules/prediction/network/BUILD @@ -47,7 +47,7 @@ cc_test( srcs = ["net_util_test.cc"], deps = [ "//modules/prediction/network:net_util", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -57,7 +57,7 @@ cc_test( srcs = ["net_layer_test.cc"], deps = [ "//modules/prediction/network:net_layer", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/network/rnn_model/BUILD b/modules/prediction/network/rnn_model/BUILD index 92a5ba095a4..20f42387764 100644 --- a/modules/prediction/network/rnn_model/BUILD +++ b/modules/prediction/network/rnn_model/BUILD @@ -20,7 +20,7 @@ cc_test( ], deps = [ "//modules/prediction/network/rnn_model", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/predictor/empty/BUILD b/modules/prediction/predictor/empty/BUILD index b0844d1d25d..633a22e55d9 100644 --- a/modules/prediction/predictor/empty/BUILD +++ b/modules/prediction/predictor/empty/BUILD @@ -27,7 +27,7 @@ cc_test( "//modules/prediction/container/obstacles:obstacles_container", "//modules/prediction/evaluator/vehicle:mlp_evaluator", "//modules/prediction/predictor/empty:empty_predictor", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/predictor/free_move/BUILD b/modules/prediction/predictor/free_move/BUILD index 5293bd7fc8d..da5eb65989c 100644 --- a/modules/prediction/predictor/free_move/BUILD +++ b/modules/prediction/predictor/free_move/BUILD @@ -27,7 +27,7 @@ cc_test( deps = [ "//modules/prediction/common:kml_map_based_test", "//modules/prediction/predictor/free_move:free_move_predictor", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/predictor/junction/BUILD b/modules/prediction/predictor/junction/BUILD index 4f586dfcf82..d741bcb7033 100644 --- a/modules/prediction/predictor/junction/BUILD +++ b/modules/prediction/predictor/junction/BUILD @@ -28,7 +28,7 @@ cc_test( "//modules/prediction/container/obstacles:obstacles_container", "//modules/prediction/evaluator/vehicle:junction_mlp_evaluator", "//modules/prediction/predictor/junction:junction_predictor", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/scenario/analyzer/BUILD b/modules/prediction/scenario/analyzer/BUILD index c379ce561fb..362b9fafc7f 100644 --- a/modules/prediction/scenario/analyzer/BUILD +++ b/modules/prediction/scenario/analyzer/BUILD @@ -26,7 +26,7 @@ cc_test( deps = [ ":scenario_analyzer", "//modules/prediction/common:kml_map_based_test", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/prediction/scenario/scenario_features/BUILD b/modules/prediction/scenario/scenario_features/BUILD index 0dfe93d93c3..8820d3f7a38 100644 --- a/modules/prediction/scenario/scenario_features/BUILD +++ b/modules/prediction/scenario/scenario_features/BUILD @@ -47,7 +47,7 @@ cc_test( srcs = ["cruise_scenario_features_test.cc"], deps = [ ":cruise_scenario_features", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/routing/graph/BUILD b/modules/routing/graph/BUILD index 2e221f158fd..67372e7abb2 100644 --- a/modules/routing/graph/BUILD +++ b/modules/routing/graph/BUILD @@ -97,7 +97,7 @@ cc_test( srcs = ["topo_node_test.cc"], deps = [ ":routing_topo_test_utils", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -107,7 +107,7 @@ cc_test( srcs = ["topo_range_test.cc"], deps = [ ":routing_node_with_range", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -117,7 +117,7 @@ cc_test( srcs = ["topo_graph_test.cc"], deps = [ ":routing_topo_test_utils", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -128,7 +128,7 @@ cc_test( deps = [ ":routing_sub_topo_graph", ":routing_topo_test_utils", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/routing/topo_creator/BUILD b/modules/routing/topo_creator/BUILD index 47dbb609147..6cb340e7665 100644 --- a/modules/routing/topo_creator/BUILD +++ b/modules/routing/topo_creator/BUILD @@ -32,7 +32,7 @@ cc_test( srcs = ["graph_creator_test.cc"], deps = [ ":graph_creator", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/third_party_perception/integration_tests/BUILD b/modules/third_party_perception/integration_tests/BUILD index 081274d4680..9ea4549b41f 100644 --- a/modules/third_party_perception/integration_tests/BUILD +++ b/modules/third_party_perception/integration_tests/BUILD @@ -8,7 +8,7 @@ cc_library( hdrs = ["third_party_perception_test_base.h"], deps = [ "//modules/third_party_perception:third_party_perception_lib", - "@gtest", + "@com_google_googletest//:gtest", ], ) diff --git a/modules/transform/BUILD b/modules/transform/BUILD index 62579a92084..8b8fb397c7d 100644 --- a/modules/transform/BUILD +++ b/modules/transform/BUILD @@ -49,7 +49,7 @@ cc_test( srcs = ["static_transform_component_test.cc"], deps = [ ":static_transform_component_lib", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/v2x/v2x_proxy/obu_interface/BUILD b/modules/v2x/v2x_proxy/obu_interface/BUILD index 9e4033a5f97..c51c741618a 100644 --- a/modules/v2x/v2x_proxy/obu_interface/BUILD +++ b/modules/v2x/v2x_proxy/obu_interface/BUILD @@ -22,7 +22,7 @@ cc_test( srcs = ["obu_interface_grpc_impl_test.cc"], deps = [ ":obu_interface_grpc_impl", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/v2x/v2x_proxy/obu_interface/grpc_interface/BUILD b/modules/v2x/v2x_proxy/obu_interface/grpc_interface/BUILD index 89f19d4e702..235921c3f0c 100644 --- a/modules/v2x/v2x_proxy/obu_interface/grpc_interface/BUILD +++ b/modules/v2x/v2x_proxy/obu_interface/grpc_interface/BUILD @@ -31,7 +31,7 @@ cc_test( srcs = ["grpc_client_test.cc"], deps = [ ":grpc_client", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) @@ -41,7 +41,7 @@ cc_test( srcs = ["grpc_server_test.cc"], deps = [ ":grpc_server", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/modules/v2x/v2x_proxy/os_interface/BUILD b/modules/v2x/v2x_proxy/os_interface/BUILD index fe38bc57955..3d42ee8f0a6 100644 --- a/modules/v2x/v2x_proxy/os_interface/BUILD +++ b/modules/v2x/v2x_proxy/os_interface/BUILD @@ -23,7 +23,7 @@ cc_test( srcs = ["os_interface_test.cc"], deps = [ ":os_interface", - "@gtest//:main", + "@com_google_googletest//:gtest_main", ], ) diff --git a/third_party/gtest.BUILD b/third_party/gtest.BUILD index f66a6ad08e0..a9c0b70f30b 100644 --- a/third_party/gtest.BUILD +++ b/third_party/gtest.BUILD @@ -114,7 +114,7 @@ cc_library( ) cc_library( - name = "main", + name = "gtest_main", srcs = [ "googlemock/src/gmock_main.cc", ],