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

Side by Side Diff: test/cctest/SConscript

Issue 12427: Merge regexp2000 back into bleeding_edge (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years 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 # Copyright 2008 the V8 project authors. All rights reserved. 1 # Copyright 2008 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 20 matching lines...) Expand all
31 sys.path.append(join(root_dir, 'tools')) 31 sys.path.append(join(root_dir, 'tools'))
32 Import('context object_files') 32 Import('context object_files')
33 33
34 34
35 SOURCES = { 35 SOURCES = {
36 'all': [ 36 'all': [
37 'test-hashmap.cc', 'test-debug.cc', 'test-api.cc', 'test-flags.cc', 37 'test-hashmap.cc', 'test-debug.cc', 'test-api.cc', 'test-flags.cc',
38 'test-ast.cc', 'test-heap.cc', 'test-utils.cc', 'test-compiler.cc', 38 'test-ast.cc', 'test-heap.cc', 'test-utils.cc', 'test-compiler.cc',
39 'test-spaces.cc', 'test-mark-compact.cc', 'test-lock.cc', 39 'test-spaces.cc', 'test-mark-compact.cc', 'test-lock.cc',
40 'test-conversions.cc', 'test-strings.cc', 'test-serialize.cc', 40 'test-conversions.cc', 'test-strings.cc', 'test-serialize.cc',
41 'test-decls.cc', 'test-alloc.cc' 41 'test-decls.cc', 'test-alloc.cc', 'test-regexp.cc'
42 ], 42 ],
43 'arch:arm': ['test-assembler-arm.cc', 'test-disasm-arm.cc'], 43 'arch:arm': ['test-assembler-arm.cc', 'test-disasm-arm.cc'],
44 'arch:ia32': ['test-assembler-ia32.cc', 'test-disasm-ia32.cc'], 44 'arch:ia32': ['test-assembler-ia32.cc', 'test-disasm-ia32.cc'],
45 'os:linux': ['test-platform-linux.cc'], 45 'os:linux': ['test-platform-linux.cc'],
46 'os:macos': ['test-platform-macos.cc'], 46 'os:macos': ['test-platform-macos.cc'],
47 'os:nullos': ['test-platform-nullos.cc'], 47 'os:nullos': ['test-platform-nullos.cc'],
48 'os:win32': ['test-platform-win32.cc'] 48 'os:win32': ['test-platform-win32.cc']
49 } 49 }
50 50
51 51
52 def Build(): 52 def Build():
53 cctest_files = context.GetRelevantSources(SOURCES) 53 cctest_files = context.GetRelevantSources(SOURCES)
54 env = Environment() 54 env = Environment()
55 env.Replace(**context.flags['cctest']) 55 env.Replace(**context.flags['cctest'])
56 context.ApplyEnvOverrides(env) 56 context.ApplyEnvOverrides(env)
57 # There seems to be a glitch in the way scons decides where to put 57 # There seems to be a glitch in the way scons decides where to put
58 # PDB files when compiling using MSVC so we specify it manually. 58 # PDB files when compiling using MSVC so we specify it manually.
59 # This should not affect any other platforms. 59 # This should not affect any other platforms.
60 return env.Program('cctest', ['cctest.cc', cctest_files, object_files], 60 return env.Program('cctest', ['cctest.cc', cctest_files, object_files],
61 PDB='cctest.exe.pdb') 61 PDB='cctest.exe.pdb')
62 62
63 63
64 program = Build() 64 program = Build()
65 Return('program') 65 Return('program')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698