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

Side by Side Diff: ppapi/nacl_irt/irt_pnacl_translator_link.cc

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 | « ppapi/nacl_irt/irt_pnacl_translator_compile.cc ('k') | ppapi/proxy/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "build/build_config.h"
5 #include "native_client/src/shared/platform/nacl_log.h" 6 #include "native_client/src/shared/platform/nacl_log.h"
6 #include "native_client/src/shared/srpc/nacl_srpc.h" 7 #include "native_client/src/shared/srpc/nacl_srpc.h"
7 #include "native_client/src/untrusted/irt/irt_dev.h" 8 #include "native_client/src/untrusted/irt/irt_dev.h"
8 #include "ppapi/nacl_irt/irt_interfaces.h" 9 #include "ppapi/nacl_irt/irt_interfaces.h"
9 10
11 #if !defined(OS_NACL_NONSFI)
12
10 namespace { 13 namespace {
11 14
12 const int kMaxObjectFiles = 16; 15 const int kMaxObjectFiles = 16;
13 16
14 int (*g_func)(int nexe_fd, 17 int (*g_func)(int nexe_fd,
15 const int* obj_file_fds, 18 const int* obj_file_fds,
16 int obj_file_fd_count); 19 int obj_file_fd_count);
17 20
18 void HandleLinkRequest(NaClSrpcRpc* rpc, 21 void HandleLinkRequest(NaClSrpcRpc* rpc,
19 NaClSrpcArg** in_args, 22 NaClSrpcArg** in_args,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 NaClLog(LOG_FATAL, "NaClSrpcAcceptClientConnection() failed\n"); 55 NaClLog(LOG_FATAL, "NaClSrpcAcceptClientConnection() failed\n");
53 } 56 }
54 } 57 }
55 58
56 } 59 }
57 60
58 const struct nacl_irt_private_pnacl_translator_link 61 const struct nacl_irt_private_pnacl_translator_link
59 nacl_irt_private_pnacl_translator_link = { 62 nacl_irt_private_pnacl_translator_link = {
60 ServeLinkRequest 63 ServeLinkRequest
61 }; 64 };
65
66 #endif // !defined(OS_NACL_NONSFI)
OLDNEW
« no previous file with comments | « ppapi/nacl_irt/irt_pnacl_translator_compile.cc ('k') | ppapi/proxy/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698