Index: webrtc/test/test_main.cc |
diff --git a/webrtc/test/test_main.cc b/webrtc/test/test_main.cc |
index 3f6d4f187c9ef0e337598398fcc4a6a26cc91660..2d7dbe2225c6c2e6da3d341e0817d42ad885c495 100644 |
--- a/webrtc/test/test_main.cc |
+++ b/webrtc/test/test_main.cc |
@@ -19,11 +19,6 @@ |
#if defined(WEBRTC_IOS) |
#include "webrtc/test/ios/test_support.h" |
- |
-DEFINE_string(NSTreatUnknownArgumentsAsOpen, "", |
- "Intentionally ignored flag intended for iOS simulator."); |
-DEFINE_string(ApplePersistenceIgnoreState, "", |
- "Intentionally ignored flag intended for iOS simulator."); |
#endif |
DEFINE_bool(logs, false, "print logs to stderr"); |
@@ -41,6 +36,9 @@ |
if (rtc::LogMessage::GetLogToDebug() > rtc::LS_INFO) |
rtc::LogMessage::LogToDebug(rtc::LS_INFO); |
+ // AllowCommandLineParsing allows us to ignore flags passed on to us by |
+ // Chromium build bots without having to explicitly disable them. |
+ google::AllowCommandLineReparsing(); |
google::ParseCommandLineFlags(&argc, &argv, false); |
webrtc::test::SetExecutablePath(argv[0]); |