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

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

Issue 11000033: Move validator_x86_XX.rl out of unreviewed. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 7 years, 9 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
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 sys 6 import sys
7 7
8 from SCons.Errors import UserError 8 from SCons.Errors import UserError
9 9
10 Import('env') 10 Import('env')
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 ['${PYTHON}', 173 ['${PYTHON}',
174 env.File('gen_dfa.py'), 174 env.File('gen_dfa.py'),
175 '--bitness', bits, 175 '--bitness', bits,
176 '--mode', automaton, 176 '--mode', automaton,
177 '>${TARGET}', 177 '>${TARGET}',
178 ] + INSTRUCTION_DEFINITIONS) 178 ] + INSTRUCTION_DEFINITIONS)
179 179
180 include_dir = rl_instruction_file.dir.get_abspath() 180 include_dir = rl_instruction_file.dir.get_abspath()
181 assert include_dir == byte_machines.dir.get_abspath() 181 assert include_dir == byte_machines.dir.get_abspath()
182 182
183 rl_file = env.File('unreviewed/%s_x86_%s.rl' % (automaton, bits)) 183 rl_file = env.File('%s_x86_%s.rl' % (automaton, bits))
184 184
185 (c_file,) = env.AutoDepsCommand( 185 (c_file,) = env.AutoDepsCommand(
186 '%s_x86_%s.c' % (automaton, bits), 186 '%s_x86_%s.c' % (automaton, bits),
187 [ragel_binary, 187 [ragel_binary,
188 ragel_flags, 188 ragel_flags,
189 '-LL', 189 '-LL',
190 '-I..', 190 '-I..',
191 '-I%s' % include_dir, 191 '-I%s' % include_dir,
192 rl_file, 192 rl_file,
193 '-o', '${TARGET}'], 193 '-o', '${TARGET}'],
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 '--gas', gas, 323 '--gas', gas,
324 '--objdump', objdump, 324 '--objdump', objdump,
325 '--validator_dll', validator_dll]) 325 '--validator_dll', validator_dll])
326 326
327 # Never run decoder tests in parallel because they can take all CPU. 327 # Never run decoder tests in parallel because they can take all CPU.
328 SideEffect('check_validator', regular_instructions_test) 328 SideEffect('check_validator', regular_instructions_test)
329 329
330 env.AlwaysBuild(env.Alias( 330 env.AlwaysBuild(env.Alias(
331 'dfacheckvalidator', 331 'dfacheckvalidator',
332 [superinstruction_verified, regular_instructions_test])) 332 [superinstruction_verified, regular_instructions_test]))
OLDNEW
« no previous file with comments | « src/trusted/validator/x86/testing/enuminsts/ragel_tester.c ('k') | src/trusted/validator_ragel/decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698