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

Side by Side Diff: test/cctest/SConscript

Issue 27085: Add socket support to platform code.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 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/platform-win32.cc ('k') | test/cctest/test-sockets.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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', 'test-regexp.cc', 'test-threads.cc' 41 'test-decls.cc', 'test-alloc.cc', 'test-regexp.cc', 'test-threads.cc',
42 'test-sockets.cc'
42 ], 43 ],
43 'arch:arm': ['test-assembler-arm.cc', 'test-disasm-arm.cc'], 44 'arch:arm': ['test-assembler-arm.cc', 'test-disasm-arm.cc'],
44 'arch:ia32': ['test-assembler-ia32.cc', 'test-disasm-ia32.cc'], 45 'arch:ia32': ['test-assembler-ia32.cc', 'test-disasm-ia32.cc'],
45 'os:linux': ['test-platform-linux.cc'], 46 'os:linux': ['test-platform-linux.cc'],
46 'os:macos': ['test-platform-macos.cc'], 47 'os:macos': ['test-platform-macos.cc'],
47 'os:nullos': ['test-platform-nullos.cc'], 48 'os:nullos': ['test-platform-nullos.cc'],
48 'os:win32': ['test-platform-win32.cc'] 49 'os:win32': ['test-platform-win32.cc']
49 } 50 }
50 51
51 52
52 def Build(): 53 def Build():
53 cctest_files = context.GetRelevantSources(SOURCES) 54 cctest_files = context.GetRelevantSources(SOURCES)
54 env = Environment() 55 env = Environment()
55 env.Replace(**context.flags['cctest']) 56 env.Replace(**context.flags['cctest'])
56 context.ApplyEnvOverrides(env) 57 context.ApplyEnvOverrides(env)
57 # There seems to be a glitch in the way scons decides where to put 58 # 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. 59 # PDB files when compiling using MSVC so we specify it manually.
59 # This should not affect any other platforms. 60 # This should not affect any other platforms.
60 return env.Program('cctest', ['cctest.cc', cctest_files, object_files], 61 return env.Program('cctest', ['cctest.cc', cctest_files, object_files],
61 PDB='cctest.exe.pdb') 62 PDB='cctest.exe.pdb')
62 63
63 64
64 program = Build() 65 program = Build()
65 Return('program') 66 Return('program')
OLDNEW
« no previous file with comments | « src/platform-win32.cc ('k') | test/cctest/test-sockets.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698