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

Side by Side Diff: test/cctest/SConscript

Issue 160446: X64: enable stack sampling in profiler. (Closed)
Patch Set: Created 11 years, 4 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
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 'test-spaces.cc', 56 'test-spaces.cc',
57 'test-strings.cc', 57 'test-strings.cc',
58 'test-threads.cc', 58 'test-threads.cc',
59 'test-utils.cc', 59 'test-utils.cc',
60 'test-version.cc' 60 'test-version.cc'
61 ], 61 ],
62 'arch:arm': ['test-assembler-arm.cc', 'test-disasm-arm.cc'], 62 'arch:arm': ['test-assembler-arm.cc', 'test-disasm-arm.cc'],
63 'arch:ia32': [ 63 'arch:ia32': [
64 'test-assembler-ia32.cc', 64 'test-assembler-ia32.cc',
65 'test-disasm-ia32.cc', 65 'test-disasm-ia32.cc',
66 'test-log-ia32.cc' 66 'test-log-stack-tracer.cc'
67 ], 67 ],
68 'arch:x64': ['test-assembler-x64.cc'], 68 'arch:x64': ['test-assembler-x64.cc', 'test-log-stack-tracer.cc'],
69 'os:linux': ['test-platform-linux.cc'], 69 'os:linux': ['test-platform-linux.cc'],
70 'os:macos': ['test-platform-macos.cc'], 70 'os:macos': ['test-platform-macos.cc'],
71 'os:nullos': ['test-platform-nullos.cc'], 71 'os:nullos': ['test-platform-nullos.cc'],
72 'os:win32': ['test-platform-win32.cc'] 72 'os:win32': ['test-platform-win32.cc']
73 } 73 }
74 74
75 75
76 def Build(): 76 def Build():
77 cctest_files = context.GetRelevantSources(SOURCES) 77 cctest_files = context.GetRelevantSources(SOURCES)
78 env = Environment() 78 env = Environment()
79 env.Replace(**context.flags['cctest']) 79 env.Replace(**context.flags['cctest'])
80 context.ApplyEnvOverrides(env) 80 context.ApplyEnvOverrides(env)
81 # There seems to be a glitch in the way scons decides where to put 81 # There seems to be a glitch in the way scons decides where to put
82 # PDB files when compiling using MSVC so we specify it manually. 82 # PDB files when compiling using MSVC so we specify it manually.
83 # This should not affect any other platforms. 83 # This should not affect any other platforms.
84 return env.Program('cctest', ['cctest.cc', cctest_files, object_files], 84 return env.Program('cctest', ['cctest.cc', cctest_files, object_files],
85 PDB='cctest.exe.pdb') 85 PDB='cctest.exe.pdb')
86 86
87 87
88 program = Build() 88 program = Build()
89 Return('program') 89 Return('program')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698