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 import os | 6 import os |
7 Import('env') | 7 Import('env') |
8 | 8 |
9 # Android compiler cannot compile NDK C++ headers with these. | 9 # Android compiler cannot compile NDK C++ headers with these. |
10 if env.Bit('linux') and not env.Bit('android'): | 10 if env.Bit('linux') and not env.Bit('android'): |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 _generate_source(source) | 136 _generate_source(source) |
137 | 137 |
138 for tbl in GEN_TABLES: | 138 for tbl in GEN_TABLES: |
139 _generate_source(_TableTestName(tbl) + '.cc', tbl) | 139 _generate_source(_TableTestName(tbl) + '.cc', tbl) |
140 | 140 |
141 env.ComponentLibrary('arm_validator_core', | 141 env.ComponentLibrary('arm_validator_core', |
142 ['address_set.cc', | 142 ['address_set.cc', |
143 'actual_classes.cc', | 143 'actual_classes.cc', |
144 'gen/arm32_decode_actuals.cc', | 144 'gen/arm32_decode_actuals.cc', |
145 'baseline_classes.cc', | 145 'baseline_classes.cc', |
146 'cpuid_arm.c', | |
147 'inst_classes.cc', | 146 'inst_classes.cc', |
148 'model.cc', | 147 'model.cc', |
149 'validator.cc', | 148 'validator.cc', |
150 'gen/arm32_decode.cc']) | 149 'gen/arm32_decode.cc']) |
151 | 150 |
152 env.ComponentLibrary('ncvalidate_arm_v2', | 151 env.ComponentLibrary('ncvalidate_arm_v2', |
153 ['ncvalidate.cc'], | 152 ['ncvalidate.cc'], |
154 LIBS=['arm_validator_core', | 153 LIBS=['arm_validator_core', |
155 '${OPTIONAL_COVERAGE_LIBS}']) | 154 '${OPTIONAL_COVERAGE_LIBS}']) |
156 | 155 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 EXTRA_LIBS=['decoder_test_tools', 'arm_validator_core']) | 284 EXTRA_LIBS=['decoder_test_tools', 'arm_validator_core']) |
286 | 285 |
287 decoder_test_node = gtest_env.CommandTest( | 286 decoder_test_node = gtest_env.CommandTest( |
288 'arm32_decode_' + tbl + 'tests.out', | 287 'arm32_decode_' + tbl + 'tests.out', |
289 command=[decoder_tests_exe], | 288 command=[decoder_tests_exe], |
290 scale_timeout=1000) | 289 scale_timeout=1000) |
291 | 290 |
292 gtest_env.AddNodeToTestSuite(decoder_test_node, | 291 gtest_env.AddNodeToTestSuite(decoder_test_node, |
293 ['huge_tests', 'arm_decoder_tests'], | 292 ['huge_tests', 'arm_decoder_tests'], |
294 'run_arm32_decode_' + tbl + '_tests') | 293 'run_arm32_decode_' + tbl + '_tests') |
OLD | NEW |