| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #include <assert.h> | 7 #include <assert.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <iterator> | 10 #include <iterator> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "native_client/src/include/nacl_defines.h" |
| 14 |
| 13 #if NACL_OSX | 15 #if NACL_OSX |
| 14 #include <crt_externs.h> | 16 #include <crt_externs.h> |
| 15 #endif | 17 #endif |
| 16 | 18 |
| 17 #include "native_client/src/include/nacl_macros.h" | 19 #include "native_client/src/include/nacl_macros.h" |
| 18 #include "native_client/src/include/nacl_scoped_ptr.h" | 20 #include "native_client/src/include/nacl_scoped_ptr.h" |
| 19 #include "native_client/src/include/nacl_string.h" | 21 #include "native_client/src/include/nacl_string.h" |
| 20 #include "native_client/src/shared/srpc/nacl_srpc.h" | 22 #include "native_client/src/shared/srpc/nacl_srpc.h" |
| 21 #include "native_client/src/shared/platform/nacl_check.h" | 23 #include "native_client/src/shared/platform/nacl_check.h" |
| 22 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" | 24 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 args_for_sel_ldr.push_back("-B"); | 144 args_for_sel_ldr.push_back("-B"); |
| 143 args_for_sel_ldr.push_back(irt_library_path); | 145 args_for_sel_ldr.push_back(irt_library_path); |
| 144 } | 146 } |
| 145 if (!StartViaCommandLine(prefix, args_for_sel_ldr, args_for_nexe)) { | 147 if (!StartViaCommandLine(prefix, args_for_sel_ldr, args_for_nexe)) { |
| 146 return false; | 148 return false; |
| 147 } | 149 } |
| 148 return true; | 150 return true; |
| 149 } | 151 } |
| 150 | 152 |
| 151 } // namespace nacl | 153 } // namespace nacl |
| OLD | NEW |