OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <argz.h> | 5 #include <argz.h> |
6 #include <string.h> | 6 #include <string.h> |
7 | 7 |
| 8 #include "build/build_config.h" |
8 #include "native_client/src/shared/platform/nacl_log.h" | 9 #include "native_client/src/shared/platform/nacl_log.h" |
9 #include "native_client/src/shared/srpc/nacl_srpc.h" | 10 #include "native_client/src/shared/srpc/nacl_srpc.h" |
10 #include "native_client/src/untrusted/irt/irt_dev.h" | 11 #include "native_client/src/untrusted/irt/irt_dev.h" |
11 #include "ppapi/nacl_irt/irt_interfaces.h" | 12 #include "ppapi/nacl_irt/irt_interfaces.h" |
12 | 13 |
| 14 #if !defined(OS_NACL_NONSFI) |
| 15 |
13 namespace { | 16 namespace { |
14 | 17 |
15 const int kMaxObjectFiles = 16; | 18 const int kMaxObjectFiles = 16; |
16 | 19 |
17 const struct nacl_irt_pnacl_compile_funcs* g_funcs; | 20 const struct nacl_irt_pnacl_compile_funcs* g_funcs; |
18 | 21 |
19 void StreamInitWithSplit(NaClSrpcRpc* rpc, | 22 void StreamInitWithSplit(NaClSrpcRpc* rpc, |
20 NaClSrpcArg** in_args, | 23 NaClSrpcArg** in_args, |
21 NaClSrpcArg** out_args, | 24 NaClSrpcArg** out_args, |
22 NaClSrpcClosure* done) { | 25 NaClSrpcClosure* done) { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 NaClLog(LOG_FATAL, "NaClSrpcAcceptClientConnection() failed\n"); | 111 NaClLog(LOG_FATAL, "NaClSrpcAcceptClientConnection() failed\n"); |
109 } | 112 } |
110 } | 113 } |
111 | 114 |
112 } | 115 } |
113 | 116 |
114 const struct nacl_irt_private_pnacl_translator_compile | 117 const struct nacl_irt_private_pnacl_translator_compile |
115 nacl_irt_private_pnacl_translator_compile = { | 118 nacl_irt_private_pnacl_translator_compile = { |
116 ServeTranslateRequest | 119 ServeTranslateRequest |
117 }; | 120 }; |
| 121 |
| 122 #endif // !defined(OS_NACL_NONSFI) |
OLD | NEW |