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

Side by Side Diff: tests/sel_main_chrome/sel_main_chrome_test.cc

Issue 788193003: Create a build_config header file. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years 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 | Annotate | Revision Log
OLDNEW
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 <fcntl.h> 7 #include <fcntl.h>
8 #include <cstring> 8 #include <cstring>
9 9
10 #include "native_client/src/include/nacl_defines.h"
10 #if NACL_WINDOWS 11 #if NACL_WINDOWS
11 # include <io.h> 12 # include <io.h>
12 #endif 13 #endif
13 14
14 #include "native_client/src/public/chrome_main.h" 15 #include "native_client/src/public/chrome_main.h"
15 #include "native_client/src/public/nacl_app.h" 16 #include "native_client/src/public/nacl_app.h"
16 #include "native_client/src/public/nacl_file_info.h" 17 #include "native_client/src/public/nacl_file_info.h"
17 #include "native_client/src/shared/platform/nacl_check.h" 18 #include "native_client/src/shared/platform/nacl_check.h"
18 #include "native_client/src/shared/platform/nacl_threads.h" 19 #include "native_client/src/shared/platform/nacl_threads.h"
19 #include "native_client/src/shared/srpc/nacl_srpc.h" 20 #include "native_client/src/shared/srpc/nacl_srpc.h"
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 } 315 }
315 316
316 NaClThread thread; 317 NaClThread thread;
317 CHECK(NaClThreadCtor(&thread, DummyRendererThread, &thread_args, 318 CHECK(NaClThreadCtor(&thread, DummyRendererThread, &thread_args,
318 NACL_KERN_STACK_SIZE)); 319 NACL_KERN_STACK_SIZE));
319 320
320 NaClChromeMainStartApp(nap, args); 321 NaClChromeMainStartApp(nap, args);
321 NaClLog(LOG_FATAL, "NaClChromeMainStartApp() should never return\n"); 322 NaClLog(LOG_FATAL, "NaClChromeMainStartApp() should never return\n");
322 return 1; 323 return 1;
323 } 324 }
OLDNEW
« src/include/nacl_defines.h ('K') | « tests/performance/perf_test_basics.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698