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

Unified Diff: chrome/test/ppapi/ppapi_browsertest.cc

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 | « no previous file | components/nacl/common/nacl_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ppapi/ppapi_browsertest.cc
diff --git a/chrome/test/ppapi/ppapi_browsertest.cc b/chrome/test/ppapi/ppapi_browsertest.cc
index c1b4df2d45698e9c720430f14a985bedbc933dd2..1e62851df6840f3eb4c03ae6a0fcc362f50db61e 100644
--- a/chrome/test/ppapi/ppapi_browsertest.cc
+++ b/chrome/test/ppapi/ppapi_browsertest.cc
@@ -1494,8 +1494,10 @@ class NonSfiPackagedAppTest : public PackagedAppTest {
class TransitionalNonSfiPackagedAppTest : public NonSfiPackagedAppTest {
public:
void SetUpCommandLine(base::CommandLine* command_line) override {
+#if !defined(DISABLE_NACL)
NonSfiPackagedAppTest::SetUpCommandLine(command_line);
command_line->AppendSwitch(switches::kUseNaClHelperNonSfi);
+#endif
}
};
« no previous file with comments | « no previous file | components/nacl/common/nacl_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698