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

Side by Side Diff: src/trusted/service_runtime/sel_qualify.c

Issue 788193003: Create a build_config header file. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Support scons windows as well. 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 "native_client/src/trusted/service_runtime/sel_qualify.h" 7 #include "native_client/src/trusted/service_runtime/sel_qualify.h"
8 8 #include "native_client/src/include/build_config.h"
9 #include "native_client/src/trusted/platform_qualify/nacl_cpuwhitelist.h" 9 #include "native_client/src/trusted/platform_qualify/nacl_cpuwhitelist.h"
10 #include "native_client/src/trusted/platform_qualify/nacl_dep_qualify.h" 10 #include "native_client/src/trusted/platform_qualify/nacl_dep_qualify.h"
11 #include "native_client/src/trusted/platform_qualify/nacl_os_qualify.h" 11 #include "native_client/src/trusted/platform_qualify/nacl_os_qualify.h"
12 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm 12 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm
13 #include "native_client/src/trusted/platform_qualify/arch/arm/nacl_arm_qualify.h " 13 #include "native_client/src/trusted/platform_qualify/arch/arm/nacl_arm_qualify.h "
14 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips 14 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips
15 #include "native_client/src/trusted/platform_qualify/arch/mips/nacl_mips_qualify .h" 15 #include "native_client/src/trusted/platform_qualify/arch/mips/nacl_mips_qualify .h"
16 #endif 16 #endif
17 17
18 NaClErrorCode NaClRunSelQualificationTests(void) { 18 NaClErrorCode NaClRunSelQualificationTests(void) {
(...skipping 23 matching lines...) Expand all
42 #endif 42 #endif
43 43
44 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips 44 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips
45 if (!NaClQualifyFpu()) { 45 if (!NaClQualifyFpu()) {
46 return LOAD_UNSUPPORTED_CPU; 46 return LOAD_UNSUPPORTED_CPU;
47 } 47 }
48 #endif 48 #endif
49 49
50 return LOAD_OK; 50 return LOAD_OK;
51 } 51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698