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

Side by Side Diff: ppapi/nacl_irt/irt_pnacl_translator_compile.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 | « ipc/BUILD.gn ('k') | ppapi/nacl_irt/irt_pnacl_translator_link.cc » ('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 <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
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)
OLDNEW
« no previous file with comments | « ipc/BUILD.gn ('k') | ppapi/nacl_irt/irt_pnacl_translator_link.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698