diff options
author | Abseil Team <absl-team@google.com> | 2021-01-19 22:53:02 (GMT) |
---|---|---|
committer | CJ Johnson <johnsoncj@google.com> | 2021-01-26 20:42:55 (GMT) |
commit | 997c36c1881105bd7ce482a1ec93759badf64ce6 (patch) | |
tree | 42814951c05cc3a03f5c477bd5e3d4073339ceda /googlemock/include/gmock/internal/custom/gmock-port.h | |
parent | 4898cdacfec11e71fa3083cdbc935852ad8162e9 (diff) | |
download | googletest-997c36c1881105bd7ce482a1ec93759badf64ce6.zip googletest-997c36c1881105bd7ce482a1ec93759badf64ce6.tar.gz googletest-997c36c1881105bd7ce482a1ec93759badf64ce6.tar.bz2 |
Googletest export
Stop using pump for generating internal/custom/gmock-generated-actions.h
PiperOrigin-RevId: 352660735
Diffstat (limited to 'googlemock/include/gmock/internal/custom/gmock-port.h')
-rw-r--r-- | googlemock/include/gmock/internal/custom/gmock-port.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/googlemock/include/gmock/internal/custom/gmock-port.h b/googlemock/include/gmock/internal/custom/gmock-port.h index a6d1fb8..0030fe9 100644 --- a/googlemock/include/gmock/internal/custom/gmock-port.h +++ b/googlemock/include/gmock/internal/custom/gmock-port.h @@ -36,29 +36,4 @@ #ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_PORT_H_ #define GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_PORT_H_ -#include "gtest/internal/gtest-port.h" - -#if GTEST_GOOGLE3_MODE_ - -// Defines this iff Google Mock can use google3 callbacks. This is -// internal as a user shouldn't rely on Google Mock to tell him -// whether he can use google3 callbacks. -# include "base/callback.h" -# define GMOCK_HAS_GOOGLE3_CALLBACK_ 1 - -// Macros for declaring flags. -# define GMOCK_DECLARE_bool_(name) DECLARE_bool(gmock_##name) -# define GMOCK_DECLARE_int32_(name) DECLARE_int32(gmock_##name) -# define GMOCK_DECLARE_string_(name) DECLARE_string(gmock_##name) - -// Macros for defining flags. -# define GMOCK_DEFINE_bool_(name, default_val, doc) \ - DEFINE_bool(gmock_##name, default_val, doc) -# define GMOCK_DEFINE_int32_(name, default_val, doc) \ - DEFINE_int32(gmock_##name, default_val, doc) -# define GMOCK_DEFINE_string_(name, default_val, doc) \ - DEFINE_string(gmock_##name, default_val, doc) - -#endif // GTEST_GOOGLE3_MODE_ - #endif // GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_PORT_H_ |