aboutsummaryrefslogtreecommitdiff
path: root/test/gtest_and_gmock.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/gtest_and_gmock.h')
-rw-r--r--test/gtest_and_gmock.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/gtest_and_gmock.h b/test/gtest_and_gmock.h
index 82918d8a0..90a8c85d6 100644
--- a/test/gtest_and_gmock.h
+++ b/test/gtest_and_gmock.h
@@ -25,8 +25,6 @@
// 1 applies recursively also to the test translation units, 2 applies only
// to gmock/gtest includes.
-#include "perfetto/base/build_config.h"
-
#if defined(__GNUC__) // GCC & clang
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wundef"
@@ -38,12 +36,7 @@
#if defined(__clang__)
#pragma GCC diagnostic ignored "-Wshift-sign-overflow"
-
-#if !PERFETTO_BUILDFLAG(PERFETTO_OS_NACL)
-// -Wcomma isn't supported on NaCL.
#pragma GCC diagnostic ignored "-Wcomma"
-#endif // PERFETTO_OS_NACL
-
#endif
#include <gmock/gmock.h>