OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
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 # TODO(bradchen): | 6 # TODO(bradchen): |
7 # - update plaform_qualify.gyp to be consistent with build.scons | 7 # - update plaform_qualify.gyp to be consistent with build.scons |
8 # - update sel_ldr to include blacklist check | 8 # - update sel_ldr to include blacklist check |
9 | 9 |
10 Import('env') | 10 Import('env') |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 if env.Bit('build_arm'): | 77 if env.Bit('build_arm'): |
78 # Compile ARM primitives for checking XN functionality | 78 # Compile ARM primitives for checking XN functionality |
79 pql_inputs += ['arch/arm/nacl_dep_qualify_arch.c'] | 79 pql_inputs += ['arch/arm/nacl_dep_qualify_arch.c'] |
80 # Compile ARM primitives for checking VFP/vector features. | 80 # Compile ARM primitives for checking VFP/vector features. |
81 pql_inputs += ['arch/arm/nacl_qualify_fpu.c'] | 81 pql_inputs += ['arch/arm/nacl_qualify_fpu.c'] |
82 # Compile ARM primitives for checking sandboxing features. | 82 # Compile ARM primitives for checking sandboxing features. |
83 pql_inputs += ['arch/arm/nacl_qualify_sandbox_instrs.c'] | 83 pql_inputs += ['arch/arm/nacl_qualify_sandbox_instrs.c'] |
84 # Compile ARM primitives for checking alignment features. | 84 # Compile ARM primitives for checking alignment features. |
85 pql_inputs += ['arch/arm/nacl_qualify_unaligned.c'] | 85 pql_inputs += ['arch/arm/nacl_qualify_unaligned.c'] |
86 | 86 |
87 if env.Bit('build_mips32'): | |
88 # Compile Mips primitives for checking XN functionality | |
89 pql_inputs += ['arch/mips/nacl_dep_qualify_arch.c'] | |
90 | |
91 # ---------------------------------------------------------- | 87 # ---------------------------------------------------------- |
92 # | 88 # |
93 # ---------------------------------------------------------- | 89 # ---------------------------------------------------------- |
94 env.DualLibrary('platform_qual_lib', pql_inputs) | 90 env.DualLibrary('platform_qual_lib', pql_inputs) |
95 | 91 |
96 | 92 |
97 # These tests use assembly which seem to make the coverage instrumentation | 93 # These tests use assembly which seem to make the coverage instrumentation |
98 # on windows unhappy. Disable them for now on coverage for windows. | 94 # on windows unhappy. Disable them for now on coverage for windows. |
99 # TODO(bradnelson): figure out a way to get coverage working for these. | 95 # TODO(bradnelson): figure out a way to get coverage working for these. |
100 if env.Bit('windows') and env.Bit('coverage_enabled'): | 96 if env.Bit('windows') and env.Bit('coverage_enabled'): |
101 Return() | 97 Return() |
OLD | NEW |