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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « chrome/test/ppapi/ppapi_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Defines all the command-line switches used by Chrome. 5 // Defines all the command-line switches used by Chrome.
6 6
7 #ifndef COMPONENTS_NACL_COMMON_NACL_SWITCHES_H_ 7 #ifndef COMPONENTS_NACL_COMMON_NACL_SWITCHES_H_
8 #define COMPONENTS_NACL_COMMON_NACL_SWITCHES_H_ 8 #define COMPONENTS_NACL_COMMON_NACL_SWITCHES_H_
9 9
10 namespace switches { 10 namespace switches {
11 11
12 #if !defined(DISABLE_NACL)
12 // All switches in alphabetical order. The switches should be documented 13 // All switches in alphabetical order. The switches should be documented
13 // alongside the definition of their values in the .cc file. 14 // alongside the definition of their values in the .cc file.
14 extern const char kDisablePnaclCrashThrottling[]; 15 extern const char kDisablePnaclCrashThrottling[];
15 extern const char kEnableNaClDebug[]; 16 extern const char kEnableNaClDebug[];
16 extern const char kEnableNaClNonSfiMode[]; 17 extern const char kEnableNaClNonSfiMode[];
17 extern const char kNaClBrokerProcess[]; 18 extern const char kNaClBrokerProcess[];
18 extern const char kNaClDangerousNoSandboxNonSfi[]; 19 extern const char kNaClDangerousNoSandboxNonSfi[];
19 extern const char kNaClDebugMask[]; 20 extern const char kNaClDebugMask[];
20 extern const char kNaClGdbScript[]; 21 extern const char kNaClGdbScript[];
21 extern const char kNaClGdb[]; 22 extern const char kNaClGdb[];
22 extern const char kNaClLoaderNonSfiProcess[]; 23 extern const char kNaClLoaderNonSfiProcess[];
23 extern const char kNaClLoaderProcess[]; 24 extern const char kNaClLoaderProcess[];
24 extern const char kUseNaClHelperNonSfi[]; 25 extern const char kUseNaClHelperNonSfi[];
26 #endif // !defined(DISABLE_NACL)
25 27
26 } // namespace switches 28 } // namespace switches
27 29
28 #endif // COMPONENTS_NACL_COMMON_NACL_SWITCHES_H_ 30 #endif // COMPONENTS_NACL_COMMON_NACL_SWITCHES_H_
OLDNEW
« 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