[macros] Upstream Google3 changes
- Disables FRIEND_TEST - Removes gtest_prod.h dependency Change-Id: I614f633749f3197989ac4a0d9d5faa6ec03ed59d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2982481 Reviewed-by: Igor Sheludko <ishell@chromium.org> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Victor Gomes <victorgomes@chromium.org> Cr-Commit-Position: refs/heads/master@{#75372}
This commit is contained in:
parent
9a4bcc31e1
commit
bd80ad89a1
@ -422,4 +422,9 @@ bool is_inbounds(float_t v) {
|
|||||||
#define IF_TSAN(V, ...)
|
#define IF_TSAN(V, ...)
|
||||||
#endif // V8_ENABLE_WEBASSEMBLY
|
#endif // V8_ENABLE_WEBASSEMBLY
|
||||||
|
|
||||||
|
#ifdef GOOGLE3
|
||||||
|
// Disable FRIEND_TEST macro in Google3.
|
||||||
|
#define FRIEND_TEST(test_case_name, test_name)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // V8_BASE_MACROS_H_
|
#endif // V8_BASE_MACROS_H_
|
||||||
|
@ -7,4 +7,6 @@
|
|||||||
// and testing/gmock, instead of directly including files in
|
// and testing/gmock, instead of directly including files in
|
||||||
// third_party/googletest.
|
// third_party/googletest.
|
||||||
|
|
||||||
|
#if !defined(GOOGLE3)
|
||||||
#include "third_party/googletest/src/googletest/include/gtest/gtest_prod.h"
|
#include "third_party/googletest/src/googletest/include/gtest/gtest_prod.h"
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user