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

Side by Side Diff: src/trusted/validator_arm/build.scons

Issue 11864002: Move CPU features into its own static library. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Address bsy's comments by not building x86 target when host isn't x86. This is how things are curre… Created 7 years, 11 months 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
« no previous file with comments | « src/trusted/validator/x86/validate_x86.gyp ('k') | src/trusted/validator_arm/cpuid_arm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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')
OLDNEW
« no previous file with comments | « src/trusted/validator/x86/validate_x86.gyp ('k') | src/trusted/validator_arm/cpuid_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698