OLD | NEW |
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 #include "components/nacl/common/nacl_switches.h" | 5 #include "components/nacl/common/nacl_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Disables crash throttling for Portable Native Client. | 9 // Disables crash throttling for Portable Native Client. |
10 const char kDisablePnaclCrashThrottling[] = "disable-pnacl-crash-throttling"; | 10 const char kDisablePnaclCrashThrottling[] = "disable-pnacl-crash-throttling"; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 const char kNaClGdb[] = "nacl-gdb"; | 45 const char kNaClGdb[] = "nacl-gdb"; |
46 | 46 |
47 // Value for --type that causes the process to run as a NativeClient loader | 47 // Value for --type that causes the process to run as a NativeClient loader |
48 // for non SFI mode. | 48 // for non SFI mode. |
49 const char kNaClLoaderNonSfiProcess[] = "nacl-loader-nonsfi"; | 49 const char kNaClLoaderNonSfiProcess[] = "nacl-loader-nonsfi"; |
50 | 50 |
51 // Value for --type that causes the process to run as a NativeClient loader | 51 // Value for --type that causes the process to run as a NativeClient loader |
52 // for SFI mode. | 52 // for SFI mode. |
53 const char kNaClLoaderProcess[] = "nacl-loader"; | 53 const char kNaClLoaderProcess[] = "nacl-loader"; |
54 | 54 |
55 // Use nacl_helper_nonsfi executable (the new, newlib-based version of the | |
56 // Non-SFI runtime) to run Non-SFI nexe, instead of nacl_helper executable | |
57 // (which uses the older, glib-based runtime for Non-SFI mode). | |
58 // TODO(hidehiko): Make this default and then remove this flag after | |
59 // nacl_helper_nonsfi is supported. | |
60 const char kUseNaClHelperNonSfi[] = "use-nacl-helper-nonsfi"; | |
61 | |
62 } // namespace switches | 55 } // namespace switches |
OLD | NEW |