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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 node = env.CommandTest('cpuwhitelist_test.out', [cpuwhitelist_test]) | 69 node = env.CommandTest('cpuwhitelist_test.out', [cpuwhitelist_test]) |
70 env.AddNodeToTestSuite(node, ['small_tests'], 'run_cpuwhitelist_test') | 70 env.AddNodeToTestSuite(node, ['small_tests'], 'run_cpuwhitelist_test') |
71 | 71 |
72 | 72 |
73 if env.Bit('build_arm'): | 73 if env.Bit('build_arm'): |
74 # Compile ARM primitives for checking XN functionality | 74 # Compile ARM primitives for checking XN functionality |
75 pql_inputs += ['arch/arm/nacl_dep_qualify_arch.c'] | 75 pql_inputs += ['arch/arm/nacl_dep_qualify_arch.c'] |
76 # Compile ARM primitives for checking VFP/vector features. | 76 # Compile ARM primitives for checking VFP/vector features. |
77 pql_inputs += ['arch/arm/nacl_qualify_fpu.c'] | 77 pql_inputs += ['arch/arm/nacl_qualify_fpu.c'] |
78 | 78 |
| 79 if env.Bit('build_mips32'): |
| 80 # Compile Mips primitives for checking XN functionality |
| 81 pql_inputs += ['arch/mips/nacl_dep_qualify_arch.c'] |
79 | 82 |
80 # ---------------------------------------------------------- | 83 # ---------------------------------------------------------- |
81 # | 84 # |
82 # ---------------------------------------------------------- | 85 # ---------------------------------------------------------- |
83 env.DualLibrary('platform_qual_lib', pql_inputs) | 86 env.DualLibrary('platform_qual_lib', pql_inputs) |
84 | 87 |
85 | 88 |
86 # These tests use assembly which seem to make the coverage instrumentation | 89 # These tests use assembly which seem to make the coverage instrumentation |
87 # on windows unhappy. Disable them for now on coverage for windows. | 90 # on windows unhappy. Disable them for now on coverage for windows. |
88 # TODO(bradnelson): figure out a way to get coverage working for these. | 91 # TODO(bradnelson): figure out a way to get coverage working for these. |
89 if env.Bit('windows') and env.Bit('coverage_enabled'): | 92 if env.Bit('windows') and env.Bit('coverage_enabled'): |
90 Return() | 93 Return() |
OLD | NEW |