Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(901)

Unified Diff: components/nacl/common/nacl_switches.h

Issue 741943003: Fix disable_nacl=1 build of browser_tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually, make these flags unavailable at compile-time too. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/ppapi/ppapi_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/common/nacl_switches.h
diff --git a/components/nacl/common/nacl_switches.h b/components/nacl/common/nacl_switches.h
index b38bb4008d248d3bef0122621556c16500f775cb..b3bfb4c173ef35da67a9d5927e441af99711d2d7 100644
--- a/components/nacl/common/nacl_switches.h
+++ b/components/nacl/common/nacl_switches.h
@@ -9,6 +9,7 @@
namespace switches {
+#if !defined(DISABLE_NACL)
// All switches in alphabetical order. The switches should be documented
// alongside the definition of their values in the .cc file.
extern const char kDisablePnaclCrashThrottling[];
@@ -22,6 +23,7 @@ extern const char kNaClGdb[];
extern const char kNaClLoaderNonSfiProcess[];
extern const char kNaClLoaderProcess[];
extern const char kUseNaClHelperNonSfi[];
+#endif // !defined(DISABLE_NACL)
} // namespace switches
« no previous file with comments | « chrome/test/ppapi/ppapi_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698