diff --git a/BUILD.bazel b/BUILD.bazel index 7864c5371d..99e2f850fe 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -9,8 +9,8 @@ load( ) load( "@gz//msgs/tools:gz_msgs_generate.bzl", - "gz_proto_library", "gz_proto_factory", + "gz_proto_library", ) package( @@ -30,32 +30,36 @@ proto_library( srcs = protos, strip_import_prefix = "src/proto", deps = [ - GZ_ROOT + "msgs:gzmsgs_proto" - ] + GZ_ROOT + "msgs:gzmsgs_proto", + ], ) gz_proto_library( - name = "gzsim_cc_proto", - proto_deps = [":gzsim_proto"], - deps = [ - "@com_google_protobuf//:protobuf", - GZ_ROOT + "msgs:gzmsgs_cc_proto" - ] + name = "gzsim_cc_proto", + proto_deps = [":gzsim_proto"], + deps = [ + "@com_google_protobuf//:protobuf", + GZ_ROOT + "msgs:gzmsgs_cc_proto", + ], ) gz_proto_factory( - name = "gzsim_proto_factory", - deps = [":gzsim_proto"], - cc_output = "RegisterMsgs.cc", - hh_output = "include/gz/sim/private_msgs/MessageTypes.hh" + name = "gzsim_proto_factory", + cc_output = "RegisterMsgs.cc", + hh_output = "include/gz/sim/private_msgs/MessageTypes.hh", + deps = [":gzsim_proto"], ) cc_binary( - name = "test_executable", - srcs = ["test_executable.cc", "RegisterMsgs.cc", "include/gz/sim/private_msgs/MessageTypes.hh"], - includes = ["include"], - deps = [ - ":gzsim_cc_proto", - GZ_ROOT + "msgs" - ] + name = "test_executable", + srcs = [ + "RegisterMsgs.cc", + "include/gz/sim/private_msgs/MessageTypes.hh", + "test_executable.cc", + ], + includes = ["include"], + deps = [ + ":gzsim_cc_proto", + GZ_ROOT + "msgs", + ], )