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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 const char kNaClGdb[] = "nacl-gdb"; | 42 const char kNaClGdb[] = "nacl-gdb"; |
43 | 43 |
44 // Value for --type that causes the process to run as a NativeClient loader | 44 // Value for --type that causes the process to run as a NativeClient loader |
45 // for non SFI mode. | 45 // for non SFI mode. |
46 const char kNaClLoaderNonSfiProcess[] = "nacl-loader-nonsfi"; | 46 const char kNaClLoaderNonSfiProcess[] = "nacl-loader-nonsfi"; |
47 | 47 |
48 // Value for --type that causes the process to run as a NativeClient loader | 48 // Value for --type that causes the process to run as a NativeClient loader |
49 // for SFI mode. | 49 // for SFI mode. |
50 const char kNaClLoaderProcess[] = "nacl-loader"; | 50 const char kNaClLoaderProcess[] = "nacl-loader"; |
51 | 51 |
| 52 // Use nacl_helper_nonsfi executable (the new, newlib-based version of the |
| 53 // Non-SFI runtime) to run Non-SFI nexe, instead of nacl_helper executable |
| 54 // (which uses the older, glib-based runtime for Non-SFI mode). |
| 55 // TODO(hidehiko): Make this default and then remove this flag after |
| 56 // nacl_helper_nonsfi is supported. |
| 57 const char kUseNaClHelperNonSfi[] = "use-nacl-helper-nonsfi"; |
| 58 |
52 } // namespace switches | 59 } // namespace switches |
OLD | NEW |