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

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

Issue 10919162: [MIPS] Implementation of sel_ldr for MIPS architecture. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Rebase (Saturday morning). Created 8 years, 3 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
« no previous file with comments | « src/trusted/validator/validator_init.c ('k') | src/trusted/validator_mips/cpuid_mips.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 if env.Bit('linux'): 9 if env.Bit('linux'):
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 '${TARGET.abspath}']) 50 '${TARGET.abspath}'])
51 51
52 for f in GEN_LIST: 52 for f in GEN_LIST:
53 _generate_source(f) 53 _generate_source(f)
54 54
55 env.ComponentLibrary('mips_validator_core', 55 env.ComponentLibrary('mips_validator_core',
56 ['address_set.cc', 56 ['address_set.cc',
57 'validator.cc', 57 'validator.cc',
58 'gen/decode.cc']) 58 'gen/decode.cc'])
59 59
60 env.ComponentLibrary('ncvalidate_mips',
61 ['ncvalidate.cc'],
62 LIBS=['mips_validator_core',
63 '${OPTIONAL_COVERAGE_LIBS}'])
64
60 ncval = env.ComponentProgram( 65 ncval = env.ComponentProgram(
61 'mips-ncval-core', 66 'mips-ncval-core',
62 ['ncval.cc'], 67 ['ncval.cc'],
63 LIBS=['mips_validator_core', 68 LIBS=['mips_validator_core',
64 env.NaClTargetArchSuffix('ncfileutils'), 69 env.NaClTargetArchSuffix('ncfileutils'),
65 '${OPTIONAL_COVERAGE_LIBS}']) 70 '${OPTIONAL_COVERAGE_LIBS}'])
66 71
67 env.SDKInstallBin('ncval', ncval, target='mips32') 72 env.SDKInstallBin('ncval', ncval, target='mips32')
68 73
69 gtest_env = env.MakeGTestEnv() 74 gtest_env = env.MakeGTestEnv()
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 # a program of the same name. 114 # a program of the same name.
110 validator_tests_exe = gtest_env.ComponentProgram('mips_validator_tests', 115 validator_tests_exe = gtest_env.ComponentProgram('mips_validator_tests',
111 ['validator_tests.cc'], 116 ['validator_tests.cc'],
112 EXTRA_LIBS=['mips_validator_core']) 117 EXTRA_LIBS=['mips_validator_core'])
113 118
114 test_node = gtest_env.CommandTest( 119 test_node = gtest_env.CommandTest(
115 'mips_validator_tests.out', 120 'mips_validator_tests.out',
116 command=[validator_tests_exe]) 121 command=[validator_tests_exe])
117 gtest_env.AddNodeToTestSuite(test_node, ['small_tests'], 122 gtest_env.AddNodeToTestSuite(test_node, ['small_tests'],
118 'run_mips_validator_tests') 123 'run_mips_validator_tests')
OLDNEW
« no previous file with comments | « src/trusted/validator/validator_init.c ('k') | src/trusted/validator_mips/cpuid_mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698