mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Remove generated google protobuf support (#7371)
It's not used anymore, and cleans up the build.
This commit is contained in:
@@ -210,7 +210,5 @@ class WPILIB_DLLEXPORT Ellipse2d {
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Ellipse2dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Ellipse2dStruct.h"
|
||||
|
||||
@@ -259,9 +259,7 @@ void from_json(const wpi::json& json, Pose2d& pose);
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Pose2dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Pose2dStruct.h"
|
||||
|
||||
#include "frc/geometry/Transform2d.h"
|
||||
|
||||
@@ -236,9 +236,7 @@ void from_json(const wpi::json& json, Pose3d& pose);
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Pose3dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Pose3dStruct.h"
|
||||
|
||||
#include "frc/geometry/Transform3d.h"
|
||||
|
||||
@@ -335,7 +335,5 @@ void from_json(const wpi::json& json, Quaternion& quaternion);
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/QuaternionProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/QuaternionStruct.h"
|
||||
|
||||
@@ -206,7 +206,5 @@ class WPILIB_DLLEXPORT Rectangle2d {
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Rectangle2dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Rectangle2dStruct.h"
|
||||
|
||||
@@ -205,7 +205,5 @@ void from_json(const wpi::json& json, Rotation2d& rotation);
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Rotation2dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Rotation2dStruct.h"
|
||||
|
||||
@@ -412,7 +412,5 @@ void from_json(const wpi::json& json, Rotation3d& rotation);
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Rotation3dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Rotation3dStruct.h"
|
||||
|
||||
@@ -155,7 +155,5 @@ constexpr Transform2d Transform2d::operator+(const Transform2d& other) const {
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Transform2dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Transform2dStruct.h"
|
||||
|
||||
@@ -163,7 +163,5 @@ constexpr Transform3d Transform3d::operator+(const Transform3d& other) const {
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Transform3dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Transform3dStruct.h"
|
||||
|
||||
@@ -271,7 +271,5 @@ void from_json(const wpi::json& json, Translation2d& state);
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Translation2dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Translation2dStruct.h"
|
||||
|
||||
@@ -236,7 +236,5 @@ void from_json(const wpi::json& json, Translation3d& state);
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Translation3dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Translation3dStruct.h"
|
||||
|
||||
@@ -60,7 +60,5 @@ struct WPILIB_DLLEXPORT Twist2d {
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Twist2dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Twist2dStruct.h"
|
||||
|
||||
@@ -79,7 +79,5 @@ struct WPILIB_DLLEXPORT Twist3d {
|
||||
|
||||
} // namespace frc
|
||||
|
||||
#ifndef NO_PROTOBUF
|
||||
#include "frc/geometry/proto/Twist3dProto.h"
|
||||
#endif
|
||||
#include "frc/geometry/struct/Twist3dStruct.h"
|
||||
|
||||
Reference in New Issue
Block a user