From be70edf1120e481a4f0430657745e9bb14f4b760 Mon Sep 17 00:00:00 2001 From: Henrik Date: Sat, 29 Jul 2023 19:55:45 +0200 Subject: [PATCH] Ran pre-commit hooks --- repositories/fastrtps.BUILD.bazel | 4 ++-- repositories/rmw_fastrtps.BUILD.bazel | 7 +++++-- repositories/rosidl_typesupport_fastrtps.BUILD.bazel | 9 ++++----- ros2/BUILD.bazel | 7 +++++-- 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/repositories/fastrtps.BUILD.bazel b/repositories/fastrtps.BUILD.bazel index 763db9a8..8b69c3fc 100644 --- a/repositories/fastrtps.BUILD.bazel +++ b/repositories/fastrtps.BUILD.bazel @@ -44,10 +44,10 @@ cmake( out_static_libs = ["libfastrtps.a"], visibility = ["//visibility:public"], deps = [ - "@fastcdr", "@asio", - "@tinyxml2", + "@fastcdr", "@foonathan_memory", "@openssl", + "@tinyxml2", ], ) diff --git a/repositories/rmw_fastrtps.BUILD.bazel b/repositories/rmw_fastrtps.BUILD.bazel index 0bba22dc..ca4138d3 100644 --- a/repositories/rmw_fastrtps.BUILD.bazel +++ b/repositories/rmw_fastrtps.BUILD.bazel @@ -1,8 +1,11 @@ """ Builds rmw_fastrtps. """ -load("@com_github_mvukov_rules_ros2//ros2:cc_defs.bzl", - "ros2_cpp_binary", "ros2_cpp_library") +load( + "@com_github_mvukov_rules_ros2//ros2:cc_defs.bzl", + "ros2_cpp_binary", + "ros2_cpp_library", +) ros2_cpp_library( name = "rmw_fastrtps_shared_cpp", diff --git a/repositories/rosidl_typesupport_fastrtps.BUILD.bazel b/repositories/rosidl_typesupport_fastrtps.BUILD.bazel index fc58f712..f70bd233 100644 --- a/repositories/rosidl_typesupport_fastrtps.BUILD.bazel +++ b/repositories/rosidl_typesupport_fastrtps.BUILD.bazel @@ -9,13 +9,12 @@ load( ) load("@rules_python//python:defs.bzl", "py_binary", "py_library") - ros2_cpp_library( name = "rosidl_typesupport_fastrtps_c", - srcs = glob(["rosidl_typesupport_fastrtps_c/src/*.cpp",]), + srcs = glob(["rosidl_typesupport_fastrtps_c/src/*.cpp"]), hdrs = glob([ "rosidl_typesupport_fastrtps_c/include/**/*.h", - "rosidl_typesupport_fastrtps_c/include/**/*.hpp" + "rosidl_typesupport_fastrtps_c/include/**/*.hpp", ]), includes = ["rosidl_typesupport_fastrtps_c/include"], visibility = ["//visibility:public"], @@ -28,10 +27,10 @@ ros2_cpp_library( ros2_cpp_library( name = "rosidl_typesupport_fastrtps_cpp", - srcs = glob(["rosidl_typesupport_fastrtps_cpp/src/*.cpp",]), + srcs = glob(["rosidl_typesupport_fastrtps_cpp/src/*.cpp"]), hdrs = glob([ "rosidl_typesupport_fastrtps_cpp/include/**/*.h", - "rosidl_typesupport_fastrtps_cpp/include/**/*.hpp" + "rosidl_typesupport_fastrtps_cpp/include/**/*.hpp", ]), includes = ["rosidl_typesupport_fastrtps_cpp/include"], visibility = ["//visibility:public"], diff --git a/ros2/BUILD.bazel b/ros2/BUILD.bazel index e5634757..52e092e2 100644 --- a/ros2/BUILD.bazel +++ b/ros2/BUILD.bazel @@ -71,7 +71,10 @@ py_binary( string_flag( name = "dds_vendor", build_setting_default = "cyclonedds", - values = ["cyclonedds", "fastdds"], + values = [ + "cyclonedds", + "fastdds", + ], ) config_setting( @@ -84,4 +87,4 @@ config_setting( name = "use_fastdds", flag_values = {":dds_vendor": "fastdds"}, visibility = ["//visibility:public"], -) \ No newline at end of file +)